2020-02-19 GnuCash IRC logs

00:44:23 *** jervin has quit IRC
01:10:55 *** Gerd has quit IRC
01:14:35 *** Mechtilde has joined #gnucash
01:18:47 *** Mechtilde has quit IRC
01:21:30 *** Gerd has joined #gnucash
01:21:57 *** linas has quit IRC
01:22:11 *** linas has joined #gnucash
01:25:46 *** Mechtilde has joined #gnucash
01:43:22 *** fell_laptop has joined #gnucash
01:43:22 *** ChanServ sets mode: +o fell_laptop
01:45:09 *** fell has quit IRC
02:03:15 *** Mechtilde has quit IRC
02:05:29 *** Aussie_matt has quit IRC
02:14:53 *** bertbob has quit IRC
02:17:01 *** omnireq_ has quit IRC
02:17:12 *** omnireq_ has joined #gnucash
03:21:45 *** Mechtilde has joined #gnucash
03:28:09 *** warlord_ has joined #gnucash
03:28:09 *** warlord2 has quit IRC
03:29:01 *** omnireq_ has quit IRC
03:29:11 *** omnireq_ has joined #gnucash
03:29:21 *** TownsendHardware1 has joined #gnucash
03:29:29 *** delli3 has quit IRC
03:30:25 *** TownsendHardware has quit IRC
03:30:25 *** TownsendHardware1 is now known as TownsendHardware
03:34:28 *** jchonig has quit IRC
03:34:28 *** Farelli_ has quit IRC
03:34:30 *** jchonig has joined #gnucash
03:34:33 *** Mechtilde has quit IRC
03:34:45 *** hussam has quit IRC
03:34:56 *** omnireq_ has quit IRC
03:35:19 *** Mechtilde has joined #gnucash
03:35:51 *** omnireq_ has joined #gnucash
03:35:51 *** Farelli_ has joined #gnucash
03:36:07 *** gjanssens has joined #gnucash
03:36:07 *** ChanServ sets mode: +o gjanssens
03:37:51 *** hussam has joined #gnucash
03:37:51 *** ChanServ sets mode: +v hussam
03:50:56 *** hussam has quit IRC
03:52:56 *** Mechtilde_ has joined #gnucash
03:53:38 *** Mechtilde has quit IRC
04:37:14 *** bertbob has joined #gnucash
04:37:14 *** ChanServ sets mode: +v bertbob
04:43:49 *** bertbob has quit IRC
04:46:50 *** Gerd has quit IRC
04:52:59 *** fell_laptop is now known as fell
04:56:21 *** bertbob has joined #gnucash
04:56:21 *** ChanServ sets mode: +v bertbob
05:02:39 *** storyjesse has joined #gnucash
05:04:53 *** User has joined #gnucash
05:16:47 *** hussam has joined #gnucash
05:16:47 *** ChanServ sets mode: +v hussam
05:17:52 <gjanssens> .
05:17:52 <gncbot> gjanssens: Sent 14 hours and 21 minutes ago: <jralls> I'm disappointed you're having trouble undertanding gnc-option. I'd hoped that it would be pretty straightforward. Have I gone too far with templates and variants?
05:20:04 <gjanssens> @tell jralls That's not what my comment was supposed to convey :) I'm having trouble finding a big enough time slot to sit down and go through it all in one go.
05:20:04 <gncbot> gjanssens: The operation succeeded.
05:21:32 <gjanssens> @tell jralls I get interrupted all the time with $REALLIFE stuff, making it difficult to form a complete picture.
05:21:32 <gncbot> gjanssens: The operation succeeded.
05:24:38 <gjanssens> @tell jralls But so far I haven't come across parts I can't understand. But I also want to fully understand the details for a proper review. That will take a bit more time unfortunately.
05:24:38 <gncbot> gjanssens: The operation succeeded.
05:28:25 <gjanssens> Oh and the past weekend I focused on Finance::Quote support for flatpak, because I really wanted to finish something from my personal itch list which was also part of not having time left to dig deeper in gnc-options.
05:29:38 <gjanssens> And then came review requests from chris, which eventually led me to review most of the pending PR's, and -- oh the weekend has gone again...
05:57:01 *** User has quit IRC
06:22:53 *** Jimraehl1 has joined #gnucash
06:46:08 *** Mechtilde_ has quit IRC
06:46:41 *** Mechtilde has joined #gnucash
07:06:41 *** fell_laptop has joined #gnucash
07:06:41 *** ChanServ sets mode: +o fell_laptop
07:06:48 *** fell has quit IRC
07:09:32 *** fell has joined #gnucash
07:09:32 *** ChanServ sets mode: +o fell
07:09:35 *** fell_laptop has quit IRC
07:18:26 *** fell_laptop has joined #gnucash
07:18:26 *** fell has quit IRC
07:18:26 *** ChanServ sets mode: +o fell_laptop
07:18:43 *** immae has quit IRC
07:19:25 *** immae has joined #gnucash
07:31:52 *** fell_laptop has quit IRC
07:31:54 *** fell has joined #gnucash
07:31:54 *** ChanServ sets mode: +o fell
07:50:21 *** KevinDB has quit IRC
07:51:37 *** KevinDB has joined #gnucash
07:51:37 *** ChanServ sets mode: +v KevinDB
07:56:39 *** puck has quit IRC
07:58:57 *** puck has joined #gnucash
08:02:38 *** puck has quit IRC
08:04:44 *** puck has joined #gnucash
08:41:57 <warlord_> gjanssens, ... .and now it is Wednesday! :)
09:00:38 <chris> 🤔 chris is not always asking for immediate review. but gjanssens always surprises in deep knowledge everytime
09:04:49 <warlord_> :)
09:10:09 <gjanssens> tx chris :)
09:10:31 <gjanssens> warlord_: my weekend is Sunday/Monday and yesterday I exceptionally had a day off
09:10:46 <gjanssens> So today is first day of the week this week
09:11:08 <chris> well now everyone's here i have some news for y'all
09:11:17 <gjanssens> ?
09:11:24 <chris> my time for playing here will be cut drastically from aug onwards O_o
09:12:15 <chris> this day would have come sooner or later
09:12:17 <gjanssens> You said something similar before, but I have no reason to doubt that statement...
09:12:25 <gjanssens> That's how it goes in life
09:12:40 <chris> (+ 2 1/2)
09:12:52 <chris> (throw 'panic)
09:13:02 <warlord_> chris, should I say congrats or condolences?
09:13:30 <chris> either :)
09:13:42 <warlord_> Well, I dont know the underlying reason so hard to choose.
09:14:18 <chris> well, for example, I'm being summoned for emergency foods from the shops (10:15pm)
09:14:38 <warlord_> For Pickles and Ice Cream?
09:14:43 *** warlord_ is now known as warlord
09:14:47 <chris> lol
09:15:07 <chris> ok BIAB :)
09:15:12 <warlord> Congrats! :)
09:15:28 <gjanssens> Let's keep it at congrats indeed :)
09:18:55 <gjanssens> And may The Force be with you :p
09:19:19 <gjanssens> BB in a few hours
09:27:17 <warlord> haha
10:18:22 *** Gerd has joined #gnucash
10:21:00 *** omnireq_ has quit IRC
11:05:03 *** omnireq has joined #gnucash
11:05:03 *** ChanServ sets mode: +v omnireq
11:06:04 *** Mechtilde has quit IRC
11:11:34 *** guak has joined #gnucash
11:12:58 *** ECDHE_RSA_AES256 has quit IRC
11:13:31 *** ecdhe has joined #gnucash
11:28:37 *** ecdhe has quit IRC
11:28:52 *** ecdhe has joined #gnucash
11:38:37 *** storyjesse has quit IRC
11:51:15 <warlord> jralls, have you looked (yet) and trying to build current virt-viewer on Mac?
11:54:58 *** kael has joined #gnucash
11:54:59 *** ChanServ sets mode: +v kael
12:04:46 *** kael has quit IRC
12:09:19 *** Mechtilde has joined #gnucash
12:11:24 *** calvinct has joined #gnucash
12:13:13 *** jervin has joined #gnucash
12:44:29 *** sbluhm has joined #gnucash
12:54:38 *** guak1 has joined #gnucash
12:55:04 *** guak has quit IRC
12:55:04 *** guak1 is now known as guak
13:12:14 *** fell has quit IRC
13:12:18 *** fell_laptop has joined #gnucash
13:12:18 *** ChanServ sets mode: +o fell_laptop
13:38:28 *** sbluhm has quit IRC
13:47:02 *** Han has joined #gnucash
14:01:50 *** gour has joined #gnucash
14:01:50 *** ChanServ sets mode: +v gour
14:01:58 *** sbluhm has joined #gnucash
14:02:34 <gour> evening
14:04:41 <gour> recently i swtiched from manjaro/gnome to devuan/xfce and i notice that when launching GC from gui it does not honour all my env LC-xx vars which i set in my fish shell's config file. however, when i launch i from the terminal, everything is fine. the problem is that i want to have en_GB as UI language, but dates/monetary/etc. in Croatian
14:04:48 <gour> any hint how to do it?
14:07:42 <gour> furthermore, most of txns are using HRK (Croatian currency) which has same format as EUR using comma as separator, but i see that if i setup locale in a way to use comma as separator, then HRK & EUR accounts use that, but USD as well which is not correct, so I wonder if GC can distinguish not only different currencies but honour appropriate formatting for amounts, iow. decimal comma vs decimal point?
14:10:24 <gour> or should i simplify things and just use decimal point?
14:15:36 *** frakturfreak has joined #gnucash
14:15:45 <warlord> Sounds like the GUI doesn't have your correct env.
14:16:54 <gour> warlord: yes. i also wonder which env does GC read: LANG, LANGUAGE or some of the LC_XYZ ones?
14:17:17 <gour> has something changed in 3.8 in regard?
14:19:18 *** calvinct has quit IRC
14:36:53 *** calvinct has joined #gnucash
14:48:36 <gjanssens> gour: I think gnucash only uses one format for all currencies, namely the one you tell it to use. It won't localize currencies based on the currency itself.
14:49:43 <gour> gjanssens: thanks, that's helpful to know!
14:49:50 <gjanssens> Other than that gnucash wil use several locale related environment variables. I believe at least LC_NUMERIC and LC_MONETARY, and with LANG and LANGUAGE you can influence at least the gui language
14:50:06 <gjanssens> I don't know offhand whether others are used as well.
14:50:17 <gour> ok, it will make it
14:51:06 <gjanssens> There are also several preference settings to override locale info, like for example the date format to use.
14:51:28 <gour> yeah, that know
14:51:35 <gour> *that i know
14:55:08 <gjanssens> And lastly I'm not surprised that xfce is not using the configuration of your fish shell. Fish shell configuration is only read when fish shell is launched. So that suggests xfce is not started from a fish shell but via some other way. You'll have to figure out how to configure xfce's locale details. Unfortunately I can't help with that :(
15:00:08 *** jervin has quit IRC
15:01:29 *** jervin has joined #gnucash
15:04:56 *** sbluhm has quit IRC
15:11:24 <gjanssens> @tell jralls A few hours later and GncOption already looks much clearer. I still have to get used to some of the "new" C++14 and C++17 features like std::variant, std::visitor, decltype and the std::enable_if_t etc. But nothing I can't conceptually process.
15:11:24 <gncbot> gjanssens: The operation succeeded.
15:12:15 <gjanssens> Unfortunately my ide itself seems to have trouble parsing some of the newer features :( It complains there's no variant in the std namespace.
15:12:44 <gjanssens> Compiler works fine, it's just the static analyser that has issues.
15:13:38 <gjanssens> These false errors mean I can rely less on the ide while writing code.
15:13:54 <gjanssens> Oh well, hopefully the kdevelop devs will catch up.
15:14:16 <gour> gjanssens: well, i use lightdm display manager...will investigate at the xfce side ;)
15:15:44 <gjanssens> gour: I suspect at system startup a different shell (or no shell at all) is used to launch xfce. Fish will only be started for terminal sessions started by your user.
15:16:30 <gjanssens> Typically at a system level sh or bash are used, or with systemd perhaps no shell at all.
15:16:51 <gjanssens> So yes, xfce folks will probably be able to tell you more
15:17:07 <gjanssens> Next on my list is GncOptionDB.
15:18:00 * gjanssens realizes he never really knew the Option system very well, so reading the C++ implementation is equally teaching me how it was actually conceived.
15:19:45 *** Gerd has quit IRC
15:24:00 *** keiffer has joined #gnucash
15:40:16 *** keiffer has quit IRC
15:44:24 *** sbluhm has joined #gnucash
15:44:24 *** ChanServ sets mode: +v sbluhm
15:45:46 <gjanssens> @tell jralls https://github.com/jralls/gnucash/commit/44c068ff9379273460dbaae5f2f3a50d397bc4cc#diff-7402845bea6e9e97b170e05ab2cabd97R88 -> I don't understand why you static_cast here instead of just dereferencing "this" (ie this->find_option) ?
15:45:46 <gncbot> gjanssens: The operation succeeded.
15:47:56 <gjanssens> @tell jralls or put differently, why do you need a second function that's const and do you force the non-const version to use it ?
15:47:56 <gncbot> gjanssens: The operation succeeded.
15:51:02 *** omnireq has quit IRC
15:51:12 *** omnireq has joined #gnucash
15:51:12 *** ChanServ sets mode: +v omnireq
15:52:50 *** gjanssens has quit IRC
16:02:34 *** calvinct has quit IRC
16:19:59 *** Han has quit IRC
16:22:12 *** Han has joined #gnucash
16:23:18 *** Han has quit IRC
16:30:31 *** Gerd has joined #gnucash
16:36:59 *** frakturfreak has quit IRC
16:47:29 *** oozer has joined #gnucash
16:56:20 *** User has joined #gnucash
16:57:52 *** sbluhm has quit IRC
17:05:00 *** User has quit IRC
17:11:16 *** gour has quit IRC
17:17:36 *** Gerd has quit IRC
17:27:12 *** Aussie_matt has joined #gnucash
17:31:18 *** calvinct has joined #gnucash
17:32:26 *** kael has joined #gnucash
17:32:26 *** ChanServ sets mode: +v kael
17:39:55 *** kael has quit IRC
17:44:52 *** jervin has quit IRC
17:44:59 *** calvinct has quit IRC
17:46:53 *** oozer has quit IRC
17:48:08 *** oozer has joined #gnucash
18:57:46 *** Gerd has joined #gnucash
19:06:52 *** omnireq has quit IRC
19:22:04 *** Gerd has quit IRC
20:01:47 *** jervin has joined #gnucash
20:11:20 <jralls> warlord, I'm still working on building a new virt-client. The moduleset at https://gitlab.freedesktop.org/spice/spice-jhbuild/tree/osx is way out of date.
20:11:20 <gncbot> jralls: Sent 14 hours and 51 minutes ago: <gjanssens> That's not what my comment was supposed to convey :) I'm having trouble finding a big enough time slot to sit down and go through it all in one go.
20:11:21 <gncbot> jralls: Sent 14 hours and 49 minutes ago: <gjanssens> I get interrupted all the time with $REALLIFE stuff, making it difficult to form a complete picture.
20:11:22 <gncbot> jralls: Sent 14 hours and 46 minutes ago: <gjanssens> But so far I haven't come across parts I can't understand. But I also want to fully understand the details for a proper review. That will take a bit more time unfortunately.
20:11:23 <gncbot> jralls: Sent 4 hours and 59 minutes ago: <gjanssens> A few hours later and GncOption already looks much clearer. I still have to get used to some of the new C++14 and C++17 features like std::variant, std::visitor, decltype and the std::enable_if_t etc. But nothing I can't conceptually process.
20:11:24 <gncbot> jralls: Sent 4 hours and 25 minutes ago: <gjanssens> https://github.com/jralls/gnucash/commit/44c068ff9379273460dbaae5f2f3a50d397bc4cc#diff-7402845bea6e9e97b170e05ab2cabd97R88 -> I don't understand why you static_cast here instead of just dereferencing this (ie this->find_option) ?
20:11:25 <gncbot> jralls: Sent 4 hours and 23 minutes ago: <gjanssens> or put differently, why do you need a second function that's const and do you force the non-const version to use it ?
20:17:32 <jralls> @tell gjanssens See the Member Functions section in Effective C++ 3rd edition Item 3 for implementing a non-const override to a const member function. get_value and get_default_value should be const but not set_value so find option needs a const version to call the first two on and a non-const one for set_value.
20:17:32 <gncbot> jralls: The operation succeeded.
20:20:29 <jralls> @tell gjannsens it's been a few weeks since I wrote it but IIRC the compiler complained about using this->find_option. I don't remember what the complaint was.
20:20:29 <gncbot> jralls: The operation succeeded.
20:20:38 *** oozer has quit IRC
20:33:26 *** Gerd has joined #gnucash
20:43:28 *** omnireq has joined #gnucash
20:56:17 *** Gerd has quit IRC
20:59:58 *** Gerd has joined #gnucash
21:11:41 *** guak has quit IRC
21:18:43 <warlord> jralls, It sounded like brew had support for it. I know that virt-viewer is up to at least version 7 if not version 8.
21:23:58 *** Gerd has quit IRC
21:31:03 *** Gerd has joined #gnucash
22:01:23 *** pdhmn has joined #gnucash
22:03:44 *** pdhmn has quit IRC
22:13:40 *** omnireq_ has joined #gnucash
22:14:53 *** omnireq has quit IRC
22:18:53 *** Gerd1 has joined #gnucash
22:19:28 *** Gerd has quit IRC
22:19:28 *** Gerd1 is now known as Gerd
23:17:48 *** bertbob has quit IRC
23:23:23 *** bertbob has joined #gnucash
23:23:24 *** ChanServ sets mode: +v bertbob
23:32:58 *** omnireq_ has quit IRC
23:33:08 *** omnireq_ has joined #gnucash
23:41:59 *** bertbob has quit IRC
23:46:04 *** bertbob has joined #gnucash
23:46:05 *** ChanServ sets mode: +v bertbob