2019-02-07 GnuCash IRC logs

00:00:55 *** jervin has quit IRC
00:49:30 *** chris has joined #gnucash
01:10:30 *** fell has quit IRC
01:11:48 *** fell has joined #gnucash
01:19:24 *** derek has joined #gnucash
01:21:51 *** derek_ has joined #gnucash
01:22:24 *** derek has quit IRC
01:26:42 *** badger92 has quit IRC
01:26:49 *** badger92 has joined #gnucash
01:34:45 *** Mechtilde has joined #gnucash
01:53:01 *** chris_ has joined #gnucash
01:55:20 <chris_> @tell gjanssens or jralls quickie question - xaccAccountGetReconcileLastDate is unfortunately written to mutate the 2nd argument to receive the last-reconcile-date. I've had to write a wrapper around it to retrieve the date. Any suggestion how to name this wrapper? - see https://github.com/christopherlam/gnucash/commit/8a94f67f924cf29cd1aedffeba49f087439a0378#diff-9b3d4cb626af230a273feed97e299ecc for my current uninspiring name
01:55:20 <gncbot> chris_: The operation succeeded.
01:55:36 *** chris has quit IRC
01:55:37 *** chris_ is now known as chris
02:03:51 *** Mechtilde has quit IRC
02:07:48 *** gour has joined #gnucash
03:05:26 *** fabior has joined #gnucash
03:16:52 *** boldstripe has joined #gnucash
03:18:51 *** storyjesse has joined #gnucash
03:21:48 *** gjanssens has joined #gnucash
03:21:48 *** ChanServ sets mode: +o gjanssens
03:24:05 *** boldstripe has quit IRC
03:24:31 *** boldstripe has joined #gnucash
03:39:26 *** Mechtilde has joined #gnucash
03:58:42 *** boldstripe has quit IRC
04:10:09 *** boldstripe has joined #gnucash
04:14:32 *** storyjesse has quit IRC
04:41:50 *** boldstripe_ has joined #gnucash
04:42:05 *** boldstripe has quit IRC
04:42:05 *** boldstripe_ is now known as boldstripe
04:42:42 *** chris has quit IRC
04:54:31 *** Aussie_matt has quit IRC
04:58:33 *** Mechtilde has quit IRC
05:03:46 *** Mechtilde has joined #gnucash
05:04:18 *** Mechtilde has joined #gnucash
05:05:36 *** Mechtilde has quit IRC
05:17:25 *** Mechtilde has joined #gnucash
05:27:18 *** fabior has quit IRC
05:36:05 <gjanssens> Damn. Just read this in the release announcement of Cockpit:
05:36:05 <gncbot> gjanssens: Sent 3 hours and 40 minutes ago: <chris_> or jralls quickie question - xaccAccountGetReconcileLastDate is unfortunately written to mutate the 2nd argument to receive the last-reconcile-date. I've had to write a wrapper around it to retrieve the date. Any suggestion how to name this wrapper? - see https://github.com/christopherlam/gnucash/commit/8a94f67f924cf29cd1aedffeba49f087439a0378#diff-9b3d4cb626af230a273feed97e299ecc for my current uninspiring name
05:36:08 <gjanssens> The oVirt project is mostly stalled and thus we don’t plan to invest much in Cockpit’s oVirt support either. Cockpit will keep the current support for oVirt in stable distributions, but will no longer provide it from Fedora 30 and RHEL 8 on.
05:37:15 <gjanssens> Only tangentially gnucash related (our services our hosted on oVirt) but still... :(
05:40:09 <gjanssens> @tell chris you can't tell two people at once :( jralls will only see it if he looks in the irc history as you chose to @gjanssens me. The "or jralls" is part of the message as far as gncbot is concerned
05:40:09 <gncbot> gjanssens: The operation succeeded.
05:40:52 *** chris has joined #gnucash
05:42:37 <gjanssens> @tell chris as for your actual question: I have seen Get be replace with Ret in other parts of the code to distinguish between a mutating function and a returning function. So how about xaccAccountRetReconcileLastDate ?
05:42:37 <gncbot> gjanssens: The operation succeeded.
05:42:55 <chris> ok this was irc shortcut because most irc clients will ping :)
05:42:55 <gncbot> chris: Sent 2 minutes ago: <gjanssens> you can't tell two people at once :( jralls will only see it if he looks in the irc history as you chose to @gjanssens me. The or jralls is part of the message as far as gncbot is concerned
05:42:56 <gncbot> chris: Sent just now: <gjanssens> as for your actual question: I have seen Get be replace with Ret in other parts of the code to distinguish between a mutating function and a returning function. So how about xaccAccountRetReconcileLastDate ?
05:43:40 *** fabior has joined #gnucash
05:43:50 <chris> brb wife is summoning
06:06:35 <gjanssens> I'm not sure what the Cockpit project actually means though. oVirt has just released a new version...
06:09:07 <gjanssens> And cockpit-ovirt seems to be alive and well also: https://gerrit.ovirt.org/#/q/project:cockpit-ovirt
06:10:38 *** User has joined #gnucash
06:10:57 <gjanssens> Oh well...
06:13:57 *** monkeyjuice has joined #gnucash
06:15:20 *** monkeyjuice has quit IRC
06:17:59 *** Jimraehl1 has joined #gnucash
06:18:17 *** fabior has quit IRC
06:19:04 *** Jimraehl1 has left #gnucash
06:22:18 *** User has quit IRC
06:27:18 *** oozer has joined #gnucash
06:27:39 <chris> gjanssens I was always curious how much formal learning you've done on guile/scheme
06:28:16 <chris> I've mainly sat through SICP videos, read The Little Schemer back-to-back, worked through HtDP/1e, and did Racket tutorial
06:30:12 <chris> and also read majority of SICP book
06:33:12 *** fabior has joined #gnucash
06:35:09 <chris> all during late 2017
06:56:57 *** fabior has quit IRC
07:28:53 *** jervin has joined #gnucash
07:42:52 *** jervin has quit IRC
07:49:40 <gjanssens> chris: I mostly learned from reading gnucash code :)
07:50:05 <chris> ugh. not the best teaching material you can find :-o
07:50:11 <gjanssens> And studying the guile documentation
07:50:24 <gjanssens> Certainly not the best indeed :)
07:50:37 <gjanssens> It was never my intention to learn guile in the first place...
07:51:03 <gjanssens> It just happened to be a language I needed to learn in order to do what I wanted to in Gnucash
07:51:05 <gjanssens> brb
07:51:45 *** StepNjump has joined #gnucash
08:02:35 * gjanssens is glad chris took a deep dive in guile
08:12:33 <chris> the position was vacant :P
08:12:42 <gjanssens> Right :D
08:38:01 *** em_ has joined #gnucash
08:38:04 <chris> btw lots of errors on travis-arch and I don't think I know why
08:39:06 *** nimish has joined #gnucash
08:46:25 *** em_ has quit IRC
08:51:23 *** jervin has joined #gnucash
08:55:37 <gjanssens> chris: it looks like our docker config needs an update as archlinux has renamed their official docker image on DockerHub
08:55:45 * gjanssens is testing the fix right now
08:56:00 <gjanssens> or, as we type...
09:27:19 *** oozer has quit IRC
09:45:33 *** oozer has joined #gnucash
09:45:47 <chris> thanks, my 3 branches have moved forward 1 step
09:58:07 <gjanssens> :)
10:05:56 *** Mechtilde has quit IRC
10:10:00 *** Mechtilde has joined #gnucash
10:10:53 *** tienne has joined #gnucash
10:13:06 *** Mechtilde has quit IRC
10:14:32 *** Mechtilde has joined #gnucash
10:20:10 *** Mechtilde has quit IRC
10:24:12 *** fabior has joined #gnucash
11:04:51 *** nimish has quit IRC
11:24:18 *** jervin has quit IRC
11:24:53 <warlord> .
11:25:32 *** ArtGravity has joined #gnucash
11:28:30 *** Mechtilde has joined #gnucash
11:30:57 *** zipppy has quit IRC
11:34:59 *** nimish has joined #gnucash
11:39:37 *** zipppy has joined #gnucash
11:44:43 <warlord> gjanssens, Eh? It's COCKPIT that is stalled, not oVirt.
11:45:16 <gjanssens> warlord: yeah I found that a weird message as well
11:45:24 <gjanssens> Anyway I'm continuing with ovirt
11:45:53 <gjanssens> Though getting it deployed with gluster turns out to be... challenging
11:47:13 <warlord> I have seen no hint in ovirt slowing down.
11:47:26 <warlord> Although I have never used cockpit, and frankly don't even know what it does.
11:47:35 <warlord> (other than potentially open up a security hole)
11:54:14 <gjanssens> Cockpit is the modern equivalent of webmin
11:54:22 <warlord> That's what I thought.
11:54:25 <gjanssens> It allows you to manage a server via a webinterface
11:54:34 <warlord> At least webmin was a choice and not installed by default.
11:54:42 <gjanssens> Same for cockpit
11:54:48 <warlord> .. with the firewall open by default
11:55:12 <warlord> On every server I have, cockpit seems to have been installed by default and its port opened in firewalld
11:55:22 <gjanssens> Though the ovirt installation manual suggests its use to set up the ovirt-engine
11:55:37 <gjanssens> Ok, that's probably a Fedora choice
11:55:46 <gjanssens> It's not on CentOS by default
11:55:58 <warlord> Could be.
11:58:07 <gjanssens> How did you set up the engine ? Via the command line ?
12:02:56 <warlord> IIRC... I used cmdline on the host to create hosted-engine. Then IIRC I used vnc to install centos on the engine, and then from there did engine-setup by hand to configure.
12:06:01 <gjanssens> That's... the hard way
12:06:05 * gjanssens is impressed
12:07:47 <warlord> I like having more control over it; always concerned that if I used node that upgrading would require a backup+restore instead of a "yum upgrade"
12:28:41 *** boldstripe has quit IRC
12:28:42 <jralls> chris, gjanssens: How about just fixing the xaccAccountGetReconciledLastDate to not be mutating? It can return INT64_MAX if there's no stored value.
12:32:13 <gjanssens> jralls: wouldn't that break api ?
12:32:32 <gjanssens> warlord: it appears my glusterfs setup troubles are self-inflicted
12:33:20 <gjanssens> Ovirt requires that the underlying FS supports direct io, and zfs will only support that as for 0.8, where I'm getting 0.7.x
12:33:53 <gjanssens> As I don't intend to go multi server anytime soon, I may as well stick with nfs for now...
12:34:04 <gjanssens> Only took me a day to figure that out :(
12:35:09 <jralls> gjanssens: Sigh. Yes. So we need to deprecate and replace it. Let's call the replacement xaccAccountLastReconcileDate().
12:36:52 <gjanssens> Ok with me
12:36:55 <gjanssens> GTG
12:41:05 <jralls> chris: Re TZ on libboost-1.67: Yes, no surprise at all. boost::locale's time formatter isn't applying DST. I'm going to remove the boost::locale fallback from gnc_get_locale, it was premised on the belief that boost::locale generated locales are std::locale as they claim. They're not and it breaks other code besides GncDateTime.
12:42:22 *** fabior has quit IRC
12:54:45 *** boldstripe has joined #gnucash
13:18:29 *** boldstripe has quit IRC
13:43:39 *** kapil___ has quit IRC
13:44:39 *** nimish has quit IRC
13:45:16 *** nimish has joined #gnucash
13:49:59 *** nimish has quit IRC
13:54:24 *** nimish has joined #gnucash
14:22:26 *** frakturfreak has joined #gnucash
14:24:21 *** finster has joined #gnucash
14:46:59 *** ArtGravity has quit IRC
14:50:18 *** gjanssens has quit IRC
14:56:10 *** nimish has quit IRC
14:56:24 *** kael has joined #gnucash
15:27:34 *** boldstripe has joined #gnucash
15:28:33 *** calvinct has joined #gnucash
15:59:33 *** Mechtilde has quit IRC
16:13:10 *** kael has quit IRC
16:13:14 *** kael has joined #gnucash
16:50:05 *** boldstripe has quit IRC
16:50:34 *** boldstripe has joined #gnucash
16:53:12 *** calvinct has quit IRC
16:53:35 *** Aussie_matt has joined #gnucash
17:04:19 *** boldstripe has quit IRC
17:08:41 *** Bethp has joined #gnucash
17:12:23 *** frakturfreak has quit IRC
17:22:32 <chris> jralls re: xaccAccountLastReconcileDate I understand INT64_MAX is a good fallback in C/C++ but this is not available to guile, and the INT64-MAX concept is not guaranteed to be the same for guile...
17:23:49 <chris> ideally we'd have something like https://www.boost.org/doc/libs/1_65_1/libs/optional/doc/html/index.html available.
17:24:19 <chris> if the maybe-monad is not desirable then the 2-function approach imho is cleaner - https://github.com/christopherlam/gnucash/commit/cb725259fc532e660813f5297b8fc0874a7d5898
17:27:01 <chris> also I don't think that boost::optional converts well to guile bindings
17:38:15 <chris> it's the same story for split's reconcile status - 1 function to query status xaccSplitGetReconcile and another to get its reconcile date xaccSplitGetDateReconciled - and that's fine by me
18:02:00 *** JayC has quit IRC
18:43:21 *** kael has quit IRC
19:00:54 *** chris has quit IRC
19:10:24 *** gour has quit IRC
19:15:13 *** gour has joined #gnucash
19:37:54 *** gour_ has joined #gnucash
19:40:04 *** gour has quit IRC
19:46:31 *** tienne has quit IRC
20:05:53 *** gour_ has quit IRC
20:40:12 *** oozer has quit IRC
20:45:11 *** KevinDB has quit IRC
21:06:11 *** nimish has joined #gnucash
21:10:09 *** hank has quit IRC
21:22:22 *** gerry has joined #gnucash
21:23:54 <gerry> when expense increase,why equity not change?
21:37:19 *** KevinDB has joined #gnucash
21:46:50 *** jervin has joined #gnucash
21:54:29 *** jervin has quit IRC
21:58:46 *** chris has joined #gnucash
21:59:03 *** storyjesse has joined #gnucash
22:18:52 *** nimish has quit IRC
22:32:21 *** Icon000 has joined #gnucash
22:33:21 *** Icon000 has joined #gnucash
22:33:44 <Icon000> Anyone awake?
22:35:59 *** Icon000 has quit IRC
23:11:47 *** jervin has joined #gnucash
23:16:44 *** jervin has quit IRC