2020-06-20 GnuCash IRC logs

00:03:15 *** Mechtilde has joined #gnucash
00:13:18 *** omnireq_ has joined #gnucash
00:13:58 *** omnireq__ has quit IRC
00:34:35 *** omnireq_ has quit IRC
00:34:46 *** omnireq_ has joined #gnucash
00:50:57 *** craigbass76 has joined #gnucash
00:53:48 <craigbass76> I am wondering if GNUCash will help... My wife is a social worker. She's currently using Quickbooks (I know -- perish the thought!) to keep track of her clients' social security income, and their spending. I talked to her about PostBooks, then found out tonight that (it looks like) they're no longer open-source. Can she, using GNUCash, keep track of deposits/withdrawals? Is there any kind of direct banking data transfer (if the bank in question has
00:53:48 <craigbass76> any kind of API)?
01:00:05 *** omnireq_ has quit IRC
01:00:16 *** omnireq_ has joined #gnucash
01:07:56 *** dtux has quit IRC
01:26:33 *** sbluhm has joined #gnucash
01:26:33 *** ChanServ sets mode: +v sbluhm
01:30:12 *** storyjesse has joined #gnucash
01:42:05 *** omnireq_ has quit IRC
01:42:17 *** omnireq_ has joined #gnucash
01:52:03 *** sbluhm has quit IRC
01:57:17 *** fell has quit IRC
01:58:36 *** fell has joined #gnucash
01:58:37 *** ChanServ sets mode: +o fell
02:02:10 *** omnireq_ has quit IRC
02:26:05 *** shaggy has quit IRC
02:46:48 *** frakturfreak has joined #gnucash
03:02:46 *** suukim has joined #gnucash
03:08:39 *** bertbob has quit IRC
03:22:14 *** bertbob has joined #gnucash
03:22:15 *** ChanServ sets mode: +v bertbob
03:32:39 *** tverrbjelke has joined #gnucash
04:33:48 *** Aussie_matt has joined #gnucash
04:52:35 *** phoenix has joined #gnucash
04:53:48 *** Aussie_matt has quit IRC
04:58:27 *** phoenix has quit IRC
05:04:04 <fell> craigbass76: https://wiki.gnucash.org/wiki/AqBanking
05:29:32 *** tverrbjelke has quit IRC
05:31:17 *** User_ has joined #gnucash
05:38:20 *** angel has joined #gnucash
05:43:56 *** tverrbjelke has joined #gnucash
06:14:30 *** angel has quit IRC
06:14:42 *** angel has joined #gnucash
06:57:42 *** Aussie_matt has joined #gnucash
07:09:20 *** storyjesse has quit IRC
07:27:54 *** User_ has quit IRC
07:30:31 *** Jimraehl1 has joined #gnucash
07:31:15 *** Jimraehl1 has quit IRC
07:45:52 *** tverrbjelke has quit IRC
07:55:33 *** angel has quit IRC
08:06:01 *** gjanssens has joined #gnucash
08:06:01 *** ChanServ sets mode: +o gjanssens
08:46:49 <finster> short accounting question: is it from an accounting perspective valid to book negative amounts to an expense account? or would one always have to have a corresponding income account?
08:48:25 *** Mechtilde has quit IRC
08:49:43 *** Mechtilde has joined #gnucash
08:49:56 <finster> say one does have a monthly payment for power supply, but at the end of a year there was paid too much and the provider returns money. is that, from an accounting perspecitve an income or a negative expense?
08:51:24 <Simon> personally I enter a negative expense
08:52:46 <warlord> finster, I book store-returns as negative expense (generally back to the CC where the store credited me)
08:54:30 <finster> alright, thanks for you input!
08:54:55 <finster> I think i'll go with negative expenses then
09:03:37 <fell> That is right, if you are a pure power consumer.
09:05:05 <fell> If you have your own small solar power plant, you have to look in your regional corresponding law.
09:10:25 *** Mechtilde has quit IRC
09:12:06 *** sbluhm has joined #gnucash
09:12:06 *** ChanServ sets mode: +v sbluhm
09:23:13 *** Mechtilde has joined #gnucash
09:26:14 *** Mechtilde has quit IRC
09:39:18 *** frakturfreak has quit IRC
09:44:12 *** Agfarmer18 has joined #gnucash
09:45:06 *** sbluhm has quit IRC
10:02:20 *** Agfarmer18 has quit IRC
10:21:35 *** FH_thecat has quit IRC
10:21:49 *** FH_thecat has joined #gnucash
10:22:55 *** FH_thecat has quit IRC
10:23:16 *** FH_thecat has joined #gnucash
10:29:52 *** sbluhm has joined #gnucash
10:34:52 *** User_ has joined #gnucash
10:41:30 <fell> gjanssens, jralls: in case we get translations for 3.11, we should fork a 3.11 branch. Else merges will become cumbersome.
10:43:25 <fell> Then we can merge maint in master and 3.11 without problems.
11:18:05 *** Aussie_matt has quit IRC
11:19:16 *** Mechtilde has joined #gnucash
11:43:18 *** sbluhm has quit IRC
11:43:39 *** sbluhm has joined #gnucash
11:43:39 *** ChanServ sets mode: +v sbluhm
11:52:00 <jralls> fell, I'd think the risk of new translations for 3.11 is pretty low, but regardless the merge is straightforward: `git merge -s theirs master` from maint resolves all conflicts by using the master version.
11:57:27 *** Hirppa has joined #gnucash
12:02:55 *** tverrbjelke has joined #gnucash
12:24:54 *** sbluhm has quit IRC
12:27:10 *** FH_thecat has quit IRC
12:27:34 *** FH_thecat has joined #gnucash
13:10:06 *** codesmythe has joined #gnucash
13:10:06 *** ChanServ sets mode: +v codesmythe
13:24:32 *** bertbob has quit IRC
13:25:43 *** suukim has quit IRC
13:31:30 *** bertbob has joined #gnucash
13:31:30 *** ChanServ sets mode: +v bertbob
13:49:31 *** sbluhm has joined #gnucash
13:49:31 *** ChanServ sets mode: +v sbluhm
13:50:09 *** shaggy has joined #gnucash
13:52:01 *** David has quit IRC
13:52:05 *** David has joined #gnucash
14:07:24 *** dtux has joined #gnucash
14:25:13 *** TownsendHardware has joined #gnucash
14:31:57 *** frakturfreak has joined #gnucash
14:31:57 *** ChanServ sets mode: +v frakturfreak
14:35:52 *** TownsendHardware has quit IRC
15:27:13 *** craigbass76 has quit IRC
15:58:29 *** User_ has quit IRC
16:09:20 <CDB-Man> chris: i'm working on my GAAP 3 and 4 examples today, hopefully by the time you wake up, ill have something ready
16:11:18 *** tverrbjelke has quit IRC
16:17:26 <jralls> gjanssens, have you come to any conclusions about the remaining items on https://bugs.gnucash.org/show_bug.cgi?id=797800?
16:30:45 *** sbluhm has quit IRC
16:40:48 <jralls> fell, So I'm wrong. Sort of. There is a new uk.po for 3.10 but copying it in reverses the changes you made in fb18e457b4 so I have to copy it into a branch, merge it, and fix the hundreds of conflicts.
16:43:46 *** JayC has quit IRC
16:50:12 *** JayC has joined #gnucash
16:50:12 *** ChanServ sets mode: +v JayC
17:23:36 <gjanssens> jralls: sorry no. I have had no time at all this week to look at that.
17:24:19 <jralls> OK.
17:24:26 *** Mechtilde has quit IRC
17:28:06 <gjanssens> What I wanted to double-check is whether "--logto='=info'" is a valid qof_log statement. I never noticed that in the help message, but as it's there it's probably valid or at least it was at some point.
17:28:57 <gjanssens> But not right now. I'm going to bed...
17:28:59 <gjanssens> Bye!
17:29:22 <jralls> 'Night.
17:30:57 *** gjanssens has quit IRC
17:50:08 *** phoenix has joined #gnucash
18:10:31 *** jralls_afk has joined #gnucash
18:10:31 *** ChanServ sets mode: +o jralls_afk
18:11:28 *** jralls has quit IRC
18:42:13 *** jralls_afk is now known as jralls
18:55:41 <fell> to remove much noise from merging would be remove refs, sort byy msgid, git-merge, msgmerge refs again.
19:11:33 <jralls> fell, Huh?
19:12:47 <jralls> And what are you using to break the lines in the msgids and msgstrs? That's a huge source of diffs in uk.po because the TP tools don't do that.
19:15:14 <jralls> chris, your summary in 0b386157 uses a double negative: "[business-core] string-hash doesn't not guarantee unique hash". It looks from the rest that it's not intentional. Is it?
19:15:53 <fell> no, it is done with msg* tools. They know the po format.
19:22:49 *** warlord has quit IRC
19:23:09 <jralls> What msg-tool? Is it an option to msgfmt?
19:34:59 *** craigbass76 has joined #gnucash
19:53:57 <fell> jralls: enter 'msg[TAB][TAB]
19:58:37 <jralls> I know how to get a list of msg-foo. I don't see options in any of those that will convert a long msgid or msgstr from a single long line to multiple ~70 column lines.
20:00:04 <fell> some have a -w parameter
20:00:19 <fell> e.g. msgmerge
20:00:58 <fell> and it has a default IIRC
20:01:46 <fell> it has also --no-location/--add-location
20:06:58 <jralls> OK. Interestingly -w is incompatible with -U: If you specify -w -U it will still write the result to stdout unless you specify -o filename.
20:09:11 *** warlord has joined #gnucash
20:09:39 <fell> I believe -w has a well choosen default
20:10:42 <fell> the counterpart is --no-wrap
20:11:27 <jralls> If you're going to use emacs to edit it I suppose. I doubt many translators do that, though. Does poedit like the strings wrapped? (And at least on my Fedora VM --nowrap is the default.)
20:12:54 <fell> Did we set it somewhere in po?
20:15:38 <jralls> No invocations of either msgmerge or msgfmt in po. Maybe you've set an alias in your shell?
20:16:45 <fell> po/Makevar contains several settings ...
20:18:18 <jralls> Only for xgettext.
20:19:03 <jralls> And I think it's obsolete, CMakeLists.txt has its own xgettext invocation with all of the keywords listed.
20:20:25 <fell> configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Makevars ...
20:23:39 <fell> very old gettext packages had no Makevars, so some are still as params in CMakeLIsts.txt
20:27:13 <jralls> https://www.gnu.org/software/gettext/manual/html_node/po_002fMakevars.html says "po/Makevars gets inserted into the po/Makefile when the latter is created." We don't use Makefile.in.in any more, therefore Makevars is indeed obsolete.
20:29:49 <jralls> The actual xgettext invocation is in po/gnucash-pot.cmake.
20:40:08 <fell> I wonder what will happen, if we use CMake's FindGettext¶
20:42:24 <jralls> We do, via find_package in the main CMakeLists.txt at line 249.
20:43:19 <fell> and its macros
20:44:06 *** bertbob has quit IRC
20:45:23 *** jervin has joined #gnucash
20:48:38 *** bertbob has joined #gnucash
20:48:38 *** ChanServ sets mode: +v bertbob
20:50:33 <jralls> GETTEXT_CREATE_TRANSLATIONS might work OK. I'm not sure that the other two do anything that we want.
20:58:35 <fell> In https://www.gnu.org/software/gettext/manual/html_node/Translations-under-Version-Control.html#Translations-under-Version-Control they say run msgmerge --no-location before the git merge and msgmerge afterwaeds.
21:01:38 *** jervin has quit IRC
21:02:27 <jralls> That's not what it says. It says that one can use --no-location to suppress the location information and reduce jitter in the potfile but it will irritate the translators because they need that information.
21:03:01 <jralls> That aside, that advice only makes sense if one version-controls the potfile. We don't, it's a build product.
21:10:10 <fell> git checkout en_GB;make pot; msgmerge --no-location...;git commit; git checkout maint; make pot; msgmerge--no-location...;git merge en_GB;msgmerge...
21:11:37 <fell> git commit [again]
21:12:56 <jralls> Dinner time. Good Night!
21:20:18 <fell> Good NIght!
21:23:12 <fell> The overview for msg*: https://www.gnu.org/software/gettext/manual/html_node/Manipulating.html#Manipulating
21:30:40 *** frakturfreak has quit IRC
21:33:55 *** jost has quit IRC
21:41:50 *** TownsendHardware has joined #gnucash
21:47:55 *** jost has joined #gnucash
21:48:28 *** TownsendHardware has quit IRC
22:01:15 <fell> jralls:
22:01:16 <fell> FAILED: po/uk.mo
22:01:18 <fell> cd /home/frank/git/gnucash/src/maint/build/Debug/po && /usr/bin/cmake -E env /usr/bin/msgfmt -o uk.mo /home/frank/git/gnucash/src/maint/po/uk.po
22:01:19 <fell> /home/frank/git/gnucash/src/maint/po/uk.po:18412: Mehrfachdefinition der Meldung...
22:01:21 <fell> /home/frank/git/gnucash/src/maint/po/uk.po:18409: ...dies ist die Stelle der ersten Definition
22:07:30 <chris> jralls: I think it's fine? "using string-hash can cause hash collisions"
22:08:54 <fell> Chris: May be, but not po files.
22:09:38 <chris> CDB-Man: make sure to annotate formulas!
22:09:53 <chris> fell huh
22:09:56 <CDB-Man> after i get them to work first, lol
22:10:08 <chris> *if* it can work lol
22:10:52 <chris> CDB-Man: technically you are creating an excellent test-case for refactoring the price calculators
22:11:09 <chris> ... and code *could* be modified to pass the test
22:15:17 <chris> @tell gjanssens - the gnucash-cli can specify report by guid too. is it a code smell to leave the arg as is? "gnucash-cli -R show -guid GUID" would be more exact but I don't think is necessary
22:15:17 <gncbot> chris: The operation succeeded.
22:16:46 *** chris has quit IRC
22:16:55 *** chris has joined #gnucash
22:16:55 *** ChanServ sets mode: +v chris
22:26:19 <CDB-Man> chris: how much longer you around for before you need to go off for the day to do things?
22:30:23 <chris> hmm 20mins
22:31:54 <CDB-Man> OK, I will upload GAAP 3 shortly then...
22:31:57 <CDB-Man> GAAP 4 will tkae a bit more
22:41:13 <CDB-Man> chris: just uploaded a file into 797796
22:41:22 <CDB-Man> take a look and let me know if question/comments
22:44:47 *** chris1 has joined #gnucash
22:46:18 <CDB-Man> hmm, maybe i should have uploaded it into 797806
22:47:26 <CDB-Man> though again, its really hard to isolutate the issues
22:48:19 <chris> without diving too deep into this there are two issues:
22:48:35 <chris> 1) the price-calculators aka commodity-utilities.scm aka creating a reasonable Fx rates list
22:48:53 <chris> 2) the balsheet & pnl and portfolio report
22:49:30 <chris> with .xls we can try make a customized report
22:49:40 <chris> but we still need to consider how to construct the Fx rates list?
22:49:42 <CDB-Man> one issue is that gnucash does not distinguish between fx gains vs price gains on stocks
22:49:59 <CDB-Man> but IFRS sure does
22:50:04 <CDB-Man> and US GAAP
22:50:36 <CDB-Man> that we are doing both in hybrid makes things more difficult
22:51:25 <CDB-Man> example 4 will factor in trading accounts
22:51:31 <CDB-Man> to bring the xample closer to gnucash
22:51:43 <CDB-Man> currently example 3 is purely "what does GAAP look like"
22:51:53 <CDB-Man> without consideration for the "reality" that is gnucash
22:54:49 <chris> to make the test more robust it would useful to upload the .gnucash file as well
22:55:47 <CDB-Man> i need to wrap my head around it in excel
22:55:48 <CDB-Man> first
22:55:52 <CDB-Man> before i can generate a gnucash
22:56:19 <CDB-Man> mainly because of the limitation that gnucash doesnt differntiate between currency and price gains
23:01:40 *** Aussie_matt has joined #gnucash
23:34:02 *** dtux has quit IRC
23:35:20 <fell> jralls: I fear, you have to retag the release.msgfmt uk.po
23:36:52 <fell> oops, never mind. I wanted to backspace the line, but had too short arms.
23:37:27 <fell> Time to sleep!
23:38:02 *** David has quit IRC
23:38:06 *** David has joined #gnucash
23:38:26 *** storyjesse has joined #gnucash
23:55:41 *** Aussie_matt has quit IRC