2017-02-06 GnuCash IRC logs

00:00:18 *** mlncn has quit IRC
01:08:29 *** Mechtilde has joined #gnucash
01:14:59 *** fell__ has joined #gnucash
01:17:13 *** fell_ has quit IRC
01:32:17 *** Mechtilde has quit IRC
01:35:29 *** Mechtilde has joined #gnucash
01:36:31 *** CDB-Man_ has quit IRC
01:36:59 *** CDB-Man has joined #gnucash
01:44:21 *** Mechtilde has quit IRC
01:53:29 *** fekepp has quit IRC
01:53:31 *** fekepp has joined #gnucash
01:56:02 *** CDB-Man has joined #gnucash
02:21:58 *** DataWraith has joined #gnucash
02:29:56 *** cartsoftware has quit IRC
02:47:12 *** mrklintscher has quit IRC
02:55:28 *** cartsoftware has joined #gnucash
03:06:22 *** mrklintscher has joined #gnucash
03:34:56 *** fabior has joined #gnucash
03:54:32 *** gjanssens has joined #gnucash
03:54:32 *** ChanServ sets mode: +o gjanssens
03:54:45 <gjanssens> .
04:41:00 *** fekepp has quit IRC
04:51:52 *** fabior has quit IRC
04:59:53 *** fekepp has joined #gnucash
05:01:25 *** fekepp has quit IRC
05:03:56 *** fekepp has joined #gnucash
05:06:45 *** fabior has joined #gnucash
06:03:05 *** fabior has quit IRC
06:17:40 *** mlncn has joined #gnucash
06:22:06 *** fabior has joined #gnucash
07:09:15 *** Jimraehl1 has joined #gnucash
07:09:42 *** Jimraehl1 has quit IRC
07:22:59 *** fabior has quit IRC
08:03:10 *** rickoehn has joined #gnucash
08:49:57 <warlord> movedx: yeah. We've always self-hosted and never had a problem. We're not google ;)
08:58:40 *** fabior has joined #gnucash
09:26:28 *** jonas_ has quit IRC
09:26:50 *** jonas has joined #gnucash
10:56:58 *** fabior has quit IRC
10:59:41 *** mrklintscher has quit IRC
11:02:39 *** O01eg has joined #gnucash
11:11:51 *** fabior has joined #gnucash
11:12:11 *** DataWraith has quit IRC
11:14:06 *** fell__ is now known as fell
11:14:19 *** gncbot sets mode: +o fell
11:23:07 *** fekepp has quit IRC
11:28:58 *** fekepp has joined #gnucash
11:38:04 *** jralls_ has joined #gnucash
11:39:20 *** jralls has quit IRC
11:53:26 *** fekepp has joined #gnucash
12:06:30 *** nicholas has joined #gnucash
12:07:23 <nicholas> i am the only person here
12:07:47 <warlord> nicholas: there are many people here.
12:08:08 <nicholas> it don't look it until you showed up
12:08:29 *** nomeata has joined #gnucash
12:08:50 <warlord> I see 43 people in the channel.
12:09:07 <nicholas> am sorry didn't see that
12:09:43 <nicholas> i had a question with one new update
12:16:46 <nicholas> how come the colors are not showing on the accts after been added?
12:22:33 <warlord> I dont know -- I've never tried using that feature.
12:25:52 *** O01eg has quit IRC
12:27:12 *** jralls_ is now known as jralls
12:30:26 <nicholas> the feature was just added by the new 2.6.15 update
12:31:46 *** ChanServ sets mode: +o jralls
12:32:52 *** Mechtilde has joined #gnucash
12:34:09 <jralls> nicholas: No, the account color option has been around since 2.6.0. We don't generally add features in the stable series.
12:35:02 <nicholas> oh really,how come it won't work even when you add it
12:36:39 <jralls> nicholas: Maybe because you didn't enable it in the Accounts tab in Preferernces? I tested just now and it works fine.
12:39:06 <nicholas> you might be right, it worked thanks alot jralls
12:41:08 <nicholas> thanks alot for answering my question.
12:41:12 *** cartsoftware has quit IRC
12:41:14 *** O01eg has joined #gnucash
12:41:29 *** nicholas has quit IRC
12:49:24 *** cartsoftware has joined #gnucash
12:54:26 *** O01eg has quit IRC
12:57:18 *** cartsoftware has quit IRC
13:09:02 *** O01eg has joined #gnucash
13:13:51 *** kael has joined #gnucash
14:03:21 *** fabior has quit IRC
14:09:14 <lmat> "It'll be easy," he said, "a bunch of find and replace" he said
14:09:18 <lmat> :-P
14:28:36 *** Mechtilde has quit IRC
14:28:49 *** Mechtilde has joined #gnucash
14:29:35 <jralls> lmat: Not so much, eh? What's giving you grief?
14:30:39 <lmat> guile. I was able to find several parts of date-utilities.scm to rewrite so that they didn't create timepairs, but there appears to be a good deal of other code that makes the date-pair assumptions
14:31:02 <lmat> I think the hardest part is reading these error messages :-) I don't know scheme very well (although I'm learning quickly...), so that's probably part o fit.
14:31:54 <jralls> I sort of guessed that might be it.
14:32:18 <lmat> Here's a stack trace: http://paste.ubuntu.com/23942894/
14:36:11 <jralls> Looks pretty clear to me: You changed the arg to a time64 but haven't replaced the timepair-later function with a time64 equivalent.
14:36:27 <lmat> jralls: timepair-later is adjusted.
14:37:38 <lmat> timepair-later is defined as (> t1 t2)
14:39:00 <lmat> What does the "first" function do?
14:39:14 <jralls> Sorry, I looked in the wrong place. list-min-max is what's expecting a pair... or more likely a list of pairs.
14:39:33 <lmat> used in report-collectors.scm:153
14:40:42 <jralls> return the first in a list? That doesn't make sense, though, that's car.
14:41:07 <lmat> jralls: My thoughts exactly.
14:43:47 *** fabior has joined #gnucash
14:45:21 <lmat> Do you happen to know what 'elt' means in list-extras.scm:30? It looks like our code base commonly uses 'elt' as a lambda argument identifier, but here, I think it's a declaration.
14:48:02 <jralls> yeah, it
14:48:39 <jralls> It's declaring elt as the result of (car list), and helper as (cdr list).
14:48:56 <lmat> okay.
14:52:21 <jralls> No, I'm wrong. the let is only for elt. 'helper' is the function we're defining, so the next line is a recursive call.
14:54:01 <lmat> jralls: Good.
14:55:25 <lmat> jralls: So, in list-extras.scm, list-min-max takes a list and a boolean. It calls its own helper function passing the first element of the list, then the rest of the list twice as "list", "min", "max". Good so far?
14:56:46 <jralls> Not quite, it passes the rest of the list and the head twice. car is the first element, cdr is the rest.
14:56:50 <lmat> I said it wrong. it calls helper with
14:56:53 <lmat> yeah :-)
14:57:31 <lmat> So the problem here is that list (as passed to list-min-max) only has one element in it.
14:58:15 <jralls> OK. But it doesn't make sense to get the min and max of a timepair.
14:59:03 <lmat> jralls: yes.
15:02:01 <jralls> Ah, "ordered?" isn't a boolean, it's a function. category-report-dates-intervals is calling (list-min-max (map first datepairs) gnc:timepair-lt), so
15:02:10 *** cartsoftware has joined #gnucash
15:02:18 <lmat> ahhh
15:03:30 *** nomeata has quit IRC
15:03:41 <jralls> (map first datepairs) would be returning a list of values to compare and gnc:timepair-lt is the compare function.
15:04:56 <lmat> Makes sense.
15:05:16 <jralls> That makes sense of helper, which applies--substituting gnc;timepair-lt for ordered, (if (gnc:timepair-lt elt min) elt min), into the second arg of the recursive call.
15:05:38 <lmat> yup.
15:06:35 <lmat> http://srfi.schemers.org/srfi-1/srfi-1.html#first
15:07:31 <lmat> first = car then
15:08:42 <jralls> Ah, intuitively obvious to the most casual observer. So datepairs presumably contains a list of min-max pairs of dates and category-report-dates-intervals wants the min of the mins and the max of the maxes.
15:09:02 <lmat> ooooohh
15:09:07 <warlord> lmat: elt == Element
15:09:17 <lmat> warlord: Ah, that'll help me remember!
15:10:37 <jralls> warlord is infinitely more fluent in Scheme than I, so perhaps I should let him take over....
15:11:01 <jralls> Besides, I need to shut down and head to the airport. Bye.
15:11:03 <warlord> I'm still catching up and didn't pop up the backtrace, but I'm happy to help where I can.
15:11:09 <lmat> jralls: Have a nice flight!
15:11:10 <warlord> Ooh, safe trip, jralls
15:11:12 *** jralls has quit IRC
15:13:10 <lmat> warlord: This breakthrough from jralls was very helpful. To add context: I'm replacing timespec (seconds/milliseconds pairs) with time64 (seconds only). I'll let you know if I meet any more roadblocks!
15:13:52 <warlord> ok
15:14:09 <warlord> Very few places actually depend on the milliseconds in the timespec
15:15:04 <lmat> I don't think I've found any yet, so the conversion tends to be pretty straightforward.
15:28:19 <warlord> Right.
15:31:28 *** fekepp has quit IRC
15:31:34 *** fekepp has joined #gnucash
15:36:12 *** CarwynNelson has joined #gnucash
15:36:30 *** nomeata has joined #gnucash
15:39:49 *** CarwynNelson has left #gnucash
15:40:09 *** CarwynNelson has joined #gnucash
15:58:52 *** nomeata has quit IRC
16:08:28 *** fabior has quit IRC
16:13:00 *** mlncn has quit IRC
16:21:15 *** Mechtilde has quit IRC
16:23:21 *** fabior has joined #gnucash
16:30:58 <lmat> warlord: When I see the function gnc-localtime (for instance, test-split.scm:15), is that referring to the function declared as struct tm* gnc_localtime(...) defined in gnc-date.h ?
16:32:40 *** CarwynNelson has quit IRC
16:38:06 <warlord> Yes (or at least it should be)
16:39:06 <lmat> warlord: Is there a mapping somewhere saying that gnc-localtime = gnc_localtime ?
16:39:53 <warlord> yes: s/_/-/g
16:40:52 <lmat> okay
16:43:06 <lmat> warlord: How do I know which one ours is doing: http://practical-scheme.net/wiliki/schemexref.cgi?current-time
16:45:02 <warlord> lmat: what do you mean?
16:47:13 <lmat> warlord: What does current-time return?
16:47:32 <warlord> A few seconds ago it returned 1486417588
16:47:36 <lmat> According to that website, it could return an opaque time structure, the number of seconds since 1970, ...
16:48:01 <warlord> which appears to be "unix time", e.g. 'time()"
16:48:20 <warlord> I just tried it in guile on my system.
16:48:47 <lmat> warlord: okay.
16:49:28 <warlord> So it returns a time_t (effectively)
16:50:25 <lmat> yeah, that's helpful...I'm getting an error, though: "ERROR: Wrong type (expecting exact integer): #<procedure current-time ()>"
16:50:31 <lmat> Here, let me get a full stack trace...
16:50:57 <lmat> http://paste.ubuntu.com/23943715/
16:53:34 <lmat> warlord: Oh yeah, I think I've modified gnc_localtime on my system. It used to take a timespec, and now it takes time64...I'm pretty sure that's different from master.
16:53:55 <warlord> lmat: did you pass in current-time, or (current-time)? Looks like you passed in the procedure and not the results of executing the procedure?
16:55:07 <lmat> Oh no, looks like I didn't change that. AHH! That's nearly certainly the problem; thanks!
16:55:27 <warlord> FYI, I figured that out by:
16:55:41 <warlord> 50: ?: 0 [gnc-localtime #<procedure current-time ()>]
16:55:41 <warlord> 50:
16:55:41 <warlord> 50: ERROR: In procedure gnc-localtime:
16:55:41 <warlord> 50: ERROR: Wrong type (expecting exact integer): #<procedure current-time ()>
16:55:41 <warlord> 50: (Running #<procedure test-split-in-list? ()>
16:57:05 <lmat> Okay...THAT's what that means :-)
16:57:42 <lmat> I thought it was saying something like, "current-time doesn't return an exact integer", but now I see it's saying "procedure current-time *isn't* an exact integer".
16:59:56 *** mlncn has joined #gnucash
17:00:21 <warlord> Right.
17:09:19 *** gjanssens has quit IRC
17:37:15 *** rickoehn has quit IRC
17:37:19 *** rickoehn has joined #gnucash
17:59:07 *** fabior has quit IRC
18:59:12 *** gncbot has joined #gnucash
19:04:30 <fell> mikee, can you /op gncbot?
19:17:14 *** yuriks has quit IRC
19:18:48 <fell> warlord. didn't we have more infos before in http://wiki.gnucash.org/wiki/index.php?title=Special:ConfirmAccounts/authors&wpShowHeld=0
19:20:00 <fell> I believe, we required they should write something ...
19:21:58 *** yuriks has joined #gnucash
19:23:37 <fell> Ok. it is on the next page
20:01:23 *** yuriks has quit IRC
20:01:23 *** warlord has quit IRC
20:01:23 *** kinlo has quit IRC
20:01:23 *** HuG has quit IRC
20:01:23 *** miklcct has quit IRC
20:01:23 *** rickoehn has quit IRC
20:01:23 *** fekepp has quit IRC
20:01:23 *** codesmythe has quit IRC
20:01:23 *** g5pw has quit IRC
20:01:23 *** gnomeirc has quit IRC
20:01:23 *** movedx has quit IRC
20:01:23 *** kjetilho has quit IRC
20:01:23 *** Simon has quit IRC
20:01:23 *** jethrogb has quit IRC
20:01:23 *** GabrieleV has quit IRC
20:01:23 *** fell has quit IRC
20:01:23 *** jonas has quit IRC
20:01:23 *** cira has quit IRC
20:01:23 *** bertbob has quit IRC
20:01:23 *** linas_ has quit IRC
20:01:23 *** Unhammer has quit IRC
20:01:23 *** xmaka has quit IRC
20:01:23 *** Artefact2 has quit IRC
20:01:23 *** lwells has quit IRC
20:01:23 *** ggherdov_ has quit IRC
20:01:23 *** cartsoftware has quit IRC
20:01:23 *** kael has quit IRC
20:01:23 *** O01eg has quit IRC
20:01:23 *** CDB-Man has quit IRC
20:01:23 *** gnomey has quit IRC
20:01:23 *** Cork has quit IRC
20:01:23 *** jchonig has quit IRC
20:01:23 *** puck has quit IRC
20:01:23 *** lmat has quit IRC
20:01:23 *** wget has quit IRC
20:01:23 *** mikee has quit IRC
20:02:27 *** yuriks has joined #gnucash
20:02:27 *** warlord has joined #gnucash
20:02:27 *** Artefact2 has joined #gnucash
20:02:27 *** jethrogb has joined #gnucash
20:02:27 *** kinlo has joined #gnucash
20:02:27 *** GabrieleV has joined #gnucash
20:02:27 *** HuG has joined #gnucash
20:02:27 *** lwells has joined #gnucash
20:02:27 *** miklcct has joined #gnucash
20:02:27 *** ggherdov_ has joined #gnucash
20:02:27 *** fell has joined #gnucash
20:02:27 *** rickoehn has joined #gnucash
20:02:27 *** fekepp has joined #gnucash
20:02:27 *** cartsoftware has joined #gnucash
20:02:27 *** kael has joined #gnucash
20:02:27 *** O01eg has joined #gnucash
20:02:27 *** jonas has joined #gnucash
20:02:27 *** CDB-Man has joined #gnucash
20:02:27 *** cira has joined #gnucash
20:02:27 *** bertbob has joined #gnucash
20:02:27 *** gnomey has joined #gnucash
20:02:27 *** Cork has joined #gnucash
20:02:27 *** jchonig has joined #gnucash
20:02:27 *** puck has joined #gnucash
20:02:27 *** codesmythe has joined #gnucash
20:02:27 *** lmat has joined #gnucash
20:02:27 *** linas_ has joined #gnucash
20:02:27 *** wget has joined #gnucash
20:02:27 *** Unhammer has joined #gnucash
20:02:27 *** g5pw has joined #gnucash
20:02:27 *** gnomeirc has joined #gnucash
20:02:27 *** xmaka has joined #gnucash
20:02:27 *** movedx has joined #gnucash
20:02:27 *** mikee has joined #gnucash
20:02:27 *** Simon has joined #gnucash
20:02:27 *** kjetilho has joined #gnucash
20:02:27 *** irc.eagle.y.se sets mode: +o mikee
20:08:38 *** rickoehn has quit IRC
20:11:02 *** kael has quit IRC
20:26:56 *** kael has joined #gnucash
20:34:33 *** mlncn has joined #gnucash
20:52:44 *** gncbot has joined #gnucash
21:52:26 *** kael has quit IRC
22:07:38 *** kael has joined #gnucash
22:34:22 *** gncbot has joined #gnucash
22:34:23 *** ChanServ changes topic to "Free GPL Personal and Small Business Accounting || Please don't ask to ask, just ask and wait! (Possibly a few hours!!) || publicly-logged channel || latest stable: 2.6.15 || www.gnucash.org"
22:34:23 *** ChanServ sets mode: +ntr-o gncbot
22:34:50 *** irc.eagle.y.se sets mode: -ntr
22:34:50 *** kael has joined #gnucash
22:34:50 *** mlncn has joined #gnucash
22:34:50 *** yuriks has joined #gnucash
22:34:50 *** warlord has joined #gnucash
22:34:50 *** Artefact2 has joined #gnucash
22:34:50 *** jethrogb has joined #gnucash
22:34:50 *** kinlo has joined #gnucash
22:34:50 *** GabrieleV has joined #gnucash
22:34:50 *** HuG has joined #gnucash
22:34:50 *** lwells has joined #gnucash
22:34:50 *** miklcct has joined #gnucash
22:34:50 *** ggherdov_ has joined #gnucash
22:34:50 *** fell has joined #gnucash
22:34:50 *** fekepp has joined #gnucash
22:34:50 *** cartsoftware has joined #gnucash
22:34:50 *** O01eg has joined #gnucash
22:34:51 *** jonas has joined #gnucash
22:34:51 *** CDB-Man has joined #gnucash
22:34:51 *** cira has joined #gnucash
22:34:51 *** bertbob has joined #gnucash
22:34:51 *** gnomey has joined #gnucash
22:34:51 *** Cork has joined #gnucash
22:34:51 *** jchonig has joined #gnucash
22:34:51 *** puck has joined #gnucash
22:34:51 *** codesmythe has joined #gnucash
22:34:51 *** lmat has joined #gnucash
22:34:51 *** linas_ has joined #gnucash
22:34:51 *** wget has joined #gnucash
22:34:51 *** Unhammer has joined #gnucash
22:34:51 *** g5pw has joined #gnucash
22:34:51 *** gnomeirc has joined #gnucash
22:34:51 *** xmaka has joined #gnucash
22:34:51 *** movedx has joined #gnucash
22:34:51 *** mikee has joined #gnucash
22:34:51 *** Simon has joined #gnucash
22:34:51 *** kjetilho has joined #gnucash
22:34:51 *** irc.eagle.y.se sets mode: +obbb mikee *!stormroof@*.cable.dyn.cableonline.com.mx *!*@178.151.220.246 *!Rasmusolle@*.tbcn.telia.com
22:34:51 *** irc.eagle.y.se sets mode: +ntr
23:05:36 *** kael has quit IRC
23:29:11 *** NickName9879 has joined #gnucash
23:31:45 <NickName9879> I just downloaded the 2.6.15 update, and wanted to say it looks great, and thanks to the devs, and you guys here providing support. It's great software.
23:31:47 *** NickName9879 has left #gnucash