2014-06-05 GnuCash IRC logs

00:01:45 *** Jimraehl1 has quit IRC
00:09:24 *** MechtiIde has joined #gnucash
00:30:27 *** programmerq has joined #gnucash
00:33:43 <programmerq> I'm a homeowner. I'm doing some improvements to my home. What would be the right way to track the fact that my home is worth more when the improvements are done?
00:34:50 <programmerq> I have an account called Assets:House that represents what I believe my house to be worth. I had the balance transfer in from opening balances since I'm only tracking starting 1/1/2014 (bought the house last year)
00:35:39 <programmerq> would I create a line called "did x, y and z" and assign it 10 grand? pull in from some account under the equity tree?
00:35:59 <programmerq> pull it in from my Expenses:Home Improments account?
00:38:53 *** MechtiIde has quit IRC
00:41:59 <warlord> programmerq: you'd pull it from Cash as you pay for your improvements.
00:42:21 <warlord> i..e, instead of Cash -> Expenses:Home improvements you would go Cash -> Assets:House
00:44:25 <programmerq> what if there's an improvement that costs me $20k to do, but only adds about $10k of value to the home?
00:44:38 <programmerq> would I account for the "loss" separately?
00:57:41 *** floh1111 has joined #gnucash
01:06:16 *** danley has joined #gnucash
01:06:21 *** SteveG has joined #gnucash
01:14:42 *** danley_ has quit IRC
01:30:15 *** O01eg has quit IRC
01:37:03 *** aqua___ has joined #gnucash
02:06:18 *** wafflejock has quit IRC
02:07:38 *** wafflejock has joined #gnucash
02:49:31 *** SteveG has quit IRC
02:53:52 *** GabrieleV has quit IRC
02:59:41 *** GabrieleV has joined #gnucash
03:20:13 *** aqua___ has quit IRC
03:33:07 *** aqua___ has joined #gnucash
04:36:47 *** floh1111 has quit IRC
04:45:15 *** fell__ has joined #gnucash
04:45:15 *** gncbot sets mode: +o fell__
04:59:28 *** aqua___ has quit IRC
05:35:03 *** Jimraehl1 has joined #gnucash
05:58:11 *** Jimraehl1 has left #gnucash
06:00:32 *** SteveG has joined #gnucash
06:05:47 *** Jimraehl1 has joined #gnucash
06:21:24 *** Jimraehl1 has quit IRC
06:35:22 *** StuM has quit IRC
06:46:00 *** Jimraehl1 has joined #gnucash
07:06:53 *** wol has joined #gnucash
07:09:06 *** SteveG has quit IRC
07:32:05 *** aqua___ has joined #gnucash
07:56:50 *** uXus has quit IRC
08:06:11 *** uXus has joined #gnucash
08:09:18 *** SteveG has joined #gnucash
08:32:28 *** SteveG has quit IRC
08:45:07 *** kpreid has quit IRC
08:45:33 *** kpreid has joined #gnucash
08:59:31 *** aqua___ has quit IRC
09:05:24 *** ErKa has joined #gnucash
09:30:59 *** Krzysiek_K has joined #gnucash
09:32:35 *** MechtiIde has joined #gnucash
10:00:08 *** Krzysiek_K has quit IRC
10:04:00 *** Krzysiek_K has joined #gnucash
10:10:12 *** O01eg has joined #gnucash
10:26:54 *** wol has quit IRC
10:31:44 *** wol has joined #gnucash
10:36:49 *** warlord has quit IRC
11:19:32 *** warlord has joined #gnucash
11:19:32 *** gncbot sets mode: +o warlord
11:55:59 *** SteveG has joined #gnucash
11:58:26 *** benoitg has joined #gnucash
12:14:24 *** himaxx has joined #gnucash
12:18:13 *** wafflejock has quit IRC
12:18:13 *** himaxx has quit IRC
12:19:35 *** benoitg has quit IRC
12:22:57 *** Krzysiek_K has quit IRC
12:31:39 *** benoitg has joined #gnucash
12:42:44 *** floh1111 has joined #gnucash
12:43:17 *** fell has joined #gnucash
12:43:18 *** gncbot sets mode: +o fell
12:51:38 *** fell__ has quit IRC
12:54:01 *** benoitg1 has joined #gnucash
12:58:57 *** jralls has quit IRC
12:59:34 *** jralls has joined #gnucash
12:59:34 *** gncbot sets mode: +o jralls
13:03:06 *** benoitg has quit IRC
13:11:57 *** benoitg1 has quit IRC
13:16:58 *** benoitg has joined #gnucash
13:47:42 *** Krzysiek_K has joined #gnucash
13:51:35 *** gjanssens has joined #gnucash
13:51:35 *** gncbot sets mode: +o gjanssens
14:16:34 *** Krzysiek_K has quit IRC
14:17:03 *** Krzysiek_K has joined #gnucash
14:32:58 *** aqua___ has joined #gnucash
14:34:32 <gjanssens> jralls: John, I'm experiencing build failures on Fedora 20/64-bit due to the G_GUINT64_FORMAT work you recently committed
14:34:54 <gjanssens> I already removed my complete build directory, reran autogen.sh/configure/make
14:35:03 <jralls> Really? That's interesting. What's the error.
14:35:06 <jralls> ?
14:35:17 <gjanssens> /kobaltnet/janssege/Development/gnucash/gnucash/src/libqof/qof/guid.c: In function 'init_from_file':
14:35:19 <gjanssens> /kobaltnet/janssege/Development/gnucash/gnucash/src/libqof/qof/guid.c:250:5: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Werror=format=]
14:35:20 <gjanssens> PINFO ("guid_init got %" G_GUINT64_FORMAT " bytes from %s",
14:35:21 <gjanssens> ^
14:35:23 <gjanssens> /kobaltnet/janssege/Development/gnucash/gnucash/src/libqof/qof/guid.c: In function 'guid_init':
14:35:25 <gjanssens> /kobaltnet/janssege/Development/gnucash/gnucash/src/libqof/qof/guid.c:517:5: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Werror=format=]
14:35:26 <gjanssens> PINFO ("got %" G_GUINT64_FORMAT " bytes", (unsigned long long int) bytes);
14:35:28 <gjanssens> ^
14:35:29 <gjanssens> /kobaltnet/janssege/Development/gnucash/gnucash/src/libqof/qof/guid.c:520:9: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Werror=format=]
14:35:30 <gjanssens> PWARN("only got %" G_GUINT64_FORMAT " bytes.\n"
14:35:32 <gjanssens> ^
14:35:34 <gjanssens> cc1: all warnings being treated as errors
14:37:42 <jralls> So G_GUINT64_FORMAT is defined as %ld on F20-64? And I suppose "long long int" is a guint128?
14:38:00 <gjanssens> jralls: how do I check ?
14:42:13 <jralls> Well, the latter should be in /usr/include/ctypes.h. The former is in /usr/lib??/glib-2.0/include/glibconfig.h, where lib?? is somewhat system dependent. On Debian Jessie, it's /usr/lib/x86_64-linux-gnu/, but IIRC it's different on F18 and so probably on F20.
14:42:46 <jralls> `find /usr/lib -name glibconfig.h` will get the right path for you.
14:47:43 <jralls> I see on Jessie that G_GUINT64_FORMAT is %ld. I also see that "long long" isn't actually in ctype.h, it's in /usr/include/x86_64-linux-gnu/types.h, where it's defined to the in64 types.
14:48:23 <gjanssens> from /usr/lib64/glib-2.0/include/glibconfig.h: #define G_GUINT64_FORMAT "lu"
14:50:38 *** aqua___ has quit IRC
14:52:01 <gjanssens> the definition of long long int is somewhat more difficult to find. There are several include files that define it
14:52:15 <gjanssens> It looks like this is the most likely candidate:
14:52:39 <gjanssens> (silly gncbot...) from /usr/include/sys/types.h:__extension__ typedef long long int int64_t;
14:53:12 *** Jimraehl1 has quit IRC
14:57:02 <gjanssens> And /usr/include/stdint.h defines long long int 4 times - once as int64_t, once as int_least64_t, once as int_fast64_t and once as intmax_t
14:59:28 <jralls> I get the same error. This is interesting, though: "If I change the G_GUINT64_FORMAT to \%lld, I get an error from gnc-numeric.c that format '\%lli' expects argument of type 'long long int', but argument 4 has type 'gint64'"
14:59:28 <gjanssens> jralls: oh, but you probably want unsigned long long int to verify this error ?
15:01:32 <gjanssens> unsigned long long int is defined in /usr/include/sys/types.h as __extension__ typedef unsigned long long int u_int64_t;
15:02:06 <gjanssens> I'm surprised this is not uint64_t (note the extra underscore in types.h)
15:03:13 <jralls> IIRC u_int64_t is from the C99 spec.
15:04:39 <jralls> When I run gdb I get sizeof(guint64) = 8, sizeof(long int) = 8, and sizeof(long long int) = 8. So it's gcc being stupid, not recognizing that long and long long are the same.
15:05:24 <gjanssens> duh
15:05:29 *** MechtiIde has quit IRC
15:05:38 <jralls> The safe fix, I guess, it to replace "unsigned long long int" with u_int64_t. Let me try that.
15:05:57 <gjanssens> ok
15:10:04 <warlord> if you're using "long long" you need to use %llu explicitly. G_GUINT64_FORMAT should, however, always work for a "guint64"
15:10:11 <jralls> Works in Debian. Checking Win32. That will take a few minutes.
15:12:06 <jralls> warlord: If it will work I prefer the C++98/C99 standard notation to GLib's, given the eventual goal of getting rid of GLib.
15:12:09 <warlord> (sorry, coming into this a bit late)
15:12:35 <warlord> jralls: sure, but you need to make sure it works on both 32- and 64- bit platforms.
15:12:52 <warlord> Then again we could also use the inttypes.h (IIRC) definitions.
15:14:07 <jralls> The C99 standard is "int64_t", which is supposed to work on all architectures.
15:16:25 <warlord> Sure, but I don't know how that translates into printf format strings.
15:25:48 *** Krzysiek_K1 has joined #gnucash
15:25:48 *** Krzysiek_K has quit IRC
15:29:39 <jralls> Works fine in MinGW, except that it turns out that it is uint64_t as Geert remembered; one must include <stdint.h>. That works on Debian Jessie, MinGW, and OSX, so I just pushed it.
15:31:36 <warlord> jralls: did you test both 64- and 32-bit platforms?
15:32:01 <jralls> warlord: Yes, both MinGW and OSX are built as 32-bit.
15:32:25 <warlord> Okay
15:35:42 <gjanssens> Build continues again on F20/64. Thanks jralls !
15:35:55 <jralls> You're welcome.
15:37:44 <jralls> BTW, 3 weeks till we arrive in Brussels. What's your schedule like for 29 June - 6 July?
15:40:03 <warlord> jralls: are you going to be elsewhere in europe?
15:40:17 * warlord will be in Delft June 22-27
15:40:44 <gjanssens> jralls: Busy ;)
15:41:05 <gjanssens> But I can probably free some time to have lunch or diner one of these days
15:42:11 <gjanssens> It's always nice to be able to put a face on an irc buddy :)
15:42:53 <gjanssens> jralls: do you have a schedule when you're in Brussels ?
15:43:14 <jralls> warlord: The full itinerary is fly out the 25th, arrive London the 26th; Eurostar to Brussels the 28th, where we have an apartment for 3 weeks. Side trip to Amsterdam 7 - 10 July; back to London the 19th, back to SF 28 July.
15:43:49 <jralls> warlord: So I guess we'll miss you yet again.
15:43:54 <warlord> :(
15:46:02 <jralls> gjanssens: Yes, as above, with another side trip to Paris 16-17 July.
15:48:18 *** djf has joined #gnucash
15:53:36 <gjanssens> jralls: the week you propose is the last week before our own holidays
15:54:02 <gjanssens> that means I have to finish the accounting for three companies that week and meet with our accountant
15:54:32 <jralls> Yeah, you mentioned that when I brought it up a couple of months ago. How long are you on holiday for?
15:54:49 <gjanssens> I'll pass some possible moments to meet after I have scheduled this appointment with the accountant
15:56:02 <jralls> OK.
15:59:38 <warlord> jralls: I fly in and out of AMS on the 22nd and 27th.
16:00:18 <gjanssens> We're on holidays for 3 weeks. We return the 27th.
16:00:45 <gjanssens> warlord: do you have more details on your schedule in Delft ?
16:00:47 <jralls> AMS being Schiphol? We're using LHR because there are more flight choices to there from SFO.
16:01:17 <warlord> jralls: yes. I've got 4 non-stops a day (in each direction) from ATL
16:02:55 <jralls> Big change from when I was at Tech. You had to go to JFK from ATL if you wanted to go to Europe. Or McGuire AFB.
16:03:36 <warlord> gjanssens: Sort of, yeah. I'm free the evening of Tuesday the 24th, and possibly free Wednesday the 25th all dayy.
16:04:13 <warlord> I need to figure out what "HOD/ Convenor" and "PE and Convenors" means
16:12:19 *** djf has quit IRC
16:13:41 *** djf has joined #gnucash
16:13:48 <jralls> warlord: In what context?
16:14:13 <warlord> gjanssens: I don't know exactly when I arrive into AMS; it's either going to be 10:30 or 12:50 depending on which flight I take. But most likely I'm going to grab a train directly to Delft.
16:14:39 <warlord> jralls: in the context of the schedule for this conference in Delft.
16:15:50 <gjanssens> warlord: Delft is closer anyway for me. It's about 1h30 by car, Amsterdam (Schiphol) is 2 hours
16:16:19 <warlord> gjanssens: yeah, and I dont plan to stay in AMS very long.. :)
16:16:25 *** fell has quit IRC
16:18:37 <gjanssens> warlord: I can probably take some time off on Wednesday 25th in the afternoon.
16:18:56 <gjanssens> I have a meeting before noon but I don't know how long that one will take
16:18:58 <warlord> gjanssens: I suspect that might work.. I'll know more next week?
16:19:04 <gjanssens> ok
16:19:36 <gjanssens> So depending on my timing we could have lunch together or just meet in the afternoon
16:20:41 * gjanssens has never been in Delft before so wouldn't be able to propose a nice restaurant
16:21:03 <warlord> However I suspect that wednesday is going to be a "free" day, having done a little more research.
16:21:17 <gjanssens> Alternatively we could meet somewhere halfway or closer to fell (who is currently offline)
16:21:26 <gjanssens> And perhaps we could meet with 3
16:23:41 *** wol has joined #gnucash
16:24:06 <jralls> Where does Frank live?
16:24:27 <warlord> gjanssens: let me get back to you? I'm traveling with a coworker, so there might be some expectations. I'll let you know more.
16:24:49 <gjanssens> warlord: sure
16:25:29 <warlord> Cool.
16:25:34 <warlord> Will be great to see you again
16:25:46 <gjanssens> jralls: I believe Frank lives somewhere in the German speaking part of Belgium or right across the border in Germany
16:25:59 <warlord> He's in germany
16:26:23 <jralls> There's a German-speaking part of Belgium? I didn't know that!
16:27:10 <gjanssens> There is although it's only a very small region
16:27:28 <jralls> Is that little finger of the Netherlands, the bit that has Maastricht in it, also German-speaking?
16:27:57 <gjanssens> No that part speaks Dutch.
16:28:07 <jralls> Or is the German-speaking part of Belgium the bit east of Liege?
16:28:09 <gjanssens> At least formally
16:28:46 <gjanssens> The Maastricht slang/dialect sounds very much like German in many ways
16:31:22 <jralls> I don't think I've ever heard spoken Dutch, so I mightn't be able to tell.
16:31:57 <gjanssens> :)
16:33:17 <gjanssens> And while there is a "Dutch" speaking part of Belgium, the Belgian "Dutch" is pronounced very differently from the Dutch "Dutch"
16:33:51 <gjanssens> So different even that if I ask something in a shop in Amsterdam in Belgian "Dutch" the shopkeeper usually answers in English...
16:34:32 <gjanssens> Belgian Dutch is usually called Flemish although we formally speak "Dutch"
16:34:37 <gjanssens> Go figure...
16:34:40 <warlord> When I was in Amsterdam/Maastrict a few years ago I was told that I pronounced Dutch like German. :-/
16:34:50 <gjanssens> Anyway, got to go
16:34:56 <gjanssens> See you later
16:34:59 <warlord> Have a great night, gjanssens
16:35:45 <jralls> G'night!
16:37:05 *** gjanssens has quit IRC
17:34:05 *** lmat has joined #gnucash
17:34:18 *** lmat has left #gnucash
17:35:13 *** lmat has joined #gnucash
17:35:20 *** lmat has left #gnucash
17:35:39 *** SteveG has quit IRC
17:38:52 *** floh1111 has quit IRC
17:41:34 *** danley has quit IRC
17:44:56 *** wol has quit IRC
17:53:42 *** rpg has joined #gnucash
18:02:13 *** djf has quit IRC
18:34:57 *** rpg has quit IRC
19:02:00 *** warlord has quit IRC
19:35:08 *** jralls has quit IRC
19:36:02 *** jralls has joined #gnucash
19:36:02 *** gncbot sets mode: +o jralls
20:47:38 *** rpg has joined #gnucash
20:50:12 *** StuM has joined #gnucash
21:40:05 *** mikee has quit IRC
21:51:49 *** jralls has quit IRC
21:52:32 *** jralls has joined #gnucash
21:52:33 *** gncbot sets mode: +o jralls
22:24:23 *** jralls has quit IRC
22:25:35 *** jralls has joined #gnucash
22:25:36 *** gncbot sets mode: +o jralls
22:28:17 *** rpg has quit IRC
23:50:57 *** ErKa has quit IRC