2014-04-26 GnuCash IRC logs
00:07:05 *** amjam has joined #gnucash
00:07:24 *** jmd has joined #gnucash
00:15:17 *** jimvideo has quit IRC
00:22:40 *** jmd has quit IRC
00:33:36 *** jmd has joined #gnucash
01:06:06 *** amjam has quit IRC
01:21:52 *** fell has quit IRC
02:00:16 *** jmd has quit IRC
02:02:21 *** MechtiIde has joined #gnucash
02:11:46 *** jmd has joined #gnucash
02:53:55 *** gjanssens has joined #gnucash
02:53:55 *** gncbot sets mode: +o gjanssens
03:21:58 *** SteveG has joined #gnucash
03:28:14 *** jmd has quit IRC
03:29:09 *** TradeBorG11111 has joined #gnucash
03:57:53 *** SteveG has quit IRC
04:03:29 *** wol has joined #gnucash
04:24:52 *** wafflejock_ has quit IRC
04:44:57 *** wol has quit IRC
04:45:02 *** wol has joined #gnucash
05:05:07 *** jralls has quit IRC
05:10:04 *** aqua___ has joined #gnucash
05:19:54 *** SteveG has joined #gnucash
05:24:20 *** floh1111 has joined #gnucash
05:28:47 *** floh1111_ has joined #gnucash
05:33:58 *** floh1111 has quit IRC
05:53:08 *** StuM has quit IRC
06:08:17 *** SteveG has quit IRC
06:11:26 <mlq> Is there a shortcut to navigate between accounts pretty fast? Like a fuzzy search?
06:16:58 *** SteveG has joined #gnucash
07:21:16 *** aqua___ has quit IRC
07:43:22 *** floh1111_ has quit IRC
07:46:08 <warlord> mlq: not sure what you mean by "navigate between accounts"
07:48:33 *** wol has quit IRC
07:56:32 *** SteveG has quit IRC
07:56:32 *** gjanssens has quit IRC
07:56:32 *** DarkSi35 has quit IRC
07:56:32 *** hhn10 has quit IRC
07:56:32 *** wizkid238 has quit IRC
08:24:24 *** gncbot has joined #gnucash
08:25:25 *** SteveG has joined #gnucash
08:25:28 *** Mogget has joined #gnucash
08:29:35 *** MechtiIde has quit IRC
08:33:03 *** jmd has joined #gnucash
08:52:14 *** wol has joined #gnucash
09:16:53 *** MechtiIde has joined #gnucash
09:23:34 *** Jimraehl1 has joined #gnucash
09:29:15 *** wol has quit IRC
09:33:39 *** Jimraehl1 has quit IRC
09:54:08 *** SteveG has quit IRC
10:25:55 *** MechtiIde has quit IRC
10:52:28 *** MechtiIde has joined #gnucash
11:00:21 *** amjam has joined #gnucash
11:18:44 *** amjam has quit IRC
11:24:31 *** gjanssens sets mode: +o gncbot
11:24:40 *** gjanssens sets mode: +o fell
11:24:51 *** gjanssens sets mode: +o mikee
11:57:03 *** jralls has joined #gnucash
12:15:11 *** Bodhi-Baum has joined #gnucash
12:19:09 *** MechtiIde has quit IRC
12:28:29 <jralls> gjanssens: RE your last mail about the C++ errors: Did you configure with --disable-compile-warnings and get the gnc-numeric.c needed by gnc-numeric.lo error?
12:29:56 <gjanssens> jralls: I didn't use --disable-compile-warnings. From the mail messages I didn't conclude I should have.
12:30:28 <gjanssens> By the way I was in the process of installing clang because I was curious about it
12:30:43 <gjanssens> How to I make configure select clang over gcc ?
12:30:56 <jralls> The bit about running make distclean was directed at Jeff Earickson, who had disabled it and got the error I mentioned.
12:32:11 <jralls> The easiest way is to set $CC and $CXX to clang. You can do that with an export or by putting those definitions at the *end* of the configure command after all of the options.
12:33:07 <gjanssens> Ok let me try with clang
12:34:50 <jralls> I don't think that will make any difference here, though. -Wdeclaration-after-statement would warn about a significant C++ feature, the ability to put declarations where ever you want them.
12:35:37 <jralls> The problem is that --enable-compile-warnings wasn't in my canned set of configure options.
12:38:42 <jralls> But I'm wrong. Just tried, Clang is apparently smart enough to ignore it.
12:45:57 <gjanssens> Oh well, didn't get very far with clang either:
12:46:15 <gjanssens> In stf already: /usr/include/features.h:327:4: error: _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror,-W#warnings]
12:46:46 <gjanssens> I'll just wait this gets sorted
13:18:03 *** ErKa has joined #gnucash
13:19:03 <jralls> gjanssens: I put a patch on the bug which fixes the errors problem.
13:20:14 <jralls> I got the same strrchr error with F18 that Herbert Thoma got, so I guess I've got to const_cast those. Building now to see if there's anything else.
13:22:16 *** Bodhi-Baum has quit IRC
13:22:21 <mlq> I've exported the account structure (with File -> Export -> Export Accounts) and if I want to import accounts on the android app, it does not list the exported file. Is a certain name required for the file? (Its called accounts,gnucash)
13:22:26 *** MechtiIde has joined #gnucash
13:25:50 <jralls> mlq: Only Ngewi knows anything about the android app, and he doesn't come here. Try the user's list.
13:26:08 <mlq> jralls: Okay, thanks!
13:36:28 *** jmd has quit IRC
14:16:43 *** aqua___ has joined #gnucash
14:20:42 <jralls> gjanssens: Got it to build and check OK on F18, trying Win32 now. Changes are pushed, go ahead and try when you have time.
14:22:01 <jralls> I'm going for a bike ride while the win32 build grinds through (locally, so it won't take 6 hours).
14:25:16 <gjanssens> :)
14:25:23 <gjanssens> I'll check it out later this evening
14:33:15 *** aqua___ has quit IRC
14:37:08 * gjanssens got past qof build already... good !
14:37:17 *** wafflejock has joined #gnucash
14:37:40 <gjanssens> jralls: I notice your patch adds -lprofile in src/bin/Makefile.am
14:37:43 <gjanssens> Is that intentional ?
14:42:01 *** jralls has quit IRC
15:03:00 *** jmd has joined #gnucash
15:24:30 *** jralls has joined #gnucash
15:29:27 <jralls> gjanssens: No, at least not yet, and I want to wrap that with an --enable. It's for https://code.google.com/p/gperftools/ profiler, which looks like an excellent way to profile on all three platforms.
15:29:53 <gjanssens> Ok
15:30:18 <gjanssens> I got errors in engine/test with your latest patches (see the bug report)
15:30:32 <gjanssens> Started from a clean build directory
15:34:38 *** ErKa has quit IRC
15:43:21 <jralls> That's a bit odd. The flag for clang, which is in engine/test/Makefile.am, is -Wno-deprecated-writable-strings, and that seems to have worked on F18's gcc-4.7. For your system it would seem to be -Wno-write-strings. I guess it's easier to fix the strings assignment than to mess around with figuring out what flag to use.
15:47:20 <gjanssens> My system is gcc-4.8.2 if you want to know
15:47:21 <jralls> Naturally there were a few more issues in the windows code as well. Fixed, I think, and restarted. BIAB.
15:53:13 <gjanssens> BTW I watched the microsoft movie you referred to in bug 722903
15:53:28 <gjanssens> Very enlightning
15:54:04 <gjanssens> It never occured to me how much impact the data format in memory could have on performance
15:54:55 <gjanssens> The video also reminded me how my limited knowledge of c++ is so... well, nineties
15:55:29 <gjanssens> I have no notion at all of the improvements to the language that have gradually been added
15:56:04 <gjanssens> How much of these new things do you think to use ?
15:56:25 <gjanssens> Should we set a baseline, like C++11 or so ?
15:57:21 * gjanssens also needs to find some good primer or introduction to modern c++
15:57:46 <gjanssens> The presenter touched upon unique_ptr and shared_ptr
15:58:15 <gjanssens> Never heard of so far, so it'd be good if I got into some more modern c++ features
16:07:27 *** jralls has quit IRC
16:10:57 *** jralls_ has joined #gnucash
16:11:59 *** jralls_ is now known as jralls
16:12:10 <jralls> @op
16:12:10 <gncbot> jralls: 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.
16:12:54 <jralls> @op
16:12:55 *** gncbot sets mode: +o jralls
16:13:52 *** amjam has joined #gnucash
16:16:56 *** MechtiIde has quit IRC
16:20:20 <jralls> gjanssens: Depending on your tolerance for technical detail or need for gentle introductions, https://www.worldcat.org/title/c-programming-language/oclc/851034713?referer=br&ht=edition or https://www.worldcat.org/title/c-primer/oclc/835593807?referer=di&ht=edition are the best choices.
16:25:16 <jralls> As for what to use, I think we can start with requiring C++0x and see if we need to go to C++11 or C++14. There's also a new feature in the pipeline that Sutter mentioned in one of his examples, "concepts". That's supposed to be a better form of templates, but I don't know what version of gcc supports it yet.
16:26:45 <jralls> That's the rub, of course: The later the version of C++ that we require, the newer the compiler you need to build it, and for most people the newer the distro you need to supply the compiler.
16:28:26 <jralls> Doesn't apply to you, Christian, Mike A, or me. We can build a compiler from source if we need to... though gcc-4.8 is giving me fits right now because I want to build it against the OSX 10.5 SDK and it's not cooperating. Built just fine with the 10.9 SDK, though.
16:37:14 <gjanssens> Well, I don't even know what features were introduced when so there's not much for me to help decide here :)
16:37:37 <gjanssens> I'll take your commits as my tutorial :)
16:37:40 <Simon> how well do you expect gnucash to work with accounts nested 471 levels deep?
16:37:58 <jralls> Simon: Slowly. ;-)
16:38:49 <Simon> gnucash has been slow for me for a while whenever it saves any sort of change to a transaction
16:39:28 <Simon> for some reason I have 470 un-named accounts of type "ROOT" in a tree and at the final level an un-named account of type "BANK": http://s85.org/gOW4E1kp
16:39:44 <Simon> none of these show up in the account list
16:40:42 <Simon> there are other children of 314dac936cc2f955fee9ee2ee86c68de too
16:41:20 <jralls> 470 levels of type ROOT is another matter entirely. I wouldn't expect that to work at all. There should be only one root, and it shouldn't be visible.
16:41:35 <gjanssens> Wow how did those get there ?
16:42:08 <gjanssens> BTW what did you generate that list with ?
16:42:08 <Simon> I have no diea
16:42:11 <Simon> python
16:42:20 <gjanssens> Ok
16:42:27 <Simon> I have 471 ROOT accounts in my xml file
16:42:29 *** amjam has quit IRC
16:42:54 <Simon> curiously I have two Orphan-GBP accounts
16:43:33 <Simon> one of them is a child of the true ROOT and the other is a child of the top-level false ROOT
16:44:22 * gjanssens checked one of his gnucash files
16:44:29 <gjanssens> There are 16 ROOT's in there
16:44:34 <gjanssens> Not good...
16:45:39 <Simon> I store my gnucash xml file in git... it would take a very long time to calculate but I could determine if they all appeared at the same time
16:50:43 *** amjam has joined #gnucash
16:52:15 <Simon> actually, git blame should be able to do this
16:52:48 *** jmd has quit IRC
16:58:13 <Simon> the top level fake ROOT 314dac936cc2f955fee9ee2ee86c68de has 13 children
17:00:34 <Simon> only one of them appears to have gone crazy: http://s85.org/0WqBR1Bz
17:02:27 <Simon> they all have <act:name/> so if git blame finishes any time soon I should be able to tell if they used to have a name
17:05:29 <Simon> there's a ROOT in the middle somewhere with 2 ROOT children
17:05:30 <jralls> Looked at a couple of my files, found only 2 ROOT accounts in each: One of them is named Template Root.
17:06:01 <Simon> and another one with 5 children
17:06:58 *** TradeBorG11111 has quit IRC
17:12:15 <Simon> graphviz is unable to cope with this...
17:15:15 <Simon> https://bugzilla.gnome.org/show_bug.cgi?id=569735
17:16:23 <jralls> That's a really old bug. What version of GnuCash are you using?
17:16:35 <Simon> 2.4.12
17:16:58 <Simon> but the fix for that bug does not correct the mess of old root accounts
17:22:17 <Simon> so I should name 314dac936cc2f955fee9ee2ee86c68de "Template Root" and then reparent everything below it so that it has 314dac936cc2f955fee9ee2ee86c68de as the parent?
17:22:27 <Simon> removing all the extra ROOT accounts in the process?
17:25:00 *** SteveG has joined #gnucash
17:29:57 <jralls> Right, but it should have prevented you getting the mess in the first place. It went in to 2.2.9.
17:30:18 <jralls> It's worth a try, but make a backup first.
17:31:13 <Simon> I've been using gnucash for a while
17:33:16 <Simon> my first date-entered is in 2006, so I've probably been using the version(s) with that bug long enough to make 469 extra accounts
17:36:08 <Simon> 383 of them were present when I started using git to track it in 2008, the last 3 were created 2009-02-26
17:36:27 <jralls> My first entry is 2001-10-18 07:13:52, and I've only got one Template Root.
17:37:01 <gjanssens> And did you have SX's back then ?
17:37:52 <Simon> presumably the bug hasn't existed forever
17:38:28 <jralls> No. Min start_date in schedxactions is 2010-04-01, so I dodged that bullet.
17:38:52 *** Bodhi-Baum has joined #gnucash
17:40:50 <gjanssens> Yep
17:49:00 <Simon> aah - these are all under gnc:template-transactions
17:50:37 <Simon> if I hadn't searched for all gnc:account everywhere I wouldn't have seen them
18:22:34 <Simon> is gnucash unable to parse the file if the namespace names aren't what it expects? :/
18:24:29 <Simon> if I read the file with ElementTree and then write it, gnucash can't open it
18:42:11 *** SteveG has quit IRC
18:42:38 <Simon> well, that wasn't the cause of the slowdown but I think opening scheduled transactions is faster now
18:45:12 <jralls> Simon: Are you using Microsoft Windows?
18:45:55 <Simon> gjanssens: https://bug569735.bugzilla-attachments.gnome.org/attachment.cgi?id=275240 should fix your XML file (you need to load and save it with GnuCash to get it back into the original XML format)
18:45:56 <Simon> jralls: no
18:48:55 *** fell_ has joined #gnucash
18:48:55 *** gncbot sets mode: +o fell_
18:51:14 *** SteveG has joined #gnucash
18:51:40 <jralls> Then it's mostly the size of the file and the safety checks we put in to prevent writing bad XML.
18:56:25 *** wafflejock has quit IRC
18:57:57 *** fell has quit IRC
19:10:19 *** StuM has joined #gnucash
19:33:05 *** MrLurker has joined #gnucash
19:35:49 *** MrLurker has quit IRC
19:52:47 *** SteveG has quit IRC
20:12:06 *** jimvideo has joined #gnucash
20:37:57 *** ErKa has joined #gnucash
21:19:13 *** amjam has quit IRC
21:35:12 *** jralls has quit IRC
21:55:54 *** jimvideo_again has joined #gnucash
22:04:38 *** jimvideo has quit IRC
22:07:13 *** jralls has joined #gnucash
22:07:14 *** gncbot sets mode: +o jralls
22:39:52 *** StuM has quit IRC
22:57:05 *** jralls has quit IRC
22:57:26 *** StuM has joined #gnucash
23:16:51 *** jralls has joined #gnucash
23:16:52 *** gncbot sets mode: +o jralls
23:41:26 *** jralls has quit IRC
23:51:27 *** ErKa has quit IRC
23:56:38 *** fell_ has quit IRC
23:57:43 *** fell has joined #gnucash
23:57:44 *** gncbot sets mode: +o fell