2017-11-09 GnuCash IRC logs

01:07:20 *** jotrago has quit IRC
01:10:50 *** Mechtilde has joined #gnucash
01:17:04 *** jotrago has joined #gnucash
01:38:42 *** jotrago has quit IRC
01:38:44 *** tuxd00d has quit IRC
01:39:18 *** bertbob has quit IRC
01:40:19 *** bertbob has joined #gnucash
01:44:55 *** Mechtilde has quit IRC
02:13:13 *** carwynnelson has joined #gnucash
02:19:04 *** carwynnelson has quit IRC
02:21:05 *** jotrago has joined #gnucash
02:25:07 *** jotrago has quit IRC
02:26:05 *** jotrago has joined #gnucash
02:32:40 *** gjanssens has joined #gnucash
02:32:40 *** ChanServ sets mode: +o gjanssens
02:35:29 *** pilotauto has quit IRC
02:38:33 *** jotrago1 has joined #gnucash
02:39:08 *** jotrago has quit IRC
02:39:09 *** jotrago1 is now known as jotrago
02:40:40 *** jotrago has quit IRC
02:43:42 *** jotrago has joined #gnucash
02:44:17 *** fabior has joined #gnucash
02:45:16 <gjanssens> .
02:56:43 *** fekepp has quit IRC
02:59:13 *** fabior has quit IRC
03:15:52 *** jotrago1 has joined #gnucash
03:16:31 *** jotrago has quit IRC
03:16:32 *** jotrago1 is now known as jotrago
03:19:40 *** carwynnelson has joined #gnucash
03:25:11 *** jotrago has quit IRC
03:45:47 *** fekepp has joined #gnucash
03:52:04 *** carwynnelson has quit IRC
04:29:13 *** byzant has quit IRC
04:29:36 *** xmaka has quit IRC
04:29:49 *** gjanssens has quit IRC
04:29:56 *** xmaka has joined #gnucash
04:30:07 *** gjanssens has joined #gnucash
04:30:08 *** ChanServ sets mode: +o gjanssens
04:32:01 *** byzant has joined #gnucash
04:32:28 *** ArtGravity has quit IRC
04:32:33 *** ArtGravity has joined #gnucash
04:49:58 *** chris has joined #gnucash
05:20:13 *** fabior has joined #gnucash
05:42:57 *** fabior has quit IRC
05:53:39 *** User has joined #gnucash
06:05:35 *** analysis has joined #gnucash
06:24:53 *** carwynnelson has joined #gnucash
06:27:58 *** carwynnelson has quit IRC
06:45:48 *** Jimraehl1 has joined #gnucash
06:49:57 *** Jimraehl1 has left #gnucash
06:57:06 *** analysis has quit IRC
07:11:29 *** analysis has joined #gnucash
07:19:37 *** analysis has quit IRC
07:27:05 *** fekepp has quit IRC
07:27:16 *** fekepp has joined #gnucash
07:30:27 *** fekepp has quit IRC
07:40:19 *** fekepp has joined #gnucash
08:02:10 *** analysis has joined #gnucash
08:06:07 *** ArtGravity has quit IRC
08:06:57 *** ArtGravity has joined #gnucash
08:23:36 *** analysis has quit IRC
08:40:44 *** jotrago has joined #gnucash
08:43:45 <chris> I'm rather proud of my debit/credit multicolumn subtotal in TR strategy :) I think it fixes a lot of Debit/Credit display issues
08:53:07 *** carwynnelson has joined #gnucash
08:56:15 *** carwynnelson has quit IRC
09:16:12 *** storyjesse has joined #gnucash
09:21:07 *** mikee has quit IRC
09:21:32 *** mikee has joined #gnucash
09:24:48 *** mikee has quit IRC
09:25:51 *** mikee has joined #gnucash
09:30:59 <chris> lmat: I have idea about transitioning from timepair to time64 - I'll insert a few strategic (gnc:warn) beacons in the helper modules which use timepair, and slowly modify the .scm files
09:31:25 <chris> I'll only touch .scm files because to me C is off limits
09:38:44 *** fabior has joined #gnucash
09:42:05 <lmat> chris: Sounds great. I have no problem taking care of the C and C++ side.
09:44:15 *** storyjesse has quit IRC
09:44:24 <lmat> @tell jralls "Do you have a branch with just the c/c++ parts done?" No. I had started by removing the functions and letting the compiler show me the usages. That was a trainwreck and subsequently abandoned. I am now much more familiar with the code and ready to come at it again.
09:44:24 <gncbot> lmat: The operation succeeded.
09:46:46 *** fabior has quit IRC
09:46:53 *** Grav has joined #gnucash
09:47:20 *** MrKeuner has joined #gnucash
09:48:01 <MrKeuner> hi, how can I create a time series chart of one of the accounts in GnuCash?
09:48:32 <lmat> MrKeuner: Reports > Income and Expense > expense line chart? (I'm just guessing)
09:52:16 *** fekepp has quit IRC
09:57:09 <lmat> chris: Are you planning on eliminating timepairs "as you go", or will you be opening a new branch for a concerted effort? If the latter, let me know the branch and I will add my work to it.
10:00:21 *** kael has joined #gnucash
10:02:40 <MrKeuner> lmat, no that's kind of a predetermined report
10:04:00 <warlord> MrKeuner: what kind of time-series are you looking for? You may need to write one.
10:06:53 <MrKeuner> X-axis time, Y axis balance of the specific account which may be expense/income/or anything else
10:07:56 *** warlord sets mode: +o gncbot
10:08:45 <warlord> MrKeuner: Such a report does not exist. You would need to write it based on a existing reports.
10:09:51 <MrKeuner> I see, thank you I'll to use one of the existing ones. I was under the impression that I may need to start a budget to do the charts...
10:10:41 <MrKeuner> also, how can resize a chart "Income over time" for example? Currently it is squeezed in 1/6th of my screen realestate
10:10:59 <MrKeuner> is it because I am using 2.6.4?
10:12:33 <warlord> Probably, yes.
10:13:32 <MrKeuner> any major dependencies to anything I may not have to build Gnucash latest stable on my Debian 8.3?
10:15:56 <warlord> Unlikely. Why not just use backports?
10:16:49 <MrKeuner> I'll check thanks
10:19:15 *** kael has quit IRC
10:22:02 <MrKeuner> heh, I just learned to use backports... I thought I knew it.
10:22:23 <MrKeuner> specifically wasn't aware that backports are disabled by default
10:22:40 <MrKeuner> thought adding to the sources list was enough
10:23:45 <MrKeuner> Running 2.6.11 now but the charts are still the same size.
10:23:50 <MrKeuner> I'll try latest stable
10:25:09 <warlord> 2.6.18 is current
10:49:11 <MrKeuner> same in 2.6.18, could it be a pref thing somewhere?
10:49:21 <warlord> Maybe. Or it could be a bug.
10:49:28 <warlord> I dont use the graphical reports myself.
10:50:31 <MrKeuner> it mentions a graph conf options and I can save it as... but don't see how to the configuration
10:50:54 <warlord> MrKeuner: maybe gjanssens knows?
10:50:55 <MrKeuner> sorry report configuration options
10:52:18 <MrKeuner> nevermind, found the options mentioned and it does have a plot width that adjusts what I was taling about
10:52:49 <MrKeuner> I wish it had a page width though :)
10:53:42 *** analysis has joined #gnucash
11:24:47 *** analysis has quit IRC
11:28:39 <lmat> MrKeuner: I have been able to resize my reports, but I don't know what "Income over time" is.
11:28:59 <lmat> MrKeuner: Perhaps it's named something different; do you use gnucash in English?
11:45:05 <gjanssens> MrKeuner: gnucash 2.8 will allow you to set percentages for your plot widths. That percentage is relative to the page width.
11:45:18 <gjanssens> So if you set it to 100%, it will be full page width.
11:45:56 <gjanssens> Gnucash 2.8 is due in a few months. We're stabilizing the development branch towards it.
11:47:24 *** analysis has joined #gnucash
11:49:02 *** User has quit IRC
12:00:52 *** kael has joined #gnucash
12:04:47 *** jralls has joined #gnucash
12:04:47 *** ChanServ sets mode: +o jralls
12:08:56 <jralls> .
12:08:56 <gncbot> jralls: Sent 2 hours and 24 minutes ago: <lmat> Do you have a branch with just the c/c++ parts done? No. I had started by removing the functions and letting the compiler show me the usages. That was a trainwreck and subsequently abandoned. I am now much more familiar with the code and ready to come at it again.
12:18:37 <jralls> lmat: Heh, no surprise that blew up. Grep is your friend. ;-)
12:20:41 *** carwynnelson has joined #gnucash
12:21:13 <jralls> CDB-Man: gncbot can save messages for later using <at>tell user (I don't remember and couldn't find the escape, so <at> means @). You can look in today's log to see lmat using it around 10AM and gncbot playing it back for me just now.
12:23:16 <jralls> CDB-Man: The one thing to remember using tell is that there mustn't be a space after the userid; gncbot will think that any punctuation is part of the userudid.
12:23:19 <lmat> jralls: I have been frustrated by the difficulty of finding "uses" especially in C++ (function "set" anyone?). As C++ becomes more pervasive, grep becomes less useful since functions are no longer globally unique. I need some compiler to help me find uses, and couldn't find a good vim plugin. Ctags isn't cut out for uses, only "go to definition"s, and even that doesn't work well with C++ member functions. I
12:23:25 <lmat> installed kdevelop and it knows enough to find definitions quite well across the c/c++ code base.
12:23:51 *** carwynnelson has quit IRC
12:24:39 <lmat> jralls: And we're all left wondering "How did jralls know about CDB's message..." Surely he doesn't read the whole backlog? Do I need to use @tell anymore? ;-)
12:25:42 <jralls> lmat: Look for LLVM plugins for vim. LLVM exposes API to search its parse tree and there's been a lot of creative uses of that, the sanitizers being among the best.
12:26:19 <jralls> lmat: Actually, I do read the logs for periods when I'm not connected. It seldom takes more than 5 minutes.
12:28:03 *** tuxd00d has joined #gnucash
12:32:03 <lmat> jralls: Good to know (on both accounts) :-)
12:32:44 <jralls> lmat: As for tagging you might find https://stackoverflow.com/questions/1932396/c-source-tagging helpful. I've not managed to get into the habit of using tags so I can't offer any experience on the matter.
12:33:03 <lmat> jralls: I looked at clang-ctags. Again, not useful for finding uses, and to go to definition, I can't just ^]; I have to :tag Classname::membername which is more work than it's worth.
12:35:14 <jralls> But for timespec->time64 changes, simply `grep -rli timespec` to get a list of files using it... or maybe `grep -vrli timespec` for the files that don't. That might be a shorter list.
12:44:25 *** ArtGravity has quit IRC
12:45:41 <jralls> lmat: By "uses" do you mean "using" or inheritance?
12:48:10 *** carwynnelson has joined #gnucash
12:51:14 *** carwynnelson has quit IRC
13:05:45 *** Grav has quit IRC
13:07:15 *** kael has quit IRC
13:09:03 *** fabior has joined #gnucash
13:31:12 *** Mechtilde has joined #gnucash
13:33:09 *** tuxd00d has quit IRC
13:43:23 *** fabior has quit IRC
14:14:52 *** ArtGravity has joined #gnucash
14:16:11 <gjanssens> CDB-Man: jralls meant "The one thing to remember using tell is that there *must* be a space after the userid" in case you found his use of mustn't confusing in that sentence :)
14:17:34 <jralls> gjanssens: Thanks, I did get that flipped.
14:19:52 <gjanssens> jralls: np
14:19:53 *** fabior has joined #gnucash
14:25:51 *** carwynnelson has joined #gnucash
14:37:01 *** carwynnelson has quit IRC
14:43:08 *** ArtGravity has quit IRC
14:43:58 *** bn has joined #gnucash
14:50:29 *** carwynnelson has joined #gnucash
14:52:54 *** kael has joined #gnucash
15:16:31 *** kael has quit IRC
15:24:49 *** mtref has joined #gnucash
15:31:48 *** mtref has left #gnucash
15:32:15 *** Mechtilde has quit IRC
15:52:20 *** mtref has joined #gnucash
15:59:46 <jralls> gjanssens: I discovered after merging maint->unstable that the accounts/ca addition hadn't come over when you merged back in September, I imagine because of the change in the directory structure. I cherry-picked and moved the results into the right place for today's merge. I mention it as something we'll have to pay attention to if we get any more directory additions in maint.
16:10:49 *** carwynnelson has quit IRC
16:18:13 *** fell has joined #gnucash
16:19:51 *** gncbot sets mode: +o fell
16:20:31 <lmat> jralls: Sorry for the wait. No inheritance. For instance, when I see fr->set(...); put my cursor on "set", press ^], I would like it to take me to the correct overload of KvpFrame::set's definition. The best ctags can do is: I have to type ":tag KvpFrame::set(char const *" (or something like that). In other words, I have to figure out that fr is a KvpFrame* and the correct overload is the char* one, then
16:20:37 <lmat> it'll take me where I want to go.
16:20:38 <fell> Good Evening, I am back again.
16:21:08 <lmat> On the other hand, using kdevelop, not only this, but I can go to kvp-frame.hpp and find a ::set function and find all uses of it. Very useful.
16:21:15 <gjanssens> jralls: ok. Have you checked for other missing directories ?
16:21:22 <lmat> jralls: Right about timespec; grep can take care of us there.
16:22:08 <jralls> gjanssens: Not yet. That one happened to get flagged by the compiler.
16:23:07 * gjanssens is a happy kdevelop users as well...
16:23:17 <jralls> lmat: Ah, that would require the compiler's knowledge of which template is invoked. In cases where the polymorphism is resolved at runtime even the compiler (and therefor an IDE) won't know.
16:24:29 <jralls> Another argument for compile-time polymorphism, aka template metaprogramming. Too bad it makes my head explode most of the time.
16:24:37 <lmat> jralls: Oh yes, that's right.
16:29:53 *** fabior has quit IRC
16:31:53 *** Mechtilde has joined #gnucash
16:35:19 *** mtref has left #gnucash
16:41:30 *** carwyn-desktop has joined #gnucash
16:42:19 *** carwynnelson has joined #gnucash
16:43:02 *** carwyn-desktop has quit IRC
16:43:15 *** carwyn-desktop has joined #gnucash
16:45:34 *** pilotauto has joined #gnucash
16:45:48 *** Mechtilde has quit IRC
16:50:38 <gjanssens> jralls: I went though the maint commits since the directory restructuring on master. As far as I can see there are no new files added in directories that have changed names. So I think the CA case is the only one so far.
16:51:31 <gjanssens> New files in existing directories are picked up though (like doc/README-ca.win32.txt)
16:53:05 <gjanssens> Existing directories that didn't change names that is...
17:06:41 <lmat> There should be a merge conflict if a file is added in one branch, but the directory was changed on the destination branch.
17:09:56 <jralls> lmat: In this case the whole directory was added. gjanssens did the original merge that should have brought it over, I'd be surprised if he ignored a conflict.
17:12:25 <gjanssens> jralls, lmat: I don't remember getting a merge conflict for the CA directory specifically
17:15:47 *** carwyn-desktop has quit IRC
17:20:07 <gjanssens> Huh, I got the mail from gnucash-patches twice and not the one from gnucash-changes (for the push that merges maint into unstable)
17:21:47 <warlord> It might be "too big" and stuck in the moderator queue.
17:26:34 <chris> lmat: I'll need to think about how the transitioning timepair>time64 can work. So far I was running under assumption that scm was for read-only access to database. My strategy was to create some parallel functions in date-utilities.scm and slowly move over all api calls to use the new time64 function but it looks like it's gnc-date.cpp that will require parallel functions. e.g. timespec_equal -> g
17:26:35 <chris> nc_date_equal.
17:27:04 <chris> so perhaps I'll want to have a build with the new gnc-date and lots of debug calls.
17:28:38 <chris> i'm still confused diff between gnc_date, timespec, gdate, gncdatetime, qof-time :-o
17:31:28 <chris> but if i do this project we'll need to think about how to collaborate. i think i'll need to set up a proper build env
17:31:52 *** gjanssens has quit IRC
17:37:24 <jralls> chris: time64 is just a 64-bit integer. You can use regular integer comparisons on it once it's no longer a timespec/timepair.
17:40:04 <jralls> chris: In unstable, GncDate is the date part of a GncDateTime. Timespec/timepair is the struct we're trying to replace with time64. GDate is a GLib date structure (see https://developer.gnome.org/glib/stable/glib-Date-and-Time-Functions.html) that we need in some places to communicate with the GUI but should otherwise be replaced with GDate; I hope it's not in any Scheme code.
17:45:40 <jralls> chris: There is no QofTime object, there's just a badly named function qof_time_format_from_utf8 that transcodes a format string from UTF8 to what the OS uses natively; it's pretty much a noop except on Windows.
17:48:41 <chris> jralls- thx i'll think some more and get started when i've set up a good dev env
17:50:15 *** kael has joined #gnucash
17:53:42 *** kael has quit IRC
18:25:48 *** carwynnelson has quit IRC
18:26:32 <chris> I'll assume time64/timepair relates to the year 1970 and goes for millenia in both directions
18:33:11 *** ArtGravity has joined #gnucash
18:35:09 <jralls> chris: That's correct. The date limitation is imposed by boost::datetime and is 1 January 1400 to 31 December 9999.
18:37:57 <jralls> That's sufficient even for the Banco Monte dei Paschi di Sienna, though I doubt they use GnuCash.
18:48:29 *** kael has joined #gnucash
18:53:19 *** kael has quit IRC
19:22:30 *** luc14n0 has joined #gnucash
19:23:45 <luc14n0> hey jralls! I thought that Travis was using gcc7.
19:24:45 *** luc14n0 has quit IRC
19:24:59 *** luc14n0 has joined #gnucash
19:29:06 <jralls> luc14no: Hmm, true, at least on arch. But why else would it barf over the signature difference?
19:29:48 <jralls> luc14no: Have you tested the latest unstable on OpenSuSE yet?
19:30:25 <luc14n0> no, but I'll now.
19:31:51 <luc14n0> And I still can imagine why Travis don't hiccup and openSUSE does.
19:31:59 <luc14n0> *can't
19:33:38 <jralls> Debian 9, too.
19:35:22 <luc14n0> I'll do some more investigation now that we know that Debian is having issues as well
19:35:53 <jralls> Was. The changes are committed and Debian 9 builds and passes the tests.
19:36:24 <luc14n0> Well, that's good news.
19:37:17 <luc14n0> Do I have to use the 2.7.1 branch?
19:38:14 <luc14n0> *Tag
19:39:19 <jralls> No, use the unstable branch. I can't change a tag.
19:39:38 <luc14n0> Alright!
19:40:47 <luc14n0> Tomorrow I'll pop up again with the results. It's dinner time.
19:41:46 <jralls> For me too.
19:41:56 *** jralls is now known as jralls_afk
20:26:09 *** carwynnelson has joined #gnucash
20:29:13 *** carwynnelson has quit IRC
20:47:47 <CDB-Away> jralls_afk: well, learn something new everyday
20:47:51 <CDB-Away> :)
20:47:54 <CDB-Away> <CDB-Away> [01:27:30] <CDB-Away> hmm, where's jralls
20:47:54 <CDB-Away> <CDB-Away> [01:29:10] <CDB-Away> in any case, the updated finance quote v1.44 with alphavantage api key works for stocks, but doesnt work for currency
20:47:54 <CDB-Away> <CDB-Away> [01:29:18] <CDB-Away> i cant import my usd cad fx
20:47:54 <CDB-Away> <CDB-Away> [01:29:46] <CDB-Away> and gnucash doesnt let you select anything other than "currency" when choosing a data source for currency
20:47:54 <CDB-Away> <CDB-Away> [01:30:00] <CDB-Away> if someone could pass that along to jralls,that would be great
21:05:00 *** kael has joined #gnucash
21:11:40 *** analysis has quit IRC
21:17:36 *** kael has quit IRC
22:07:15 *** carwynnelson has joined #gnucash
22:10:28 *** carwynnelson has quit IRC
22:14:32 *** shakes808 has joined #gnucash
22:28:59 *** luc14n0 has left #gnucash
22:54:24 *** kael has joined #gnucash
22:56:53 *** ArtGravity has quit IRC
23:33:33 *** shakes808 has quit IRC