2008-04-23 GnuCash IRC logs

01:20:42 *** gncbot` has joined #gnucash
01:20:42 *** gncbot has quit IRC
02:26:27 *** ErKa has joined #gnucash
04:11:37 *** XiXaQ has quit IRC
04:14:01 *** XiXaQ has joined #GnuCash
04:14:14 *** kielein has joined #gnucash
04:49:19 *** kling0n has joined #gnucash
05:22:01 *** cortana has joined #gnucash
05:46:47 *** Demitar has quit IRC
07:25:18 *** kielein has quit IRC
07:51:51 *** LiENUS has joined #gnucash
07:59:16 *** twunder has joined #gnucash
08:33:23 *** warlord-afk is now known as warlord
08:33:59 <warlord> Guanavia: I have no idea why the chcp call is in there. You could try asking on gnucash-devel?
08:34:07 <warlord> @nick gncbot
08:34:07 *** gncbot` is now known as gncbot
08:34:13 *** warlord sets mode: +o gncbot
09:09:48 *** ErKa has quit IRC
09:38:35 *** ErKa has joined #gnucash
09:44:52 *** donfede has joined #gnucash
11:09:37 *** mishehu has quit IRC
11:13:29 *** mishehu has joined #gnucash
11:51:50 *** Zoolooc has quit IRC
12:20:52 *** ErKa has quit IRC
12:50:38 *** ErKa has joined #gnucash
12:58:32 *** Neelixx has joined #gnucash
13:00:03 <Neelixx> All, I'm importing my American Express data via QIF. In the wizard, I map the "payment" to my income checking. After the wizard, the payment shows up correctly in my credit card acct, but it shows as INCOME in my checking.
13:00:59 <Neelixx> This is in the Windows ver 2.2.0 and 2.2.4
13:02:04 <Neelixx> It should be set up as a "CHARGE", correct?
13:18:10 <Neelixx> Okay, this has nothing to do with importing.
13:19:32 <Neelixx> If I manually create a payment to my "Credit Card", it creates an "Income" in my checking, rather than a "withdrawl". If I change it to a "withdrawl", it also changes my "Credit Card" to a "Charge". Why is this backwards? Am I doing something wrong?
13:19:33 <Neelixx> Thanks
13:20:18 <warlord> Ummm... Screen shots, please? It works for me just fine here.
13:20:51 <Neelixx> warlord: Thanks! Where would you like the screenshots?
13:20:58 <jsled> I don't see "income" in the checking register.
13:21:16 <jsled> And "it also changes my 'Credit Card' to a 'Charge'" doesn'
13:21:21 <jsled> t seem to make sense to me.
13:22:14 <Neelixx> jsled: I'm not using one of the templates. I manually created an "Income" account, and called it "Checking"
13:22:25 <jsled> Oh. You're wrong. Don't do that.
13:22:30 <Neelixx> YEah
13:22:39 <Neelixx> It hit me when I wrote it
13:22:41 <warlord> OH! That's wrong.
13:22:43 <jsled> :)
13:22:57 <Neelixx> haha... yeah... it sounds worse when writing
13:23:43 <Neelixx> Thanks guys. Sometimes, just saying things "out loud" is enough.
13:24:08 <warlord> heh.
13:24:36 *** johng has joined #gnucash
13:26:23 <johng> Can I export accounts or account trees from GC in some format (eg QIF or CSV) to transfer data to other programs?
13:26:47 <jsled> http://wiki.gnucash.org/wiki/FAQ#Q:_How_can_I_export_data.3F
13:28:21 *** earthwalker has joined #gnucash
13:30:28 <earthwalker> Would love to be able to do 2 things for a household account.
13:33:22 <earthwalker> #1 Is there a way to have a total on the budget report for income and out going. #2 Is there a way to make the cash flow report just show one month?
13:38:23 <warlord> earthwalker: don't know about #1, but for #2 edit the report options and set your date range.
13:39:58 <earthwalker> That is just what I was looking for. Thanks
13:44:37 <johng> Thanks thats what i was looking for.
13:54:36 *** ErKa has quit IRC
13:55:45 *** IanL has joined #gnucash
14:07:22 *** ErKa has joined #gnucash
14:12:44 *** kling0n has quit IRC
14:14:18 *** tim_abell has joined #gnucash
14:24:19 *** johng has left #gnucash
14:46:21 *** nelt has joined #gnucash
14:50:18 *** |gunni| has joined #gnucash
14:50:21 *** kling0n has joined #gnucash
14:50:33 *** Neelixx has left #gnucash
14:54:31 <nelt> anyone know if there is an option to keep the act:lots sorted in the .gnucash file?
14:55:08 <jsled> I don't think so.
14:55:26 <jsled> You mean in ~/.gnucash/lots.info or something?
14:55:37 <jsled> In what way are lots not specific to a datafile?
14:55:49 <nelt> no, I mean I'm version controlling my .gnucash file and there are always pointless noise diffs
14:56:09 <nelt> I'd like to keep the lists sorted in a canonical order.
14:56:13 <jsled> Ah.
14:56:21 <jsled> No, the format isn't designed for pretty diffs. :)
14:56:25 <nelt> I assume the order doesn't matter.
14:56:57 <nelt> Except for the reordering, the diffs are quite clean.
15:02:43 <warlord> Then you're lucky.
15:02:53 <warlord> There is no inherent ordering in the XML file.
15:05:11 <nelt> Does it seem reasonable to add an order? or is it unordered for a reason?
15:07:18 <nelt> The GUIDs look like the perfect sort key.
15:09:53 *** _gunni_ has joined #gnucash
15:17:39 *** cortana has quit IRC
15:18:32 *** |gunni| has quit IRC
15:26:08 *** cortana has joined #gnucash
15:38:40 <warlord> It's unordered for performance reasons.
15:38:51 <warlord> (the data is stored in a HashTable)
15:39:21 <warlord> Reading it out and sorting it would significantly increase the time it takes to write out the data file.
15:39:38 <warlord> (at least doubling it, but more likely making it NlogN)
15:43:01 <nelt> What about only on writeout?
15:43:32 <nelt> At least for the lots, they are in a g_list.
15:43:44 <nelt> which is just a linked list AFAIK.
15:44:22 <jsled> g_list is a doubly-linked list.
15:44:28 <nelt> right
15:44:35 *** IanL has left #gnucash
15:44:41 <nelt> (not a hash table)
15:45:21 <jsled> true, g_list is not a hashtable. But I'm not sure that the XML generator is traversing that g_list.
15:47:52 <nelt> Is the xml generator in gnc-account-xml-v2.c?
15:47:56 <warlord> actually, looking at the XML backend code, the lots ARE stored based on the g_list order.
15:48:58 <nelt> If I'm looking at the right place (line ~148) then a g_list_sort(lots, gnc_lots_guid_compare); right be for the for loop should do it.
15:50:22 <warlord> nelt: yes, a sort inside the if (lots && !exporting) block would work..
15:50:52 <nelt> great. I haven't been able to test my patch because I'm getting: configure: error: Could not find a working gtkhtml version (need 3.1, 3.2, 3.6, 3.8 or 3.14)? any ideas?
15:51:07 <warlord> install gtkthml
15:51:12 <jsled> what distro?
15:51:33 <nelt> fc8: gtkhtml3-devel-3.16.3-1.fc8
15:52:14 <jsled> 3.16.3 is a "gtkhtml3-3.14". So that should be fine.
15:52:31 <jsled> That is, gtkhtml-3.16.3 implements the "gtkhtml3-3.14" API.
15:59:51 <warlord> nelt: note that transactions are still in semi-random order.
16:00:08 <warlord> .. as are all the business features.
16:00:47 *** echinos has joined #gnucash
16:02:10 <nelt> Yea, I thought I'd start with lots and see what else turned up out of order. I'll take a look at transactions too.
16:02:30 *** echinos_ has quit IRC
16:03:09 <jsled> seems like useless complication to get pretty diffs.
16:03:15 <jsled> Personally, I'd reject the patch.
16:07:27 <warlord> jsled: for lots or txns?
16:07:36 <jsled> generally.
16:07:42 <nelt> It's one line :)
16:08:03 <jsled> But maybe my linger headcold is just making me grumpy.
16:08:16 <jsled> s/linger/lingering/
16:08:31 <warlord> i'm more willing to accept the one-liner for lots, even though I think it's stupid.
16:08:50 <warlord> Transactions will be harder, and I'm less likely to consider that because you generally have MANY more txns than lots.
16:09:20 <nelt> I can't imagine the sort on save being noticeable.
16:10:13 *** sjc has joined #gnucash
16:11:37 *** earthwalker has left #gnucash
16:15:42 <warlord> Then you're not thinking hard. Some people's data files are LARGE; sorting a large list of txns can take several seconds. Saving can already take way too many seconds.
16:16:40 <nelt> Maybe if you have some large test files I could benchmark them.
16:19:40 <nelt> BTW, the configure error above is fixed by having goffice04-devel (0.4.3-1.fc8) installed; I had had only goffice-devel (0.2.2-1.fc8) before.
16:20:29 <jsled> goffice-devel-0.2.2 should be fine.
16:20:43 <jsled> Generally, you're going to need *all* the development versions of the libs.
16:21:06 <jsled> debian has a nice `apt build-deps $package` that installs all the build dependencies for a package; I wonder if fedora has something similar.
16:22:01 <nelt> It does. I was accidentally building the fc9 one on fc8 which required the wrong thing.
16:24:48 <warlord> jsled: actually, goffice-0.2.2 can't work with gtkthml-3.14
16:34:29 *** nomeata has joined #gnucash
16:34:29 *** ErKa has quit IRC
16:35:15 *** |McLANE| has joined #gnucash
16:54:37 *** twunder has quit IRC
17:04:31 <nelt> Is there a standard (i.e. easy) way to run out of the src directory?
17:05:22 <jsled> no. --prefix into ~/installed or /opt/gnucash-svn/ or something.
17:06:16 *** Guanavia has quit IRC
17:06:40 <nelt> ok, thanks.
17:27:35 *** Demitar has joined #gnucash
17:31:36 *** kling0n has quit IRC
17:33:01 *** kling0n has joined #gnucash
17:39:46 *** cortana has quit IRC
18:12:48 *** donfede has quit IRC
18:12:55 *** kling0n has quit IRC
18:28:15 *** nomeata has quit IRC
18:44:55 *** kling0n has joined #gnucash
18:48:25 <nelt> Thanks for your help. I've sent a patch to the mailing list.
18:51:50 *** |McLANE| has quit IRC
19:10:06 <warlord> nelt: did you? I haven't seen it yet.
19:11:30 <nelt> stuck in moderation
19:11:41 <warlord> Oh, forgot to subscribe first, eh?
19:12:42 <nelt> I usually read mailing lists via nntp / gmane.
19:13:02 <warlord> ah
19:16:24 *** cortana has joined #gnucash
19:45:13 *** sjc has quit IRC
19:50:56 *** tim_abell has quit IRC
20:42:35 *** kling0n has quit IRC
21:02:18 *** |McLANE| has joined #gnucash
21:20:55 *** chris` has joined #gnucash
21:24:01 *** BTJustice has joined #gnucash
21:24:19 *** twunder has joined #gnucash
21:24:22 <BTJustice> I am experimenting with GnuCash.
21:24:36 <BTJustice> Can it make invoices like QuickBooks?
21:29:57 *** |McLANE| has quit IRC
21:32:45 <warlord> define "like QuickBooks"?
21:32:57 <warlord> yes, gnucash can make invoices.
21:33:21 <BTJustice> Custom invoices, fonts, etc.
21:33:42 <BTJustice> And how do you make an invoice in gnucash?
21:33:44 <BTJustice> lol
21:34:00 <warlord> Have you read the docs?
21:36:07 <BTJustice> Yes.
21:36:18 <BTJustice> All they had were about improvements.
21:36:24 <BTJustice> I even searched the mailing list.
21:36:30 <BTJustice> nothing on "invoice".
21:39:38 *** nelt has quit IRC
21:39:42 <warlord> Then you're blind.. http://svn.gnucash.org/docs/guide/chapter_bus_ar.html
21:40:11 <warlord> (or not very persistent)
21:40:54 <BTJustice> What the hell kind of invoice is that?
21:41:02 <BTJustice> That looks horrible.
21:41:41 <BTJustice> yuck
21:41:50 * BTJustice sighs
21:42:02 <warlord> Then try the Fancy Invoice..
21:42:09 <warlord> besides, how much did you pay for GnuCash?
21:42:25 <warlord> If you dont like it, create and submit something better.
21:45:17 <BTJustice> Yeah... I'll get started on those programming classes right away.
21:46:49 <BTJustice> Anyway, thanks for the help. I see now why GnuCash is free... because they can only give it away, lol.
21:47:01 <BTJustice> Later.
21:47:05 *** BTJustice has quit IRC
21:47:19 <warlord> well fuck you too
21:47:36 <warlord> oops, sorry, that wasn't supposed to be out loud.
22:26:25 *** kling0n has joined #gnucash
22:29:03 *** kling0n has quit IRC
22:38:35 *** Guanavia has joined #gnucash
22:42:03 *** twunder has quit IRC