2019-03-22 GnuCash IRC logs

00:01:23 *** puck has joined #gnucash
00:27:13 *** jervin has joined #gnucash
00:32:19 *** Farelli_ has quit IRC
00:33:04 *** Farelli_ has joined #gnucash
00:37:24 *** puck has quit IRC
00:41:23 *** puck has joined #gnucash
01:08:00 *** jervin has quit IRC
01:49:54 *** boldstripe has quit IRC
01:51:20 *** boldstripe has joined #gnucash
02:24:38 *** markolino has joined #gnucash
02:24:38 *** ChanServ sets mode: +v markolino
02:35:50 *** markolino has quit IRC
02:36:49 *** markolino has joined #gnucash
02:36:49 *** ChanServ sets mode: +v markolino
02:45:29 *** Mechtilde has joined #gnucash
02:45:44 *** marusich has joined #gnucash
02:45:45 *** ChanServ sets mode: +v marusich
02:47:34 *** fell_desktop has quit IRC
02:47:34 *** fell has quit IRC
02:48:24 *** fell has joined #gnucash
02:48:24 *** ChanServ sets mode: +o fell
02:48:49 *** fell_desktop has joined #gnucash
02:51:52 *** Mechtilde has quit IRC
02:52:10 *** Mechtilde has joined #gnucash
02:58:57 *** gjanssens has joined #gnucash
02:58:57 *** ChanServ sets mode: +o gjanssens
02:59:30 *** markolino has quit IRC
03:03:59 *** fabior has joined #gnucash
03:23:22 *** Mechtilde has quit IRC
03:24:33 *** fabior has quit IRC
03:41:02 *** fabior has joined #gnucash
03:51:05 *** boldstripe has quit IRC
03:52:30 *** boldstripe has joined #gnucash
04:54:55 *** fabior has quit IRC
04:57:05 *** Mechtilde has joined #gnucash
05:05:33 *** marusich has quit IRC
05:12:41 *** fabior has joined #gnucash
05:43:55 *** fabior has quit IRC
05:52:15 *** boldstripe has quit IRC
05:53:41 *** boldstripe has joined #gnucash
06:04:39 *** Aussie_matt has quit IRC
06:18:33 *** fabior has joined #gnucash
06:20:18 *** fabior has quit IRC
06:36:56 *** chris has joined #gnucash
06:36:56 *** ChanServ sets mode: +v chris
06:36:59 *** bertbob has quit IRC
06:37:04 <chris> .
06:38:52 *** bertbob has joined #gnucash
06:38:53 *** ChanServ sets mode: +v bertbob
06:38:54 *** fabior has joined #gnucash
06:53:15 *** fabior has quit IRC
06:54:50 *** oozer has joined #gnucash
07:03:56 *** nimish2711 has joined #gnucash
07:13:02 *** storyjesse has joined #gnucash
07:52:06 *** jervin has joined #gnucash
07:53:26 *** boldstripe has quit IRC
07:53:42 *** jervin has quit IRC
07:54:51 *** boldstripe has joined #gnucash
08:09:58 *** jervin has joined #gnucash
08:13:30 *** jervin has quit IRC
08:18:35 <chris> I'd be grateful if someone can share their rebuild/test/run script with me...
08:31:23 *** JayC has quit IRC
08:58:32 <chris> gnc:make-date-option will store absolute dates as time64 which means the stored date is vulnerable to TZ :-o
09:07:29 *** Jimraehl1 has joined #gnucash
09:08:07 *** Jimraehl1 has left #gnucash
09:21:29 *** markolino has joined #gnucash
09:21:29 *** ChanServ sets mode: +v markolino
09:28:31 *** markolino has quit IRC
09:28:39 *** kael has joined #gnucash
09:28:39 *** ChanServ sets mode: +v kael
09:29:31 *** markolino has joined #gnucash
09:29:31 *** ChanServ sets mode: +v markolino
09:32:42 *** jervin has joined #gnucash
09:37:58 *** Agfarmer18 has joined #gnucash
09:38:32 *** Aussie_matt has joined #gnucash
09:44:20 *** jervin has quit IRC
09:48:36 *** nimish2711 has quit IRC
09:51:18 *** nimish2711 has joined #gnucash
10:01:32 *** markolino has quit IRC
10:01:32 *** Agfarmer18 has quit IRC
10:02:48 *** Agfarmer18 has joined #gnucash
10:08:18 *** Agfarmer18 has quit IRC
10:12:13 *** fabior has joined #gnucash
10:16:27 <warlord> .
10:18:06 <fell> .
10:20:16 *** Agfarmer18 has joined #gnucash
10:20:55 <chris> .
10:24:59 *** nimish2711 has quit IRC
10:27:01 *** kael has quit IRC
10:29:45 <warlord> Hey, I started something :)
10:30:17 *** Agfarmer18 has quit IRC
10:31:01 *** nimish2711 has joined #gnucash
10:39:54 <fell> Another round of Pong?
10:52:42 <warlord> apparently.
10:52:52 *** guak has joined #gnucash
10:54:48 *** lcanaska has joined #gnucash
10:55:29 *** boldstripe has quit IRC
10:56:25 *** boldstripe has joined #gnucash
11:01:41 <warlord> chris, did you commit your multi-column balance sheet and income statement reports
11:01:43 <warlord> ?
11:03:09 *** User_ has joined #gnucash
11:07:42 *** User_ has quit IRC
11:10:58 *** guak has quit IRC
11:13:59 <chris> not yet
11:14:18 <chris> it suffers from a god-mode function
11:15:08 <fell> gjanssens: Any idea how I can pull https://github.com/Gnucash/gnucash-docs/pull/116 from unknown repository?
11:16:44 *** storyjesse has quit IRC
11:17:43 *** JayC has joined #gnucash
11:17:43 *** ChanServ sets mode: +v JayC
11:19:05 *** jervin has joined #gnucash
11:19:15 <chris> warlord my thought is this God-mode function should be modified to eventually become a drop-in replacement for html-acct-table, but this may be too ambitious an effort
11:23:39 *** guak has joined #gnucash
11:24:53 <fell> The only idea I have to modify it is merge, revert, edit, commit. Any other suggestions?
11:26:20 *** jervin has quit IRC
11:26:29 <chris> https://github.com/Gnucash/gnucash-docs/pull/116 end of page there's a blue 'command line instructions' next to big green button which will be useful
11:28:05 <warlord> god-mode?
11:30:34 <chris> http://wiki.c2.com/?GodClass
11:31:39 <chris> this one https://github.com/christopherlam/gnucash/blob/maint-balsheet-pnl/gnucash/report/standard-reports/balsheet-pnl.scm#L422
11:32:25 <fell> thx, chris
11:32:49 <chris> 280 lines in this monster function
11:33:02 *** lcanaska has quit IRC
11:33:05 <chris> you're welcome fell
11:34:02 <warlord> Eh, chris -- that doesn't look so bad.
11:34:53 <warlord> You should take a look at PGP SDK parseAsc.c -- if you can find a copy of it! :)
11:35:07 <warlord> It's a state machine with ~100 states, all implemented in a single function.
11:36:26 <chris> hmm
11:37:49 *** Cuare has joined #gnucash
11:37:50 *** ChanServ sets mode: +v Cuare
11:39:46 <chris> perhaps I'll give it a final push then
11:40:05 <chris> (push = effort) (push != merge into maint)
11:46:07 <jralls> fell: Click the "command line instructions" link on https://github.com/Gnucash/gnucash-docs/pull/116, it provides a curl command to retrieve the patch and merge it.
11:46:30 <fell> jralls, thx
11:48:21 <fell> Note to rebase the patch I had to go back to 3.2 before branching.
11:50:08 <chris> jralls #473 can be merged if you like the fix... there were differing viewpoints and you can be the final arbiter :) I'm now neutral to it.
11:50:27 <chris> #471 should be renamed bugfix for 748431.
11:52:13 <chris> #471 would warrant more personal testing...
11:58:36 <jralls> chris: OK, renamed. If you're done whacking at it I'll code review and test.
12:00:27 *** kael has joined #gnucash
12:00:27 *** ChanServ sets mode: +v kael
12:02:02 <chris> go ahead, time to sleep here. I know the code review will be difficult... I've built this loop piecemeal until it works. I think best to try with live data!
12:02:29 *** Mechtilde has quit IRC
12:03:39 <jralls> chris: As for #473 I agree with David Carlson: It's far more likely that a user setting the period on 28 Feb means "end of the month" rather than "28th of each month".
12:04:01 <jralls> Well, I've got plenty of live data for that. Good night.
12:04:41 <chris> ok :) main thing is edge cases e.g. are splits being divided into good month boundaries and averages/amounts as expected. thx!
12:14:33 *** fabior has quit IRC
12:15:40 *** lcanaska has joined #gnucash
12:16:32 *** puck has quit IRC
12:18:44 *** lcanaska has quit IRC
12:21:22 *** puck has joined #gnucash
12:49:45 *** fabior has joined #gnucash
12:55:18 <warlord> jralls, I think it depends on if they set it to Feb 28 on a leap year or not.
12:55:39 <warlord> I think if they set it to Feb 28, 2016, then they DO mean the 28th of each month.
13:05:25 *** guak has quit IRC
13:11:13 *** nimish2711 has quit IRC
13:20:40 *** fabior has quit IRC
13:38:09 <fell> would not yyy-mm-00 be the last of mm-1?
13:45:36 *** ArtGravity has joined #gnucash
13:45:36 *** ChanServ sets mode: +v ArtGravity
13:52:12 *** nimish2711 has joined #gnucash
13:59:58 *** boldstripe has quit IRC
14:00:24 *** nimish2711 has quit IRC
14:01:23 *** boldstripe has joined #gnucash
14:10:44 <jralls> fell: That's an interesting convention; -1 is also used in some places to mean "the end of".
14:11:21 <jralls> warlord: Agree, I just didn't think it necessary to write it out exhaustively.
14:15:00 *** fabior has joined #gnucash
14:18:01 *** Mechtilde has joined #gnucash
14:18:48 *** fabior has quit IRC
14:24:19 *** Guest62 has joined #gnucash
14:30:42 *** jervin has joined #gnucash
14:35:59 <gjanssens> jralls, warlord: and that's the way chris' most recent iteration behaves (and I agree as well btw)
14:37:45 <jralls> Right. It's been discussed a length on the PR.
14:40:51 *** Guest62 has quit IRC
14:45:18 <jralls> gjanssens: Have you looked over chris's code in either #471 or #473?
14:48:54 <gjanssens> jralls: I had a quick glance at #473 earlier this week and it looks ok to me. I haven't seen #471 yet
14:49:12 <gjanssens> And probably won't have time to look at it either
14:49:36 <jralls> That's OK, I just wanted to avoid duplicating effort.
14:49:38 *** Guest62 has joined #gnucash
14:58:10 *** kael has quit IRC
14:59:46 *** Guest62 has quit IRC
15:07:49 *** Guest62 has joined #gnucash
15:11:20 * warlord nods
15:28:42 *** jervin has quit IRC
15:38:06 <jralls> fell: I think you should take over answering milotype's questions on https://bugs.gnucash.org/show_bug.cgi?id=797149.
15:39:03 <jralls> fell and warlord: I noticed that there's a section of the gnucash-htdocs Makefile titled "Code to build the Namazu templates". Should it be removed?
15:39:16 <fell> Ok, put it on my list
15:40:13 <warlord> jralls, I'd leave it there for now, just in case...
15:40:40 <fell> I do currently not know, if parts of namazu are still in the source.
15:40:50 <jralls> just in case namazu arises from the dead?
15:41:11 <warlord> well, it is, kinda, still alive, just not in fedora.
15:41:19 <jralls> (Run! Run for your lives! Namazu has arisen!)
15:41:25 <warlord> there was some recent activity on the mailing list.
15:41:48 <fell> warlords hidden projects ;-)
15:41:53 <warlord> LOL
15:44:35 <warlord> So ... why are we arguing on the list about the term "Split"?
15:45:17 <gjanssens> Bikeshedding ?
15:45:39 <gjanssens> Anyway if a decent, less confusing term can be found I'm fine with that
15:45:58 <gjanssens> Apparently a split means different things to some people
15:46:06 *** Guest62 has quit IRC
15:46:24 <warlord> I still don't see how it is confusing. Split as a verb and Split as a noun and Split as an adjective are quite clear.
15:46:37 <gjanssens> Michael brought it up but also said he can work with it now he's got it clear in is head
15:47:02 <gjanssens> Well I'm not native English so I'm the last one to debate any of this :)
15:47:03 <jralls> How about riffing on Dr. Hendry's CO molecule analogy and calling them Leptons?
15:47:11 <gjanssens> LOL
15:48:22 <warlord> Quarks?
15:48:24 <gjanssens> But it seems the confusion stems from the idea that "a split" is the thing between the parts, not the parts that come to life when you split something
15:48:40 <warlord> Yes, that is definitely the confusion, IMHO.
15:48:59 <gjanssens> And gnucash uses the term "split" to refer to the separate parts
15:49:12 <gjanssens> I can understand this to cause confusion
15:49:38 <gjanssens> Though as I said I had to learn the term anyway as we wouldn't use that in Dutch
15:49:53 <gjanssens> And hence I don't experience this confusion myself
15:51:30 <jralls> I think "Entries" is is the closest accounting term. I wouldn't want "ledger entries" (or ledger_entry) because we don't actually use "ledger" anywhere except the "General Ledger".
15:51:50 <jralls> Which is really a journal, but that's a different bicycle.
15:52:12 <gjanssens> Interestingly when I check the Dutch translation, "split" is translated into the equivalent of "ledger entry" ("boekregel") so indeed entry comes closest
15:52:59 <jralls> If "entry" needs disambiguation we could say "account entry" since that's where they actually accumulate.
15:53:21 <gjanssens> We'd have to then disambiguate for ledger entries (as parts of a transaction) and invoice entries (as parts of an invoice)
15:53:32 <gjanssens> Or should that really be "invoice lines" ?
15:54:06 <jralls> "line item" is what I grew up with, but that was in the Navy and accounting there is *wierd*.
15:54:14 <gjanssens> In any case "account entry" does make more sense to me than ledger entry
15:54:54 <gjanssens> Dutch accounting refers to "factuur lijnen" (which I litteraly translated into invoice lines)
15:55:45 <gjanssens> Or "Factuur regels", which brings us back to "entry"
15:56:50 <jralls> My accounting text is too basic, it doesn't go into invoicing.
15:57:33 <fell> From the translators POV I am against changing it. It would require almost a complete rewrite of all .po files
15:58:00 <jralls> But I don't have any trouble with "entry" and disambiguating with account, invoice, bill, whatever when it needs to be disambiguated.
15:59:35 <fell> ... or create an en_US.po
15:59:40 <gjanssens> fell: we could make it a language specific choice to change this or not. I think most languages already have chosen a specific term that fits their culture
16:00:03 *** frakturfreak has joined #gnucash
16:00:41 <gjanssens> We could do a one-time find and replace of the msgid's in all po files at once to avoid the need to retranslate
16:00:44 <jralls> fell: Probably not. It would generate a bunch of msgid changes, but the translations might not change at all.
16:00:50 <warlord> in retrospect I do wish I had used LineItem instead of Entry in the biz features.
16:01:08 *** boldstripe has quit IRC
16:01:10 <gjanssens> warlord: patches welcome ;p
16:01:29 <warlord> LOL. I don't care that much.
16:01:41 <gjanssens> No worries
16:01:43 <warlord> Also, I think most of the confusion is between split(v) and split(n)
16:01:51 <gjanssens> true
16:01:55 <warlord> the verb, to split, vs the noun, a split
16:02:31 <jralls> I think it's more what you said earlier: The split is the gap in between the pieces.
16:02:35 *** boldstripe has joined #gnucash
16:03:16 <gjanssens> which is the bit of a transactoin we're not interested in at all
16:03:23 <gjanssens> we're interested in the pieces
16:03:46 <jralls> So a split transaction is right (though compound would be better because all transactions are split) and it's split into entries.
16:04:18 <gjanssens> I believe that's a decent summary
16:04:19 *** Guest62 has joined #gnucash
16:06:07 <warlord> feel free to respond to my most recent email, then ;)
16:07:04 <gjanssens> Now I strongly suggest we defer the implementation of these changes until more urgent fixes are implemented :D
16:07:12 *** kael has joined #gnucash
16:07:12 *** ChanServ sets mode: +v kael
16:07:32 <jralls> Maybe as part of the eventual rewrite of Split.cpp?
16:07:55 <fell> AFAIK our changes in po files are not merged at the TP. After converting to utf8 we got still several ISO encoded pos from them.
16:10:10 <jralls> Right, they're only interested in the potfile. If their teams don't change the PO it doesn't get changed.
16:10:17 <gjanssens> The eventual rewrite of Split.cpp seems like a very good time to consider this.
16:12:16 <jralls> I was about to say that it's kind of independent of that. The msgids are all over the code base and for the most part are independent of whatever we name the variables.
16:15:13 <jralls> So e.g. the first 6 I came across in gnucash.pot are 1 from dialog-invoice.c and 6 from dialog-sx-editor.c.
16:16:01 <jralls> Then 5 in gnc-plugin-page-register.c (Cut Split, Copy Split, etc.)
16:18:51 <warlord> I think changing the UI in a significantly different way than the code and data file is a way to invite dragons.
16:20:47 <jralls> Maybe.
16:21:01 <gjanssens> That's what I think as well. They can be done independently, but ideally in the same release cycle
16:24:00 <jralls> You wouldn't want it all in one commit, that would be pretty ugly.
16:24:38 <jralls> It will also require a pretty heavy edit of the Help and Guide.
16:24:55 *** Mechtilde has quit IRC
16:25:25 *** Guest62 has quit IRC
16:37:03 <fell> Put it in bugzilla with target year 2200
16:41:05 <gjanssens> :)
16:43:56 <gjanssens> jralls: nice find on the -2 negative content width!
16:44:46 <jralls> Had you been seeing it too? I expected it to be from a very recent Gtk change.
16:45:33 <gjanssens> I have seen it in all of the 3.x releases...
16:45:50 <gjanssens> Never bothered me enough to chase it though
16:47:08 <gjanssens> And tbh I had no clue where it was coming from either
16:47:13 <jralls> That might be a different one, GtkNotebook had a similar warning until recently.
16:53:02 <gjanssens> Oh, perhaps.
16:53:10 <gjanssens> Time for bed.
16:53:13 <gjanssens> Good night!
16:53:27 *** gjanssens has quit IRC
16:55:21 *** fabior has joined #gnucash
16:57:04 <fell> jralls: has GTK no const of function for it?
16:57:40 <jralls> fell: Good question.
17:00:15 *** Mechtilde has joined #gnucash
17:03:19 *** Mechtilde has quit IRC
17:07:52 <jralls> fell: https://trac.wxwidgets.org/ticket/17585 and https://trac.wxwidgets.org/ticket/16088 suggest that it has to do with font sizing. Maybe an absolute number isn't right.
17:10:25 <warlord> GTK is not very const friendly, I dont think.
17:11:31 *** warlord has quit IRC
17:12:15 *** warlord has joined #gnucash
17:12:15 *** gncbot sets mode: +o warlord
17:17:04 *** calvinct has joined #gnucash
17:31:26 *** KaiForce has quit IRC
18:00:37 <chris> jralls thanks for reviewing #471 hope that wasn't too painful!
18:00:42 *** Guest62 has joined #gnucash
18:01:13 *** calvinct has quit IRC
18:02:20 *** boldstripe has quit IRC
18:02:50 *** calvinct has joined #gnucash
18:03:46 *** boldstripe has joined #gnucash
18:11:33 <chris> fell yyyy-mm-00 is impossible because we're using a date-picker
18:13:09 <fell> chris , how about adding a button "Last of"?
18:15:27 *** Mechtilde has joined #gnucash
18:16:41 <chris> see bug - add option in every report which uses a date picker? no.
18:18:30 *** Mechtilde has quit IRC
18:18:57 *** fabior has quit IRC
18:26:26 *** calvinct has quit IRC
18:30:32 *** calvinct has joined #gnucash
18:35:30 *** calvinct has quit IRC
18:44:54 <fell> In OO I would dirrive a financial-date-picker, which allows the additional value "ultimo". ;-)
18:45:16 <fell> derive
19:01:25 <jralls> chris: No, very nice in fact. Much cleaner code.
19:02:03 *** frakturfreak has quit IRC
19:11:18 *** kael has quit IRC
19:18:53 *** Guest62 has quit IRC
19:26:02 <fell> @tell gjanssens The translatable entities in gnc-docbookx.dtd are problematic. Do we really want the translators edit it? But perhaps there is some ITS solution.
19:26:02 <gncbot> fell: The operation succeeded.
19:28:03 *** Guest62 has joined #gnucash
19:40:12 *** Guest62 has quit IRC
19:41:11 *** lmurph has joined #gnucash
19:41:11 *** ChanServ sets mode: +v lmurph
19:41:11 *** Guest62 has joined #gnucash
19:43:01 <lmurph> g
19:43:41 *** lmurph has quit IRC
19:51:09 *** Guest62 has quit IRC
19:52:42 *** Guest62 has joined #gnucash
20:03:31 *** boldstripe has quit IRC
20:04:50 <fell> In the commit message of merge, should I keep or remove the Conflicts: section?
20:04:56 *** boldstripe has joined #gnucash
20:06:23 <jralls> fell: If you've resolved the conflicts (and of course you should) and you're using an older git that doesn't put the conflicts in comments then you should remove them.
20:06:52 *** ArtGravity has quit IRC
20:08:38 *** Guest62 has quit IRC
20:11:58 *** Guest62 has joined #gnucash
20:17:56 <fell> while I have git version 2.21.0, Eclipses Git does not comment them.
20:22:38 *** Guest62 has quit IRC
20:30:50 *** Guest62 has joined #gnucash
20:36:54 *** nimish2711 has joined #gnucash
20:38:58 *** Aussie_matt has quit IRC
20:54:58 *** Guest62 has quit IRC
21:14:59 *** marusich has joined #gnucash
21:14:59 *** ChanServ sets mode: +v marusich
21:18:35 <fell> jralls: you opinion on https://github.com/Gnucash/gnucash-htdocs/pull/22/commits/e4e6cd25cae93b5d7e76daeaa9a0f8ebd44e71e8
21:19:13 <fell> If you have a hammer everything looks like a nail. ;-)
22:02:33 *** fell has quit IRC
22:03:01 *** fell has joined #gnucash
22:03:01 *** ChanServ sets mode: +o fell
22:04:41 *** boldstripe has quit IRC
22:06:07 *** boldstripe has joined #gnucash
22:20:59 *** oozer has quit IRC
23:17:36 *** nimish2711 has quit IRC