2017-10-23 GnuCash IRC logs

00:06:10 *** xmaka has quit IRC
00:18:16 *** xmaka has joined #gnucash
00:51:58 *** Mechtilde has joined #gnucash
01:00:22 <jralls> @tell gjanssens I've partly figured out the exception problem at least for GncNumeric. It's not a C problem after all. See https://github.com/jralls/gnucash/commit/b852ad6321cd14f8c3e06744575d24889374615b for a partial fix and explanation.
01:00:22 <gncbot> jralls: The operation succeeded.
01:08:16 *** fell has quit IRC
01:08:58 *** fell has joined #gnucash
01:35:27 *** Mechtilde has quit IRC
01:59:27 *** marusich has joined #gnucash
02:00:35 *** xmaka has quit IRC
02:03:33 *** xmaka has joined #gnucash
02:53:57 *** jotrago1 has joined #gnucash
02:55:10 *** xmaka has quit IRC
02:56:57 *** fekepp has joined #gnucash
03:01:59 *** Mechtilde has joined #gnucash
03:14:13 *** xmaka has joined #gnucash
03:17:16 *** xmaka has quit IRC
03:33:15 *** xmaka has joined #gnucash
03:36:16 *** xmaka has quit IRC
03:39:01 *** mrklintscher11111 has joined #gnucash
04:05:51 *** marusich has quit IRC
04:08:10 *** fekepp has quit IRC
04:26:31 *** xmaka has joined #gnucash
04:26:34 *** gncbot sets mode: +o fell
04:45:10 *** codesmythe has quit IRC
04:47:16 *** gjanssens has joined #gnucash
04:47:16 *** ChanServ sets mode: +o gjanssens
04:47:21 <gjanssens> .
04:47:21 <gncbot> gjanssens: Sent 3 hours and 46 minutes ago: <jralls> I've partly figured out the exception problem at least for GncNumeric. It's not a C problem after all. See https://github.com/jralls/gnucash/commit/b852ad6321cd14f8c3e06744575d24889374615b for a partial fix and explanation.
05:20:18 *** mikee_ is now known as mikee
05:20:29 <mikee> @op
05:20:29 <gncbot> mikee: Error: You don't have the #gnucash,op capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.
05:20:41 <mikee> @op
05:20:42 *** gncbot sets mode: +o mikee
05:27:58 *** Mechtilde has quit IRC
05:34:31 *** pilotauto has quit IRC
05:55:46 *** gjanssens has quit IRC
05:56:15 *** gjanssens has joined #gnucash
05:56:15 *** ChanServ sets mode: +o gjanssens
06:21:31 *** Jimraehl1 has joined #gnucash
06:26:20 *** jotrago1 has quit IRC
06:54:10 *** meb has quit IRC
06:59:50 *** meb has joined #gnucash
07:20:51 *** Mechtilde has joined #gnucash
07:39:35 *** User has joined #gnucash
07:42:07 *** fekepp has joined #gnucash
07:44:38 *** jotrago has quit IRC
07:54:15 *** jotrago has joined #gnucash
08:13:52 *** fekepp has quit IRC
08:39:51 *** xmaka has quit IRC
08:41:08 *** mikee_ has joined #gnucash
08:43:03 *** mikee has quit IRC
08:53:01 *** jotrago has quit IRC
08:57:27 *** jotrago has joined #gnucash
09:04:54 *** jotrago has quit IRC
09:15:29 *** jotrago has joined #gnucash
09:24:34 *** Mechtilde has quit IRC
09:24:49 *** Mechtilde has joined #gnucash
09:32:29 *** jotrago has quit IRC
09:37:10 *** storyjesse has joined #gnucash
09:49:20 *** storyjesse has quit IRC
09:55:41 <Trel> Is there any reason that as a non-business user, I'd want to avoid setting the accounting period to monthly?
10:04:46 *** xmaka has joined #gnucash
10:06:55 <lmat> Trel: The accounting period is usually the period after which you plan to close the books. Personal accounting is often closed annually rather than monthly (if at all).
10:07:21 <lmat> Trel: I don't know what I have mine set to, nor what it affects. Perhaps reports use time periods like "current accounting period"?
10:12:39 <Trel> Ah, I'll look more at the report options before I change anything with the period
10:13:08 <Trel> I don't suppose there's a way to temporarily filter the account view by a time range that I'm missing is there?
10:13:33 <lmat> Trel: I'm not sure what you mean. What data do you expect to respond to filtering?
10:14:12 <Trel> (That would persist between accounts until toggled off I mean)
10:14:45 <lmat> Trel: I don't know of a way to filter all open registers at the same time.
10:15:49 <Trel> Yeah, I see a way to do it in each account, but I was hoping to do it also at the account overview to all of them, so I could for example, see the summary of just a specific month, in the same layout as the accounts overview.
10:15:57 *** xmaka has quit IRC
10:16:43 <lmat> Trel: I think you'll need to run a report of some sort if you want to, for instance, see only activity for each account for a particular time period.
10:16:56 *** xmaka has joined #gnucash
10:21:19 <Trel> I'm looking at the report options, Account Summary looks good, but it doesn't seem to have a way to limit the date range for the data, it uses the accounting period, and lets you pick the end data, but not the start. I'll keep looking at the report options.
10:23:10 <Trel> Not sure if I'm missing something obvious
10:26:20 <Trel> If I can't find one, maybe I could modify the account summary report to make a fully custom one, if it doesn't exist that may be the best option for what I'm trying to see
10:31:35 *** mikee_ is now known as mikee
10:31:56 <mikee> @op
10:31:57 *** gncbot sets mode: +o mikee
10:37:47 <Chris> trel: what kind of report are you trying to make?
10:41:33 <Chris> as far as the main Accounts Register view (View > New Accounts page) it's rather rigid in its defaults, and most of us long-term users do get by
10:43:07 <Chris> I can add a column "Total (Period)" and set the Edit Preferences > Accounting Period to a particular range, and get a summary-at-a-glance for e.g. income earned in the period
10:52:09 *** kael has joined #gnucash
11:03:49 *** fabior has joined #gnucash
11:05:15 <Trel> Chris: If you look at the main account overview look when you open the program, I'm looking for that view, but limited in at timerange.
11:08:00 *** Mechtilde has quit IRC
11:08:17 <Chris> Trel: the main account overview is just a general list of accounts being tracked in gnucash, their desc, running balance.
11:09:18 <Chris> The main acc view will definitely not be filterable by daterange. Doesn't quite make sense conceptually.
11:09:44 <Chris> If you want a list of accounts and to limit timerange (eg because you want a list of accounts which contain splits (and their total) within a particular timerange, you'll need to use either Income Statement or Cashflow Report, depending on your needs.
11:11:11 <Chris> I think there was, in the past, talk of implementing "Periodic Accounting Books", eg. 2014-2015, 2015-2016, etc each with their own (linked) hierarchy, but I think this effort is now stale
11:21:17 <Chris> Trel: having said that, I think there's (some) merit to your request for a (read-only) Filtered View - e.g.... I want to browse only accounts that contain transactions between Apr-2014 to June-2014... and ONLY accounts which are relevant will be displayed, and opening the register can show ONLY the filtered daterange, with (Balance b/f) and (Balance c/f) similar to bank statements. Perhaps...
11:21:19 <Chris> ...this can be an RFE for a future version.
11:23:06 <Chris> until then we have to make do with what we have
11:43:27 <Trel> I looked at income statement and cashflow, but neither of them show what I'm looking for. I'm basically trying to say, if I ONLY accounted for XYZ time range, here's what it would look like.
11:43:45 <Trel> Am I missing a report or option that could do that?
11:43:54 <lmat> Trel: Profit and Loss, I think.
11:45:03 <Trel> Nope, doesn't show assets and equity, same with the income statement option. Account Summary shows the data I want, but doesn't let you define the time range.
11:46:10 *** ArtGravity has joined #gnucash
11:46:22 <Trel> So far I still think my best bet would be to make a duplicate (and modified) account summary report that lets me define the range. If I have time next weekend I'll see if I can. I just want to make sure I'm not re-inventing the wheel and missing a report that already shows what I want
11:46:56 <jralls> warlord: code is refusing http connections.
11:47:03 <Chris> Trel: you could choose General Ledger (to be renamed General Journal in 2.7) and View-Filter you'll have your daterange list. But the Journal is awkward to browse
11:48:07 <Chris> You can choose any account register and limit the daterange via View/Filter, but this doesn't apply globally
11:48:34 *** mrklintscher11111 has quit IRC
11:49:33 <Trel> Yeah, I'm looking for the overview view, not the transaction listing, so unless I'm misreading what you're saying, I'm not sure that provides the information I'm trying to get.
11:50:36 <warlord> jralls: Define refusing? I can connect to port 80, but it DOES redirect to HTTPS
11:52:44 <Trel> I'll look into making my own report when I get back from my trip this week.
11:53:01 *** CrashCart has joined #gnucash
11:53:22 *** CrashCart has left #gnucash
11:53:46 *** CrashCart has joined #gnucash
11:54:09 *** CrashCart has quit IRC
11:54:59 <jralls> warlord: The browser says "wiki.gnucash.org refused to connect....ERR_CONNECTION_REFUSED"
11:55:04 *** fabior has quit IRC
11:59:02 *** Cuare1 has joined #gnucash
11:59:17 *** Cuare1 has left #gnucash
12:05:17 *** kael has quit IRC
12:05:40 *** crashcart has joined #gnucash
12:05:48 <jralls> GTG.
12:05:58 *** jralls is now known as jralls_afk
12:07:22 *** fabior has joined #gnucash
12:07:47 *** crashcart has quit IRC
12:08:14 *** crashcart has joined #gnucash
12:09:14 *** crashcart has quit IRC
12:09:45 *** User has quit IRC
12:17:53 *** fabior has quit IRC
12:20:45 *** Cuare has quit IRC
12:21:39 <warlord> jralls_afk: Hmm. Do you have an ipv6 address?
12:29:33 *** Cuare has joined #gnucash
12:40:02 *** warlord has quit IRC
12:45:24 *** jotrago has joined #gnucash
12:54:52 *** warlord has joined #gnucash
13:02:11 *** xmaka has quit IRC
13:12:44 *** gjanssens has quit IRC
13:14:49 *** gjanssens has joined #gnucash
13:14:50 *** ChanServ sets mode: +o gjanssens
13:17:55 *** Mechtilde has joined #gnucash
13:30:17 *** Simon has quit IRC
13:33:05 *** hoijui has joined #gnucash
13:33:36 <lmat> warlord: For what it's worth, I can connect.
13:37:07 <warlord> lmat: good to know. The server is up, and I can connect.
13:37:24 <lmat> warlord: Perhaps he was using ipv6.
13:37:29 <lmat> as you said
13:38:02 *** Simon has joined #gnucash
13:41:08 <warlord> If so, that should have just had a delay and then fall back to ipv4
13:44:23 *** hoijui has quit IRC
14:06:53 *** User has joined #gnucash
14:10:08 *** User has quit IRC
14:21:19 *** warlord has quit IRC
14:24:38 *** jotrago has quit IRC
14:25:13 *** jotrago has joined #gnucash
14:25:25 *** frakturfreak has joined #gnucash
14:27:54 *** jotrago has quit IRC
15:33:06 *** tgunb has joined #gnucash
15:33:54 <tgunb> hey guys, whats the state with gconf/gsettings. are you planing to svitch in the near future?
15:34:46 <gjanssens> tgunb: what do you mean exactly ?
15:37:08 <tgunb> isnt gnucash being obsoleted by gsetting?
15:37:17 <tgunb> i mean gconf
15:37:35 <tgunb> s/gnucash/gconf/
15:47:54 *** Mechtilde has quit IRC
15:51:55 *** Mechtilde has joined #gnucash
15:55:09 *** Mechtilde has quit IRC
16:00:17 <gjanssens> tgunb: gnucash has been using gsettings as of version 2.6.0. We no longer use GConf. Is that what you want to know ?
16:06:39 *** User has joined #gnucash
16:15:45 *** fekepp has joined #gnucash
16:18:52 *** fekepp has quit IRC
16:19:01 *** fekepp has joined #gnucash
16:31:50 *** frakturfreak has quit IRC
16:35:32 *** User has quit IRC
16:37:03 <tgunb> yes. thanks. im using 2.4.15. my bad
16:37:24 *** fekepp has quit IRC
16:48:51 *** carwynnelson has joined #gnucash
16:57:10 *** xmaka has joined #gnucash
16:59:53 <carwynnelson> Evening
17:00:24 <carwynnelson> I'm looking to make my next contribution to gnucash. A bit of a bigger one this time that will require more research and time, but will hopefully be more useful
17:00:41 <carwynnelson> I was thinking of writing more tests for Account
17:01:00 <carwynnelson> From what I can tell there are some tests for account in scheme and some in c?
17:01:05 <carwynnelson> Is it worth converting these over to googletest?
17:01:15 *** jralls_afk is now known as jralls
17:02:34 <jralls> carwynnelson: No, only in C. But lmat has started on moving Account to C++ (https://github.com/Gnucash/gnucash/pull/222) so perhaps you could work with him to move the existing tests to googletest and add new ones.
17:05:09 <carwynnelson> lmat: would you be happy with me working with you on this?
17:07:25 <lmat> carwynnelson: For sure. Feel free to add my repository as a remote to yours (are you quite comfortable with git and remotes?): https://github.com/limitedAtonement/gnucash. The branch is account_to_cpp.
17:08:04 <lmat> carwynnelson: I've changed some of the free functions, but haven't actually changed the account struct to have member functions, etc.
17:08:12 <carwynnelson> Will do. Would you prefer it if I created pull requests against your fork?
17:08:28 <carwynnelson> I'm still very new to the gnucash codebase and just c/c++ in general
17:08:49 *** fbruetting has joined #gnucash
17:08:53 <carwynnelson> or rather - my knowledge of c/c++ is quite shallow
17:09:33 <lmat> carwynnelson: Hmm, good question. Perhaps you can create your own branch right on top of mine? (git checkout -B carwynnelson-account lmat/account_to_cpp), and push it to github periodically and tell me to get your commits?
17:09:51 <lmat> carwynnelson: Pull requests are fine, too, if that seems convoluted.
17:10:05 <lmat> carwynnelson: We'll see what we can do about that (shallow c/c++) :-)
17:10:05 <carwynnelson> Sounds good to me. I'm happy with whatever makes it easiest for yourself
17:10:42 <carwynnelson> fingers crossed :)
17:11:16 <lmat> carwynnelson: I keep a machine on IRC almost all the time, so you can leave me messages here, or feel free to e-mail me.
17:11:41 <carwynnelson> Will do. What time zone are you based in?
17:11:47 <lmat> Eastern.
17:11:52 <lmat> And with that, I'll be AFK for a few hours. Later!
17:21:46 <jralls> warlord: No IPv6 here, but I can connect with a cell connection, so it's something in the wire twixt here and there. Traceroute adds that connection is administratively prohibited.
17:29:15 <gjanssens> jralls: warlord is not on irc atm :(
17:30:05 <jralls> gjanssens: Huh, so I see.
17:30:21 <jralls> @tell warlord No IPv6 here, but I can connect with a cell connection, so it's something in the wire twixt here and there. Traceroute adds that connection is administratively prohibited.
17:30:21 <gncbot> jralls: The operation succeeded.
17:30:52 <gjanssens> jralls: I have read your gist on the exceptions issues
17:31:07 <gjanssens> And that raised a few questions for me
17:31:24 <jralls> gjansssens: It's actually a commit, but no matter. It's the questions I wan t to hear.
17:31:36 * gjanssens is reopening the commit to refresh
17:31:52 <jralls> And I guess note that I haven't been able to reproduce the problem in a simple test program.
17:32:32 *** pilotauto has joined #gnucash
17:32:43 <jralls> So what I've done is a work around for something that I don't really understand.
17:33:13 <gjanssens> Ok
17:34:35 <jralls> @tell warlord I think the problem is that my IP is blocked. I went to my Win10 VM and saw that I'd left SourceTree running... and it's probably been trying to connect with an invalid SSH id.
17:34:35 <gncbot> jralls: The operation succeeded.
17:34:35 <gjanssens> That's primarily what I was wondering about, I guess. Whether we had fundamental c++ design issues, which happened to work fine on linux/OS X but not on Windows, or are we looking at a bug/unimplemented stuff on the windows Mingw/gcc compiler ?
17:35:57 <gjanssens> What I'm concerned about is that we may end up writing tons of such workarounds as we continue to make progress in our c++ conversion
17:36:02 <jralls> I think some of both. I need to review the C++11 rules on chaining constructors but I think I was doing that wrong.
17:37:26 <jralls> Right, so we need to understand what parts are "doing it wrong" and what parts are something about gcc on Mingw64 that we need to design around.
17:37:50 <gjanssens> Do you refer to the first part of your comment here ? That is "
17:37:52 <gjanssens> Throwing from a constructor called from a member function of another object of the same class."
17:38:11 <gjanssens> When you say "chaining constructors"
17:38:28 <jralls> Yes.
17:41:17 <jralls> At least as far as the changes that I made in yesterday's commit go. The next round is in GncNumeric::to_decimal which converts the member values to x/10^y and then constructs a new GncNumeric to return. If that construction throws the program aborts.
17:41:23 *** tgunb has left #gnucash
17:44:21 <jralls> I don't see that as an unreasonable design. It's not chaining constructors, it's just making a new GncNumeric with adjusted values.
17:45:14 <gjanssens> jralls: had you tried the route of a different exception model (dw-2 vs sjlj) ?
17:47:02 <gjanssens> Hmm, odd English I think. "have you tried" or "did you try" probably make more sense :)
17:47:28 <jralls> No. That involves using a different toolchain, the exception model is selected when configuring gcc, and for it to work I have to switch to building boost from source with the new toolchain. Building boost has proved impossible to automate so far.
17:47:31 <gjanssens> What bothers me even more is that a simple test program doesn't reproduce this.
17:48:23 <jralls> Yeah, that bugs me too. It means that I haven't really found the problem, just a work around for some symptoms.
17:48:59 <gjanssens> But we can learn as we move along... As with all other things, I believe we should focus on getting 2.8 out. So workarounds are fine in the interim.
17:49:16 <gjanssens> We should just remember them for later review some way.
17:49:45 <gjanssens> It's getting pretty late here, so I'll have to leave you.
17:49:53 <gjanssens> See you later
17:49:59 <jralls> Wait!
17:50:19 <gjanssens> Ok
17:50:46 <jralls> Can you add to your list to make sure that your CSV importer doesn't have similar problems... or at least that they're all from GncNumeric?
17:51:29 <gjanssens> Yes, that had crossed my mind as well. I'll do so.
17:51:40 <jralls> Thanks, and good night.
17:51:51 <gjanssens> Bye
17:52:27 *** gjanssens has quit IRC
18:00:57 *** carwynnelson has quit IRC
18:07:14 *** carwynnelson has joined #gnucash
18:07:16 *** carwynnelson has joined #gnucash
18:07:33 *** carwynnelson has quit IRC
18:20:02 *** carwynnelson has joined #gnucash
18:26:50 *** carwynnelson has quit IRC
18:46:19 *** User has joined #gnucash
18:52:41 *** User has quit IRC
20:15:48 *** fbruetting has quit IRC
20:22:21 *** Robert has joined #gnucash
20:27:12 *** carwynnelson has joined #gnucash
20:30:16 *** carwynnelson has quit IRC
20:56:34 *** Robert has quit IRC
21:27:16 *** carwynnelson has joined #gnucash
21:30:24 *** carwynnelson has quit IRC
21:46:27 *** tuxd00d has joined #gnucash
21:51:38 *** ArtGravity has quit IRC
22:59:00 *** storyjesse has joined #gnucash
23:53:44 *** wget has quit IRC
23:55:53 *** wget has joined #gnucash