2022-10-14 GnuCash IRC logs

00:08:10 *** CDB-Man has joined #gnucash
00:08:10 *** ChanServ sets mode: +v CDB-Man
00:45:53 *** NoobAlice has quit IRC
01:05:54 *** sbluhm has joined #gnucash
01:47:22 *** fell has quit IRC
01:48:41 *** fell has joined #gnucash
01:48:41 *** ChanServ sets mode: +o fell
01:54:46 *** tomk_dk has joined #gnucash
01:54:57 *** Julianold[m] has quit IRC
01:54:57 *** PeterScholtens[m] has quit IRC
01:54:57 *** FestplattenSchnitzel[m] has quit IRC
01:54:57 *** antonlada[m] has quit IRC
01:54:57 *** dtux[m] has quit IRC
01:54:57 *** luwum[m] has quit IRC
01:54:57 *** Ablu[m] has quit IRC
01:54:58 *** shukonmatrix[m] has quit IRC
01:54:58 *** reactormonk[m] has quit IRC
01:54:58 *** MatrixTravelerbot[m] has quit IRC
01:54:58 *** technicus[m] has quit IRC
01:54:58 *** Trygve[m] has quit IRC
01:54:58 *** peter-butler[m] has quit IRC
02:11:07 *** Gandalf has joined #gnucash
02:23:11 *** luwum[m] has joined #gnucash
02:59:47 *** dpchr has joined #gnucash
02:59:48 *** ChanServ sets mode: +v dpchr
03:35:32 *** MatrixTravelerbot[m] has joined #gnucash
03:35:33 *** Julianold[m] has joined #gnucash
03:35:33 *** ElonSatoshi[m] has joined #gnucash
03:35:34 *** peter-butler[m] has joined #gnucash
03:35:34 *** Ablu[m] has joined #gnucash
03:35:34 *** Trygve[m]1 has joined #gnucash
03:35:35 *** reactormonk[m] has joined #gnucash
03:35:36 *** PeterScholtens[m] has joined #gnucash
03:35:36 *** dtux[m] has joined #gnucash
03:35:37 *** antonlada[m] has joined #gnucash
03:35:38 *** technicus[m] has joined #gnucash
03:35:39 *** FestplattenSchnitzel[m] has joined #gnucash
03:35:40 *** shukonmatrix[m] has joined #gnucash
03:48:25 *** MatrixTravelerbot[m] has quit IRC
03:48:49 *** Ablu[m] has quit IRC
03:49:56 *** luwum[m] has quit IRC
04:12:22 *** Julianold[m] has quit IRC
04:40:02 *** djbrown has joined #gnucash
04:40:02 *** ChanServ sets mode: +v djbrown
04:49:25 *** bertbob has quit IRC
04:56:19 *** bertbob has joined #gnucash
04:56:19 *** ChanServ sets mode: +v bertbob
05:00:12 *** djbrown has quit IRC
05:03:32 *** bertbob has quit IRC
05:06:21 *** bertbob has joined #gnucash
05:06:21 *** ChanServ sets mode: +v bertbob
05:56:46 *** henk has left #gnucash
06:04:38 *** Gandalf has quit IRC
06:10:57 *** chipxxx has joined #gnucash
06:30:07 <chris> EXPECT_TRUE (GncNumeric (1,1) > 0L); does work ;)
06:34:05 *** tomk_dk has quit IRC
06:39:37 *** jmdaemon has quit IRC
06:41:09 *** tj123 has joined #gnucash
06:44:57 *** tomk_dk has joined #gnucash
07:05:05 *** Gandalf has joined #gnucash
07:06:40 *** Gandalf has quit IRC
07:19:10 <chris> GncRational should have a .to_string() like gnc_numeric_to_string()
07:19:13 <chris> returns "1/3"
07:29:01 *** Gandalf has joined #gnucash
08:39:46 *** tomk_dk has quit IRC
08:43:30 *** tomk_dk has joined #gnucash
09:37:06 *** Gandalf has quit IRC
09:45:21 *** Gandalf has joined #gnucash
10:29:09 *** sbluhm has quit IRC
10:38:25 *** sbluhm has joined #gnucash
10:51:11 *** sbluhm has quit IRC
11:12:54 *** Aussie_matt has quit IRC
11:14:57 *** sbluhm has joined #gnucash
11:20:12 *** sbluhm has quit IRC
11:22:12 *** ArtGravity has joined #gnucash
11:22:12 *** ChanServ sets mode: +v ArtGravity
11:28:20 *** Gandalf has quit IRC
11:33:52 *** guak has joined #gnucash
12:14:20 *** tomk_dk has quit IRC
12:31:27 *** sbluhm has joined #gnucash
12:49:28 *** sbluhm has quit IRC
12:52:46 *** sbluhm has joined #gnucash
13:05:56 *** NoobAlice has joined #gnucash
13:05:56 *** ChanServ sets mode: +v NoobAlice
13:07:46 *** sbluhm has quit IRC
13:16:41 *** kyew has quit IRC
13:17:55 *** kyew has joined #gnucash
13:17:55 *** ChanServ sets mode: +v kyew
13:22:55 <jralls> chris, GncRational is intended as an implementation class supporting GncNumeric, not for direct use.
13:32:43 <jralls> chris, Interesting about 0L and 0LL. It illustrates the advantage of using INT64_C(0) instead, because which of L or LL works depends on whether int64_t is typedefed to long or long long in stddef.h. Depending on how the kernel and libc are built, long can be 32 or 64 bits and long long can be 64 or 128; note that it's possible for both to be 64 but unless the compiler is explicitly told in a header that they're equivalent it will insist on a cast
13:32:43 <jralls> of one to the other.
13:34:48 *** kyew has quit IRC
13:45:10 <jralls> The same, incidentally, goes for printf and scanf formats: Either %ld or %lld is required for an int64_t depending on the kernel, so inttypes.h has e.g. PRId64 and SCNd64 macros to disambiguate it.
13:45:57 *** Gandalf has joined #gnucash
13:46:47 <jralls> Those were introduced in C99 but we have a lot of pre-C99 code and before that there were 3 workarounds depending on the compiler and OS. Which to use is defined in ${builddir}/common/config.h
13:51:09 *** gjanssens has joined #gnucash
13:51:09 *** ChanServ sets mode: +o gjanssens
13:58:48 *** Gandalf has quit IRC
14:05:44 *** sbluhm has joined #gnucash
14:13:29 <jralls> gjanssens, shall I merge price-quotes-cpp?
14:16:28 *** lmat has quit IRC
14:18:42 *** fell has quit IRC
14:19:39 *** lmat has joined #gnucash
14:20:02 *** fell has joined #gnucash
14:20:02 *** ChanServ sets mode: +o fell
14:24:44 <gjanssens> jralls: I think it's ready, so please do.
14:24:44 <gncbot> gjanssens: Sent 1 week, 1 day, 19 hours, and 59 minutes ago: <fell> Did you see https://github.com/flatpak/flatpak-builder-tools/blob/master/cpan/README.md ?
14:24:45 <gncbot> gjanssens: Sent 1 day, 16 hours, and 37 minutes ago: <fell> jralls, why are the flatpak nightlies now named …-C-4.12-…-D4.11-… ?
14:27:00 *** timvosch has quit IRC
14:27:03 <jralls> Don't worry about the second one, I fixed it yesterday.
14:27:49 *** timvosch has joined #gnucash
14:28:38 <gjanssens> Ok
14:29:13 <gjanssens> fell: I have now seen it. Have you seen who committed the last two patches to that file ;) ?
14:29:37 <gjanssens> Clearly I forgot I submitted those in the past...
14:37:25 <jralls> gjanssens, merged. I guess I need to put updating the docs on my todo list.
14:40:15 *** sbluhm has quit IRC
15:18:34 *** lmat has quit IRC
15:22:03 *** fell has quit IRC
15:24:43 *** fell has joined #gnucash
15:24:43 *** ChanServ sets mode: +o fell
15:26:56 *** lmat has joined #gnucash
15:32:36 <fell> gjanssens, i wonder if you could update https://github.com/Gnucash/gnucash-on-flatpak/blob/master/README.md or https://wiki.gnucash.org/wiki/Dependency_Updates#How_to_generate_finance-quote-sources.json
15:35:58 *** sbluhm has joined #gnucash
15:47:06 <jralls> fell: I see in the F::Q documentation that we have two sets of instructions for installing/updating F::Q, one in manual/C/ch_Finance-Quote.xml and the other in guide/C/ch_invest.xml. I think I should replace the latter with a cross-reference to the former. Do you agree?
15:48:31 <fell> After we have set up proper XRefs mapping orn now over our hack via www?
15:49:58 * fell is currently reviewing Guide C image frames.
15:59:28 <jralls> How about just "For instructions to set up Online Quote Retrieval see Chapter 11 in the GnuCash Manual."? Yes, a clickable link is nicer, but if it's too hard or too hacky then simply telling the user to go manually is better than not-quite-duplicating the information.
16:10:18 *** Gandalf has joined #gnucash
16:10:28 *** sbluhm has quit IRC
16:26:22 *** Gandalf has quit IRC
16:27:10 *** tj123 has quit IRC
16:28:01 *** tj123 has joined #gnucash
16:51:33 <gjanssens> jralls: \o/ I'm quite happy that made it in finally!
16:51:35 *** kyew has joined #gnucash
16:51:35 *** ChanServ sets mode: +v kyew
16:52:10 <gjanssens> fell: I probably will next time I do the F::Q update for flatpak.
16:54:33 *** kyew2 has joined #gnucash
16:54:33 *** ChanServ sets mode: +v kyew2
16:56:33 *** kyew has quit IRC
16:56:50 *** kyew2 has quit IRC
17:11:18 *** jmdaemon has joined #gnucash
17:17:08 *** gjanssens has quit IRC
18:25:12 *** chipxxx has quit IRC
18:45:52 *** chipxxx has joined #gnucash
18:55:00 *** kyew has joined #gnucash
18:55:00 *** ChanServ sets mode: +v kyew
19:22:26 *** ArtGravity has quit IRC
20:06:16 *** kyew has quit IRC
20:08:02 *** kyew has joined #gnucash
20:08:02 *** ChanServ sets mode: +v kyew
20:37:43 *** guak has quit IRC
22:17:27 *** tj123 has quit IRC
22:43:00 <chris> adrienM_ trying to see if adding outstading invoices in aging reports is useful: https://imgur.com/fVnYJUd.png
22:47:20 <chris> clutter++
22:50:13 *** AdrienM_ has left #gnucash
22:50:15 *** AdrienM_ has joined #gnucash
22:51:03 *** AdrienM_ has quit IRC
22:51:15 *** AdrienM has joined #gnucash
22:51:15 *** ChanServ sets mode: +v AdrienM
22:51:28 <AdrienM> chris, interesting as there is a user-thread touching on this very subject today. But yes, that screenshot is clutter.
22:52:42 <AdrienM> The Find Invoice/Bill dialog gets really close. Unfortunately, the 'report' button there prints an invoice, not a report of the find results which would be much more useful.
22:55:05 <AdrienM> Here's the specific request for such a report if you hadn't stumbled on it already: https://lists.gnucash.org/pipermail/gnucash-user/2022-October/103197.html
22:56:03 <AdrienM> I replied with a few current options, but none of them put everything Charles was looking for in one place that is easy to work with or keep referring to as documents are processed.
22:58:39 <chris> AdrienM: this screenshot is *the* response to the thread
22:58:50 <AdrienM> I figured.
22:58:58 <chris> detailed rows are optional of course
22:59:52 <AdrienM> I'm guessing clicking one of the invoice amounts takes you to the invoice? I would think showing invoice numbers would be helpful here if possible. (and would make sense of what currently appears as clutter)
23:00:45 <AdrienM> Of course, some styling applied to 'total' lines can help in that regard as well.
23:02:47 <AdrienM> Maybe indented under the Owner name, is the invoice/bill number as a label. (clickable I suppose, but maybe not necessary) Then show aging on the document, then the total amount. But that might be asking too much. That's more of a "while you're in there" sort of thing.
23:09:49 <chris> ok gtg