2014-01-19 GnuCash IRC logs

00:02:52 *** Rebootus has quit IRC
00:03:25 *** Rebootus has joined #gnucash
00:10:30 *** Rebootus has quit IRC
00:11:03 *** Rebootus has joined #gnucash
00:23:07 *** Rebootus has quit IRC
00:23:40 *** Rebootus has joined #gnucash
00:30:43 *** Rebootus has quit IRC
00:31:16 *** Rebootus has joined #gnucash
00:41:45 *** Ard0nik has joined #gnucash
00:48:28 *** Rebootus has quit IRC
00:49:01 *** Rebootus has joined #gnucash
00:49:57 *** Ardonik has quit IRC
00:53:17 *** fell has quit IRC
01:01:11 *** Rebootus has quit IRC
01:01:46 *** Rebootus has joined #gnucash
01:10:54 *** LiamH has quit IRC
01:18:59 *** Rebootus has quit IRC
01:19:32 *** Rebootus has joined #gnucash
01:26:39 *** Rebootus has quit IRC
01:27:12 *** Rebootus has joined #gnucash
01:34:16 *** Rebootus has quit IRC
01:34:49 *** Rebootus has joined #gnucash
01:41:54 *** Rebootus has quit IRC
01:42:27 *** Rebootus has joined #gnucash
01:49:35 *** Rebootus has quit IRC
01:50:08 *** Rebootus has joined #gnucash
02:02:15 *** Rebootus has quit IRC
02:02:48 *** Rebootus has joined #gnucash
02:09:54 *** Rebootus has quit IRC
02:10:26 *** Rebootus has joined #gnucash
02:22:33 *** Rebootus has quit IRC
02:23:05 *** Rebootus has joined #gnucash
02:35:08 *** Rebootus has quit IRC
02:35:41 *** Rebootus has joined #gnucash
02:52:50 *** Rebootus has quit IRC
02:53:22 *** Rebootus has joined #gnucash
03:00:27 *** Rebootus has quit IRC
03:01:00 *** Rebootus has joined #gnucash
03:13:04 *** Rebootus has quit IRC
03:13:37 *** Rebootus has joined #gnucash
03:25:44 *** Rebootus has quit IRC
03:26:17 *** Rebootus has joined #gnucash
03:33:19 *** Rebootus has quit IRC
03:33:52 *** Rebootus has joined #gnucash
03:35:55 *** jmd has joined #gnucash
03:40:58 *** Rebootus has quit IRC
03:41:31 *** Rebootus has joined #gnucash
03:48:37 *** Rebootus has quit IRC
03:49:08 *** Rebootus has joined #gnucash
04:06:04 *** jmd has quit IRC
04:09:31 *** jralls has quit IRC
04:10:42 *** jmd has joined #gnucash
04:21:32 *** Rebootus has quit IRC
04:22:05 *** Rebootus has joined #gnucash
04:29:11 *** Rebootus has quit IRC
04:29:44 *** Rebootus has joined #gnucash
04:36:49 *** Rebootus has quit IRC
04:37:21 *** Rebootus has joined #gnucash
04:44:27 *** Rebootus has quit IRC
04:44:58 *** Rebootus has joined #gnucash
04:57:05 *** Rebootus has quit IRC
04:57:38 *** Rebootus has joined #gnucash
05:24:52 *** Rebootus has quit IRC
05:25:23 *** Rebootus has joined #gnucash
05:32:27 *** Rebootus has quit IRC
05:32:59 *** Rebootus has joined #gnucash
05:55:07 *** Rebootus has quit IRC
05:55:40 *** Rebootus has joined #gnucash
06:07:47 *** Rebootus has quit IRC
06:08:18 *** Rebootus has joined #gnucash
06:40:30 *** Rebootus has quit IRC
06:41:03 *** Rebootus has joined #gnucash
06:44:52 *** gjanssens has joined #gnucash
06:44:53 *** gncbot sets mode: +o gjanssens
06:53:07 *** Rebootus has quit IRC
06:53:40 *** Rebootus has joined #gnucash
07:00:43 *** Rebootus has quit IRC
07:01:15 *** Rebootus has joined #gnucash
07:13:22 *** Rebootus has quit IRC
07:13:54 *** Rebootus has joined #gnucash
07:26:00 *** Rebootus has quit IRC
07:26:33 *** Rebootus has joined #gnucash
07:38:37 *** Rebootus has quit IRC
07:39:10 *** Rebootus has joined #gnucash
07:46:24 *** fell has joined #gnucash
07:46:24 *** gncbot sets mode: +o fell
07:56:23 *** Rebootus has quit IRC
07:56:56 *** Rebootus has joined #gnucash
08:03:59 *** Rebootus has quit IRC
08:04:32 *** Rebootus has joined #gnucash
08:11:35 *** Rebootus has quit IRC
08:12:08 *** Rebootus has joined #gnucash
08:33:51 *** jmd has joined #gnucash
08:44:26 *** Rebootus has quit IRC
08:44:58 *** Rebootus has joined #gnucash
08:49:36 *** jmd has quit IRC
08:57:06 *** Rebootus has quit IRC
08:57:37 *** Rebootus has joined #gnucash
09:04:41 *** Rebootus has quit IRC
09:05:14 *** Rebootus has joined #gnucash
09:09:52 *** BenB has quit IRC
09:13:04 *** LiamH has joined #gnucash
09:16:06 *** BenB has joined #gnucash
09:22:36 *** Rebootus has quit IRC
09:23:09 *** Rebootus has joined #gnucash
09:30:13 *** Rebootus has quit IRC
09:30:46 *** Rebootus has joined #gnucash
09:37:51 *** Rebootus has quit IRC
09:38:23 *** Rebootus has joined #gnucash
09:50:28 *** Rebootus has quit IRC
09:51:01 *** Rebootus has joined #gnucash
09:54:32 <warlord> Rebootus: please turn off your Thunderbird IRC Client!!!
09:54:39 <warlord> It's spamming the channel.
10:13:35 *** Rebootus has quit IRC
10:14:06 *** Rebootus has joined #gnucash
10:21:09 *** Rebootus has quit IRC
10:21:41 *** Rebootus has joined #gnucash
10:24:14 *** TradeBorG113 has joined #gnucash
10:27:24 *** TradeBorG113 has quit IRC
10:33:46 *** Rebootus has quit IRC
10:34:18 *** Rebootus has joined #gnucash
10:36:26 *** Caesar has joined #gnucash
10:40:17 *** Ard0nik has quit IRC
10:50:04 *** Jimraehl1 has joined #gnucash
11:01:29 *** Rebootus has quit IRC
11:02:02 *** Rebootus has joined #gnucash
11:14:09 *** Rebootus has quit IRC
11:14:42 *** Rebootus has joined #gnucash
11:21:45 *** Rebootus has quit IRC
11:22:18 *** Rebootus has joined #gnucash
11:29:20 *** Rebootus has quit IRC
11:29:53 *** Rebootus has joined #gnucash
11:36:57 *** Rebootus has quit IRC
11:37:30 *** Rebootus has joined #gnucash
11:53:13 *** TradeBorG113 has joined #gnucash
11:59:38 *** Rebootus has quit IRC
12:00:11 *** Rebootus has joined #gnucash
12:07:16 *** Rebootus has quit IRC
12:07:47 *** Rebootus has joined #gnucash
12:14:53 *** Rebootus has quit IRC
12:15:25 *** Rebootus has joined #gnucash
12:22:28 *** Rebootus has quit IRC
12:23:01 *** Rebootus has joined #gnucash
12:30:04 *** Rebootus has quit IRC
12:30:36 *** Rebootus has joined #gnucash
12:31:34 *** ErKa has joined #gnucash
12:44:32 *** himaxx has joined #gnucash
12:51:24 *** himaxx has quit IRC
12:58:00 *** Rebootus has quit IRC
12:58:32 *** Rebootus has joined #gnucash
13:05:37 *** Rebootus has quit IRC
13:06:10 *** Rebootus has joined #gnucash
13:18:16 *** Rebootus has quit IRC
13:18:50 *** Rebootus has joined #gnucash
13:25:55 *** Rebootus has quit IRC
13:26:27 *** Rebootus has joined #gnucash
13:33:30 *** Rebootus has quit IRC
13:33:55 *** benoitg has quit IRC
13:33:59 *** jralls has joined #gnucash
13:34:03 *** Rebootus has joined #gnucash
13:41:06 *** Rebootus has quit IRC
13:41:38 *** Rebootus has joined #gnucash
13:45:00 *** benoitg has joined #gnucash
13:53:17 *** ErKa has quit IRC
13:57:00 *** Jimraehl1 has quit IRC
14:19:27 *** Rebootus has quit IRC
14:19:59 *** Rebootus has joined #gnucash
14:30:48 *** matt1982 has joined #gnucash
14:33:21 <matt1982> Hey there. Im loving using GNU cash, I was just wondering though if there is anyway to import transactions. I have an online shop with amazon amongst others and was wondering if there was a way to import transactions from there to gnucash. I don't mind rolling my fingers up and trying to code something.
14:42:11 *** Rebootus has quit IRC
14:42:43 *** Rebootus has joined #gnucash
14:44:38 <jralls> matt1982: Yes, there's online banking and a variety of import formats under File>Import including one for CSV data if nothing else works.
14:46:42 <matt1982> I was just looking at OFX is it? I will try that out see what can be done. I was trying to automate it somewhat as there are lots of little transactions. Wasn't sure if I should be looking to edit the XML file directly or running it through the application. Or if there was another way :S
14:47:21 <matt1982> thanks jralls for the reply too btw :D
14:47:41 <jralls> Never, ever, edit the XML file directly. You risk breaking it and losing your data.
14:48:12 <matt1982> right ok thats fair enough glad to know :D
14:48:22 <jralls> There are Scheme (Guile) and Python wrappers for the API if none of the importers won't work for you.
14:48:39 <matt1982> ahh right cool I will check them out.
14:49:07 <jralls> Sorry s/won't//
14:49:14 <matt1982> I need to pull it in first however i was just checking it was possible. The transactions are split transactions so really time consuming.
14:50:12 <jralls> Importing split transactions is difficult. None of the bank exchange formats really support that very well.
14:50:34 <matt1982> ahh man. Its looking less and less likely that it can be done easily hehe
14:52:53 *** Ard0nik has joined #gnucash
14:54:17 <matt1982> Incidentally I was just thinking about setting up a GIT repository for my accounts, so i can share them easily and also I then have another history i can roll back to. This wouldn't effect the xml file would it jralls?
14:58:00 <jralls> Conflicts could be a problem. There's no way to resolve them in GnuCash, and editing by hand could break something. Otherwise should be OK.
14:58:02 *** Caesar has quit IRC
15:04:58 *** Rebootus has quit IRC
15:05:30 *** Rebootus has joined #gnucash
15:12:34 *** Rebootus has quit IRC
15:13:05 *** Rebootus has joined #gnucash
15:15:37 *** kpreid has quit IRC
15:16:12 *** kpreid has joined #gnucash
15:30:45 *** matt1982 has quit IRC
15:33:54 <gjanssens> I have got somewhat of a situation here
15:34:10 <gjanssens> I have added a patch in gnucash to apply to swig generated files
15:34:30 <gjanssens> This is to work around a bug in swig when using guile 2
15:34:58 <gjanssens> It is applied right after the swig files are generated
15:35:07 <gjanssens> So only when building gnucash from svn/git
15:35:57 <gjanssens> I used to apply this patch only when I detected guile 2
15:36:19 <gjanssens> But that's no good, because if we create a release tarball in a guile 1.8 environment that patch isn't applied
15:36:38 <gjanssens> And people will get crashes when the try to build with guile 2 from that release tarball
15:37:08 <gjanssens> So I changed to applying this patch unconditionally (it works with both guile 1.8 and 2.0 but is mandatory for guile 2)
15:37:22 <gjanssens> Now I run into another issue:
15:37:47 <gjanssens> we support swig from 1.3.31 and up, but require swig 2.0.10 for guile 2
15:38:18 <gjanssens> The problem that pops up now is that older versions of swig generate swig wrappers for which the patch doesn't apply
15:38:51 <gjanssens> That's pretty normal as I've rewritten big chunks of swig to work with guile 2
15:39:04 *** germanmusician has joined #gnucash
15:39:14 <gjanssens> How to fix this ?
15:39:54 <gjanssens> The easiest way is probably to require swig 2.0.10 in all cases
15:40:14 <germanmusician> hi! i have the following problem: i want to connect gnucash via hbci with my banking account. all i get is: dialog aborted by bank assuming bad pin. the bank tells me that they have no clue. anyone any ideas?
15:40:15 <gjanssens> But swig 2.0.10 is rather new, surely not one year old
15:40:28 <jralls> Does the patch really require 2.0.10, or will any 2.0 work?
15:40:38 <gjanssens> Really 2.0.10
15:40:43 <germanmusician> obviously i have checked the pin several times. with my online account it works just fine
15:40:57 <gjanssens> That's the first version that supports guile 2
15:41:32 <gjanssens> I know because I contributed the necessary patches to swig
15:42:31 <gjanssens> An alternative approach is to apply the swig patch in all builds, not only in svn/git initiated ones
15:42:32 <jralls> germanmusician: It's probably got to do with your User configuration in AQBanking setup. I'm an american know zip about HBCI, so I can't help much. I suggest that you ask on the gnucash-user@gnucash.org mailing list. There are some folks who hang out there and use HBCI.
15:42:56 <gjanssens> But that means a lot of makefile adaptations for a patch that's only temporarily in our repository
15:42:58 <germanmusician> thanks very much
15:43:10 <gjanssens> Once I fix swig itself, we can drop our patch
15:44:02 <gjanssens> It would mean in our makefiles to split the guile-wrapper step in two parts
15:44:38 <gjanssens> One generating an intermediate file, only called when building from svn/git
15:44:54 <jralls> IIRC, the patch is to use guile functions named foo-locale-bar instead of foo-utf8-bar.
15:45:01 <gjanssens> And a second one to apply the patch to the intermediate files, always called
15:45:23 <gjanssens> Actually no, that's only a small part of the patch
15:45:52 <gjanssens> The real issue it fixes is that the unpatched wrapper files break utf-8 string conversions
15:46:09 <gjanssens> Because they return the wrong string length
15:46:28 <gjanssens> The meat of the patch is to fix this
15:47:52 <gjanssens> the scm_from/to_locale_string vs scm_from/to_utf8_string stuff is in there because guile 1.8 only understands the first and guile 2 only the latter
15:48:34 <gjanssens> jralls what version of swig do you use for your OS X builds btw ?
15:48:51 <gjanssens> The windows build currently fails because of this issue
15:49:04 <gjanssens> I can easily fix it there by updating to swig 2.0.11
15:49:31 <gjanssens> But there will probably be other distributions out there that still carry a swig older than 2.0.10
15:49:51 <jralls> I'm using 2.0.10 in the hopes of getting Guile2 to work at some point... At this point I don't even remember why it doesn't, though.
15:51:04 <jralls> FWIW, Debian Testing is on 2.10.11.
15:51:17 <jralls> Oops, 2.0.11.
15:53:35 <gjanssens> In any case I've updated the windows version to use
15:53:48 <gjanssens> I'll have to go in and remove the swig directory on the build server
15:54:21 <gjanssens> For some reason the build scripts don't check the installed version
15:54:28 <gjanssens> Only if it's installed
15:56:08 <jralls> Aren't there other dependencies that it does check?
15:56:18 <jralls> For version, I mean.
15:57:50 <gjanssens> if quiet swig -version
15:57:52 <gjanssens> That's all
15:58:35 <gjanssens> In retrospect I don't know what it should compare with
15:59:03 <jralls> Add a SWIG_VERSION to defaults.sh and test against that.
15:59:27 <gjanssens> There is a SWIG_VERSION
15:59:38 <gjanssens> Of course, where was my head :(
16:01:30 <jralls> Do you know how to make F::Q work when running GC from /c/soft/gnucash/inst?
16:08:24 <gjanssens> I never tried
16:08:35 <gjanssens> What problem do you get ?
16:09:02 <jralls> GC can't find the F::Q installation made with the program in the installer.
16:12:08 *** germanmusician has quit IRC
16:13:10 <gjanssens> Are you running from an msys shell or a windows cmd
16:13:20 <jralls> msys shell
16:15:22 <gjanssens> And the install-fq-thingy ran fine ?
16:19:08 <jralls> I didn't try running it from there. gnc-fq-update doesn't work, probably because it's trying to use MinGW's perl instead of Strawberry perl. The former lacks LWP, so CPAN doesn't work. I guess I need to find a MinGW downloadable LWP.
16:21:45 <jralls> OTOH, I ran dist.sh, ran the installer, and tested that I've fixed 721825, so it's not that important any more.
16:25:19 <gjanssens> Ok good
16:26:35 <gjanssens> FWIW my mingw branch comes with a more recent perl. Perhaps that one can run CPAN
16:26:55 <gjanssens> We can test that when it's merged in
16:27:48 <jralls> Being able to build on a MinGW that's not 8 years old will be a big help for a lot of things.
16:29:14 <gjanssens> Probably
16:29:23 <gjanssens> I read your comment on bug 721825
16:30:31 * gjanssens is really impressed with the astounding rounding accuracy of a modern OS as Windows in 2014 ;)
16:30:47 <gjanssens> I'd really recommend it to banks and such
16:32:58 <jralls> Not really Windows's fault. Casting a double to an int is always a dumb thing to do, because you don't know if the compiler will truncate or round.
16:36:33 <gjanssens> Fair enough. I just started from your example, which didn't indicate the numbers were doubles.
16:36:48 <gjanssens> It's still odd though the bug only triggered on Windows
16:36:59 <gjanssens> Or we were just lucky on linux
16:37:52 <jralls> I think we're just lucky on Linux and OSX. After all, it's all gcc.
16:38:51 *** haclong has joined #gnucash
16:39:11 <haclong> hello
16:39:49 <haclong> i have an asset account with some money in it
16:40:23 <haclong> this money is dedicated for a special usage but since i need some money on my regular banking asset, i "borrow" money from my own asset
16:40:45 <haclong> but i'd like to track down how many i have borrowed from myself
16:41:03 <haclong> does it sounds right to you and how can i do that ?
16:41:56 <jralls> Is the "dedicated" money in a separate GnuCash account?
16:42:20 <haclong> there's one GnuCash file
16:42:39 <haclong> inside, there's two assets accounts : special money and banking asset
16:42:56 <haclong> banking asset shouldnt but borrowed some money from special money account
16:43:47 <jralls> OK, good. When you've "borrowed", did you record the draw from the "special" account?
16:43:51 <haclong> how can i track down how many banking asset has borrowed from the special money account and how can i know that banking asset has settle the depbt
16:43:57 <haclong> yes
16:44:23 <haclong> because since it's one of my own asset, there's obviously less money in it
16:44:43 <jralls> Then just sum up the withdrawals from that account and that's how much you've "borrowed".
16:45:39 <haclong> lol, of course, but the sum of the withdrawals are from one part the borrowing and from the main part the normal usage of this money dedicated for
16:46:12 <jralls> But to separate Expense accounts, right?
16:46:37 <haclong> yes
16:47:13 <haclong> let's me rephrase it
16:47:17 <jralls> So subtract the amount to the "special" Expense account from the total.
16:47:56 <haclong> ok, that's fine, but if it involves any manual calculation, so i wouldn't use GnuCash... my Excel file would be fine too
16:51:24 <jralls> There aren't any pre-written reports handling that situation AFAIK. If you can write Scheme or Python you could write your own. It seems like you've got all of the info you need in GnuCash.
16:52:46 <haclong> since it is borrowing money, i thought i can create a liability account
16:53:12 <haclong> but i can't organize all the accounts one with another
16:53:18 <haclong> but thank you for helping
16:54:48 <jralls> There's no way to treat the same money as both a Liability and an Asset in the same set of books.
16:59:24 <haclong> ok
16:59:49 <haclong> and doing something like provision ?
17:00:15 <jralls> Sorry, don't know what you mean.
17:01:29 <haclong> mmh
17:01:40 <haclong> let's me find out what are provision in english first
17:02:16 <haclong> provision is provision in english
17:02:30 <haclong> http://en.wikipedia.org/wiki/Provision_%28accounting%29
17:05:13 <jralls> OK. But the example, provision for tax, is money that you owe the Government not money you owe yourself.
17:05:43 <jralls> At some point you take money from an asset account to pay down the liability.
17:06:44 <haclong> yes
17:07:58 <haclong> i know
17:08:24 <haclong> that's why i try to organize my accounts to show my money
17:10:14 <jralls> So the problem you have is that if you "borrow" $20 to pay a bill, you transfer the $20 from the "special" account to the checking account, then from the checking account to the Expense account for the Bill. There's nowhere to fit the extra Liability account in and keep the transaction in balance.
17:10:36 <haclong> yes
17:10:57 <haclong> no way at all ?
17:11:55 <haclong> i'm still searching
17:12:14 <jralls> You could create a bogus expense account to balance the Liability split, I suppose.
17:12:58 <haclong> yeah
17:13:05 <haclong> i was thinking about bogus account
17:13:17 <haclong> so bogus expense account
17:13:36 <haclong> i'm not good in accounting
17:13:49 <jralls> So you'd credit the "special" account, debit the bogus expense account, credit the Liability account, debit the checking account, and finally credit the checking account and debit the real expense account.
17:13:51 <haclong> so i can't put the organisation down on a paper to chek if my plan are right
17:13:54 <haclong> that's frustrating
17:14:30 <haclong> yep
17:15:11 <haclong> does it sound right for you or is it really trying to do something easy with stuff needless
17:15:13 <jralls> Get a basic accounting book, preferably one with problems at the end of each chapter, and work through it. Or hire an accountant to set it up for you.
17:16:12 <haclong> yes
17:16:15 <haclong> thank you for your help
17:17:03 <jralls> Only you can say if it's "needless". It's probably *easier* to track it separately in a spreadsheet than in double-entry accounting.
17:17:12 *** TradeBorG113 has quit IRC
17:17:41 <haclong> ok
17:17:49 <haclong> thank you for you help again
17:18:00 <jralls> You're welcome.
17:27:28 *** Rebootus has quit IRC
17:28:01 *** Rebootus has joined #gnucash
17:31:12 *** Jimraehl1 has joined #gnucash
17:40:11 *** Rebootus has quit IRC
17:40:45 *** Rebootus has joined #gnucash
17:53:54 *** gjanssens has quit IRC
18:53:07 *** Rebootus has quit IRC
18:53:40 *** Rebootus has joined #gnucash
18:55:00 *** haclong has quit IRC
19:00:44 *** Rebootus has quit IRC
19:01:16 *** Rebootus has joined #gnucash
19:08:19 *** Rebootus has quit IRC
19:08:51 *** Rebootus has joined #gnucash
19:20:57 *** Rebootus has quit IRC
19:21:30 *** Rebootus has joined #gnucash
19:43:38 *** Rebootus has quit IRC
19:44:11 *** Rebootus has joined #gnucash
20:00:29 *** Caesar has joined #gnucash
20:00:51 <warlord> jralls, QIF supports split transactions quite well.
20:01:36 <jralls> How does the contra-account mapper work with multiple splits?
20:02:06 <jralls> (Yes, I know I'm misusing "contra-account".)
20:04:19 <warlord> The same way; the split can contain a memo and/or category/account field and the split-account is keyed off that
20:05:09 *** Ard0nik has quit IRC
20:07:15 <jralls> Oh, right, I'm thinking of the wrong mapper. And I was just testing with the QIF assistant a couple of hours ago. Sheesh.
20:07:38 <warlord> lol.
20:07:39 *** carsteng has joined #gnucash
20:08:29 <warlord> So I saw your email about (int)pow(10,2) returning 99 instead of 100.. What's up with that? Did we somehow change the code to compute powers or something?
20:09:13 <warlord> (I wonder how this didn't get caught in a 'make check' test case?)
20:09:35 <jralls> I don't think it's a change. And AFAIK tests don't work in Windows.
20:11:48 <jralls> The problem is that 9.99999999... is the same as 10. But if you cast the former to (int) the compiler may truncate it instead of rounding it, giving 9.
20:12:31 * warlord grumbles
20:13:02 *** carsteng has quit IRC
20:17:32 <jralls> Looks like that pow() thing in gnc_numeric has been there since before r5076. There's a file move interrupting history in Trac that I don't see any point in following.
20:20:30 <warlord> If it's been there that long... I wonder what changed in 2.6 that caused this to bug to surface?
20:21:56 <jralls> Here's an interesting question: We have both "gnc_numeric_to_double", which simply does a double division and lives with any rounding, and "gnc_numeric_to_decimal", which fails for any denominator not evenly divisible by 2 or 5. Why do we have the second one?
20:25:28 <warlord> Honestly, I have no ida.
20:26:04 <warlord> Actually, the latter is literally to convert it to abcdefg.hijklmnop (literally a decimal)
20:26:31 <warlord> But not sure why it fails for 'random' denoms
20:30:33 <jralls> Oh, I see. Not actually abcdefg.hijklmnop, but num = zyxwvutsrqp denom=10^n. It's not making a double. That's why it can fail; otherwise it could go to infinity with a repeating decimal.
20:31:28 <jralls> Now whether that's actually useful is another matter, I suppose.
20:35:45 <warlord> Depends on the rounding, I guess. ;)
20:38:52 *** ErKa has joined #gnucash
20:39:30 <jralls> It doesn't look at it. It's used only in PrintAmountInternal, in app-utils/gnc-ui-util.c.
20:42:08 <warlord> Okay...
20:42:57 <warlord> A long time ago gnucash would print fractions... at some point that was changed to always printing decimals.
20:44:05 <jralls> Nay, nay, moose-breath. It sitll very cheerfully prints fractions. See https://bugzilla.gnome.org/show_bug.cgi?id=410060
20:46:08 <jralls> In fact, if it weren't for printing fractions we wouldn't have gotten https://bugzilla.gnome.org/show_bug.cgi?id=721825 either.
20:47:00 <jralls> It only displays decimals *in the register*.
20:48:11 <warlord> Hmmm
20:48:25 <warlord> Sometimes I wish we could just start over.. ;)
20:50:24 <jralls> ;-)
21:17:59 *** benoitg1 has joined #gnucash
21:18:01 *** benoitg has quit IRC
21:33:48 *** Rebootus has quit IRC
21:34:20 *** Rebootus has joined #gnucash
21:46:28 *** Rebootus has quit IRC
21:47:00 *** Rebootus has joined #gnucash
21:59:06 *** Rebootus has quit IRC
21:59:39 *** Rebootus has joined #gnucash
21:59:46 *** Rebootus was kicked by warlord (warlord)
22:12:15 *** Rebootus has joined #gnucash
22:15:39 <warlord> oops, used kick, not ban.
22:15:58 <warlord> Rebootus: I'll give you one you chance to turn off your Thunderbird before I ban you
22:34:34 *** Rebootus has quit IRC
22:35:06 *** Rebootus has joined #gnucash
22:40:54 *** kanru has quit IRC
22:41:44 *** kanru has joined #gnucash
22:52:14 *** Rebootus has quit IRC
22:52:46 *** Rebootus has joined #gnucash
22:59:50 *** Rebootus has quit IRC
23:00:25 *** Rebootus has joined #gnucash
23:50:57 *** Rebootus has quit IRC
23:51:29 *** Rebootus has joined #gnucash
23:59:24 *** LiamH has quit IRC
23:59:33 *** benoitg1 has quit IRC