2022-01-21 GnuCash IRC logs

00:45:31 *** jervin has quit IRC
01:07:54 *** frakturfreak1 has quit IRC
01:16:47 *** fell has quit IRC
01:18:05 *** fell has joined #gnucash
01:18:06 *** ChanServ sets mode: +o fell
01:21:40 *** sbluhm has joined #gnucash
01:22:02 *** frakturfreak1 has joined #gnucash
01:42:18 *** Pegasus_RPG has quit IRC
02:37:10 *** gjanssens has joined #gnucash
02:37:10 *** ChanServ sets mode: +o gjanssens
03:08:46 *** PowaBanga has quit IRC
03:11:59 *** PowaBanga has joined #gnucash
03:16:32 *** PowaBanga has quit IRC
03:28:28 *** PowaBanga has joined #gnucash
03:33:30 *** PowaBanga has quit IRC
03:36:19 *** PowaBanga has joined #gnucash
04:09:02 *** tomk_dk has joined #gnucash
04:23:58 *** PowaBanga has quit IRC
04:26:56 *** PowaBanga has joined #gnucash
04:58:39 *** mauritslamers has quit IRC
05:01:32 *** mauritslamers has joined #gnucash
05:01:32 *** ChanServ sets mode: +v mauritslamers
05:29:52 *** User_ has joined #gnucash
06:56:39 *** Bambuzel has joined #gnucash
06:56:39 *** ChanServ sets mode: +v Bambuzel
07:21:20 *** Bambuzel has quit IRC
07:23:50 *** paul has joined #gnucash
07:25:34 *** Bambuzel has joined #gnucash
07:25:35 *** ChanServ sets mode: +v Bambuzel
07:29:18 *** Bambuzel has quit IRC
08:18:29 <chris> So is getting rid of GValue a good thing?
08:47:57 *** Jimraehl1 has joined #gnucash
08:49:29 *** Jimraehl1 has left #gnucash
08:52:36 *** jervin has joined #gnucash
08:59:43 *** Bambuzel has joined #gnucash
08:59:43 *** ChanServ sets mode: +v Bambuzel
09:09:13 *** Bambuzel has quit IRC
09:21:22 *** Bambuzel has joined #gnucash
09:21:22 *** ChanServ sets mode: +v Bambuzel
09:31:35 *** Bambuzel has quit IRC
09:36:05 *** PowaBanga has quit IRC
09:36:23 *** PowaBanga has joined #gnucash
09:54:34 *** CDB-Man_ has quit IRC
09:56:57 *** CDB-Man has joined #gnucash
09:56:57 *** ChanServ sets mode: +v CDB-Man
10:14:30 *** ArtGravity has joined #gnucash
10:14:30 *** ChanServ sets mode: +v ArtGravity
10:17:59 *** sbluhm has quit IRC
10:21:04 *** PowaBanga has quit IRC
10:21:56 *** PowaBanga has joined #gnucash
10:24:58 *** PowaBanga has quit IRC
10:25:30 *** PowaBanga has joined #gnucash
10:33:03 *** mydogsnameisrudy has joined #gnucash
10:33:04 *** sbluhm has joined #gnucash
10:34:03 *** mydogsnameisrudy has quit IRC
10:34:10 *** mydogsnameisrudy has joined #gnucash
10:35:46 *** David has quit IRC
10:36:14 *** David has joined #gnucash
10:44:06 *** rots has joined #gnucash
11:24:49 *** lagash has quit IRC
11:25:25 *** lagash has joined #gnucash
11:25:25 *** ChanServ sets mode: +v lagash
11:33:14 *** guak has joined #gnucash
11:53:11 <jralls> chris, that's too general a question. GValue is a work-around for C's lack of generics support, but it's runtime-expensive because it imposes multiple allocations and memory copies. In pure C++ code it's a lot more efficient to use generics; doing so also lets the compiler enforce type safety, a Good Thing. The cost is that generics are implemented with templates and that's something of an advanced subject.
11:59:19 *** sbluhm has quit IRC
12:25:27 *** tomk_dk has quit IRC
12:49:40 *** Bambuzel has joined #gnucash
12:49:40 *** ChanServ sets mode: +v Bambuzel
13:02:04 *** PowaBanga has quit IRC
13:05:52 *** sbluhm has joined #gnucash
13:12:37 *** sbluhm has quit IRC
13:16:28 *** Bambuzel has quit IRC
13:47:45 *** sbluhm has joined #gnucash
14:04:55 *** xqdt has joined #gnucash
14:04:55 *** ChanServ sets mode: +v xqdt
14:05:10 <xqdt> quit
14:05:12 *** xqdt has quit IRC
14:18:11 *** PowaBanga has joined #gnucash
14:19:45 *** ArtGravity has quit IRC
14:49:24 *** Pegasus_RPG has joined #gnucash
14:58:30 *** Hamaryns has joined #gnucash
14:58:31 *** ChanServ sets mode: +v Hamaryns
14:59:06 *** Bambuzel has joined #gnucash
14:59:06 *** ChanServ sets mode: +v Bambuzel
15:00:05 *** Pegasus_RPG has quit IRC
15:14:30 *** mydogsnameisrudy has joined #gnucash
15:14:57 *** mydogsnameisrudy has quit IRC
15:27:37 *** gjanssens has quit IRC
15:57:53 *** Bambuzel has quit IRC
16:00:23 *** David has quit IRC
16:00:34 *** David has joined #gnucash
16:09:30 *** sbluhm has quit IRC
16:12:21 *** sbluhm has joined #gnucash
16:15:21 *** sbluhm has quit IRC
16:20:47 *** Hamaryns has quit IRC
18:32:31 *** User_ has quit IRC
19:15:19 <chris> jralls: I meant the last 3 commits of #1248
19:17:43 <jralls> chris, OK. In C++ code direct access to the C++ objects is cleaner and faster, so GValue's costs can be avoided.
19:25:01 *** jervin1 has joined #gnucash
19:25:28 *** jervin has quit IRC
19:25:28 *** jervin1 is now known as jervin
19:30:32 *** jervin1 has joined #gnucash
19:31:29 *** jervin has quit IRC
19:31:29 *** jervin1 is now known as jervin
19:35:15 <chris> jralls: then, #1248 is done.
20:23:23 *** phebus has quit IRC
21:14:28 *** guak has quit IRC
21:33:46 *** gnucasho1 has joined #gnucash
21:35:33 *** gnucashout has quit IRC
21:50:59 *** gnucashout has joined #gnucash
21:52:46 *** gnucasho1 has quit IRC
22:43:29 *** paul has quit IRC
22:44:30 <chris> it's a bit weird that setting kvp slot requires "KvpValue* v = new KvpValue (*(gnc_numeric*)(&val))" then "delete budget_kvp->set_path (path, v);" I understand set_path returns the old value, but it seems a bit inelegant. maybe KvpFrame should have replace_path which does the delete old KvpValue part.
23:22:08 <chris> ^ this was the cause for my confusion https://github.com/Gnucash/gnucash/pull/585#issuecomment-946564672
23:22:53 <chris> the delete frame->set_path was confusing because it seems to delete rather than set new Kvp value. anyway, now i know.
23:43:27 *** jervin has quit IRC