2016-10-25 GnuCash IRC logs

01:51:37 *** meb has joined #gnucash
01:54:31 *** iliv has joined #gnucash
02:06:38 *** iliv has quit IRC
02:08:10 *** iliv has joined #gnucash
02:10:39 *** iliv has quit IRC
02:14:36 *** gour has joined #gnucash
02:21:14 *** iliv has joined #gnucash
03:12:12 *** meb has quit IRC
03:24:43 *** gjanssens has joined #gnucash
03:24:43 *** ChanServ sets mode: +o gjanssens
03:46:18 *** GabrieleV has quit IRC
03:52:28 *** GabrieleV has joined #gnucash
03:55:30 *** GabrieleV has quit IRC
04:01:57 *** GabrieleV has joined #gnucash
04:08:06 *** GabrieleV has quit IRC
04:09:14 *** meb has joined #gnucash
04:14:27 *** GabrieleV has joined #gnucash
04:22:08 *** GabrieleV has quit IRC
04:34:57 *** GabrieleV has joined #gnucash
05:42:39 *** jonas_ has quit IRC
05:46:21 *** jonas has joined #gnucash
05:46:51 *** jonas has joined #gnucash
05:49:07 *** rubdos has quit IRC
05:58:27 *** fabior has joined #gnucash
06:15:58 *** myNameIsTaken has quit IRC
06:18:19 *** fabior has quit IRC
07:03:27 *** Jimraehl1 has joined #gnucash
07:03:42 <warlord> Good news, making progress. The new server is installed in the rack and running an OS. I had to re-partition the main drive (silly installer didn't put all 3TB into a VG -- left it unpartitioned). I also converted the SSDs into enterprise class by adding an additional 22% over-provisioning. Formatted that leaves me ~1.5TB
07:04:10 *** Jimraehl1 has quit IRC
07:04:23 *** Jimraehl1 has joined #gnucash
07:07:49 <warlord> Next step: install ovirt. That will continue next weekend when I return from this trip.
07:10:24 <gour> @warlord you prefer having your own server over VPS?
07:10:24 <gncbot> gour: Error: "warlord" is not a valid command.
07:10:35 <gour> warlord: you prefer having your own server over VPS?
07:12:00 *** iliv has quit IRC
07:12:30 <warlord> gour: absolutely
07:12:41 <warlord> how does the VPS protect my data?
07:12:44 <warlord> Where is the data living?
07:12:54 <warlord> How do I know they aren't giving it to some gov't?
07:13:05 <warlord> What if the VPS goes out of business? then what?
07:13:36 <warlord> Also, relatively speaking, VPSes are expensive. I get a ROI in about 2-3 years. My last VM hardware was purchased 8 years ago.
07:13:47 <warlord> Anyways, gotta run. TTFN
07:13:57 *** warlord has quit IRC
07:21:02 *** rubdos has joined #gnucash
07:30:58 *** meb has quit IRC
08:05:57 *** iliv has joined #gnucash
08:56:43 *** mlncn has joined #gnucash
09:11:30 *** fabior has joined #gnucash
09:53:30 *** fabior has quit IRC
09:58:54 *** bertbob has quit IRC
10:03:56 *** bertbob has joined #gnucash
10:06:18 *** jralls has quit IRC
10:37:11 *** rubdos has quit IRC
11:06:52 *** jralls has joined #gnucash
11:06:53 *** ChanServ sets mode: +o jralls
11:12:33 *** jralls has quit IRC
11:15:10 *** rubdos has joined #gnucash
12:17:28 *** Maleficoninin has joined #gnucash
12:30:56 *** Maleficoninin has quit IRC
12:32:42 *** jralls has joined #gnucash
12:32:42 *** ChanServ sets mode: +o jralls
13:07:13 *** gnomey has quit IRC
13:09:39 *** iliv has quit IRC
13:12:00 *** mlncn has quit IRC
14:07:26 *** Mechtilde has joined #gnucash
14:09:22 *** fabior has joined #gnucash
14:14:49 *** mlncn has joined #gnucash
14:47:25 *** mlncn_ has joined #gnucash
14:49:56 *** mlncn has quit IRC
15:16:22 *** mlncn_ has quit IRC
15:16:29 *** Mechtilde has quit IRC
15:56:09 *** mlncn has joined #gnucash
16:00:49 *** mlncn has quit IRC
16:17:29 *** mlncn has joined #gnucash
16:28:58 *** gour has quit IRC
16:30:21 *** mlncn has quit IRC
16:31:30 *** gour has joined #gnucash
16:32:02 <lmat> jralls: What should I do next?
16:34:28 <lmat> jralls: I see you're in the thick of it with a backend rewrite :-) I remember you mentioning removing business logic from the view layer a while back...or is there anything else on your mind?
16:39:39 <lmat> Also, what is the status of the cmake build system in gnucash? Is it complete enough for me to use for make check, or is it omitting significant parts of the project?
16:42:48 *** gjanssens has quit IRC
16:59:16 <jralls> lmat: Cmake and ninja work fine and run all of the tests, so you certainly can use it if you like.
17:03:13 *** mlncn has joined #gnucash
17:03:58 <jralls> lmat: As for what next, there's some grunt-work if you're willing: Cleaning up the GUI code so that it's only display and getting rid of the duplication between register and register2 is certainly high on the list of stuff that needs to be done. Replacing Timespec with time64 is pure search-and-replace, but it needs to be done, then remove all of the timespec APi from libqof.
17:04:48 <lmat> jralls: Oh yeah, I had worked on the timespec thing before. I'll take a look at that.
17:07:37 <jralls> lmat: The next somewhat creative work is to make a QofQuery implementation that uses SQL and use it when the QofSession has a SQL backend loaded.
17:08:40 <jralls> OK, great.
17:11:11 <lmat> jralls: That will conflict directly with your c++-backend work?
17:11:42 <jralls> Removing Timespec?
17:13:51 <lmat> jralls: no, making qofquery that uses SQL.
17:19:12 <jralls> Won't conflict because we never implemented the query API. I think what I have so far can be merged pretty soon. I just rebased on master, I'll install and see if it will load my (rather large) production DB. I need to write some unit tests now that I have clean classes to test, but that can go in parallel.
17:20:00 <lmat> excellent.
17:20:26 <jralls> Once it's merged and you've had a look over the QofQuery code we can work out an API between the two.
17:23:12 <jralls> lmat: Does Docker work in Debian?
17:23:43 <lmat> jralls: I assume so! I'm sure there's some kernel version it requires... it only works in amd64
17:24:38 <lmat> jralls: debian is supported: https://docs.docker.com/engine/installation/linux/debian/
17:25:06 <jralls> Yup, doing that in my Jessie VM now.
17:25:52 <lmat> jralls: Have you used docker before?
17:26:05 <jralls> Nope.
17:26:16 <lmat> jralls: There is some information I wish I had before I started:
17:26:54 <lmat> jralls: An image is basically the state of a computer. It's immutable. It's made up of "steps" (just like git commits) to get to the "HEAD" (but they don't call it that).
17:27:23 <lmat> jralls: When you run or "instantiate" an image, a container is created.
17:27:44 <lmat> jralls: docker images; shows all images. docker rmi; removed images. docker ps -a; shows all containers docker rm; removes containers.
17:27:56 <lmat> jralls: I experienced a good deal of pain without this knowledge :-(
17:28:30 <jralls> lmat: OK, thanks.
17:36:19 *** mlncn has quit IRC
17:40:27 <jralls> lmat: Do I understand correctly that a "container" is a running instance of an "image"?
17:42:21 *** fabior has quit IRC
17:50:38 *** warlord has joined #gnucash
17:50:38 *** gncbot sets mode: +o warlord
18:16:45 *** gour has quit IRC
18:52:17 *** mlncn has joined #gnucash
19:01:42 *** mlncn has quit IRC
21:05:31 <lmat> jralls: yes.
21:06:02 <lmat> jralls: Every time you docker run ...; an image, it creates a new container (I think).
21:07:40 <jralls> OK. Is the container interactive, or does it just run the string of commands you pass to docker run?
21:08:05 <lmat> jralls:
21:08:32 <lmat> jralls: oops You can attach your stdin, stdout, and stderr to a particular process of the container if you like, but by default, no.
21:09:25 <jralls> Hmm. I
21:09:53 <jralls> Sigh. Well, I'm not going to get that figured out before dinner.
21:09:59 <lmat> jralls: Let's see... I'm not exactly sure how to do it... first things first: docker run takes a "command" and arguments. make sure to specify bash -i
21:10:38 <lmat> jralls: So the command that I make it run is a script I created at /run (inside the container).
21:11:08 <jralls> Meanwhile I got a crash trying to load my SQL file into GnuCash. Rolled back to master before today's PR and I still get it. It's a free of unallocated memory from a guid kvp-value.
21:11:48 <lmat> :-o
21:13:41 <lmat> there it is docker run -t lmat/gnucash-build /bin/bash -i;
21:15:35 <jralls> I'm summoned for dinner. Tomorrow's Habitat day, so back Thursday morning.
21:15:44 *** jralls is now known as jralls_afk
21:17:59 <lmat> World habitat day was a couple weeks ago, but who's counting? ;-)
21:18:05 <lmat> (I see Oct 3 on the website)
21:49:03 *** mikee has quit IRC
21:51:48 *** mikee has joined #gnucash
21:51:48 *** ChanServ sets mode: +o mikee
22:01:04 *** cyphase_ is now known as cyphase
22:05:21 <cyphase> i have an account where the transaction dates are in UTC, while i'm UTC-8/UTC-7. I have a future transaction dated for 2016-10-26 into that account. it's still the 25th where i am, but it's the 26th in UTC, and that transaction has gone through, but is still regarded as in the future in gnucash. now, if i were to transfer that money out while it's still the 25th here (into an account that would consider it as coming in on the 25th),
22:05:21 <cyphase> there's going to be a discrepancy. any suggestions for how to handle that?
22:10:01 <warlord> cyphase: dont worry about what date the bank says it is, worry about your own view and then clear/reconcile with the bank's view(s)
22:17:15 <cyphase> right, that's what i was leaning towards; thanks for confirming
22:18:17 <cyphase> regarding reconciliation; i remember reading something in the docs some time in the past about not being able to move accounts around / change parents after reconciling? or at least, that if you did, something would go wrong. any idea what that would be?
22:18:35 <warlord> nope.
22:18:55 <warlord> you can't move transactions in the reconciled account, but you can restructure your accounts.
22:18:56 <cyphase> so there's never any issue with moving accounts around then?
22:19:05 <cyphase> hmm, maybe that was it then
22:19:20 <cyphase> and that makes more sense
22:20:38 <cyphase> and can you move the "other side" of reconciled transactions, e.g. from expenses:food to expenses:dining and expenses:groceries?
22:21:07 <cyphase> but still coming from your bank account, where it's reconciled
22:21:44 <warlord> yes, that works..
22:22:00 <cyphase> okay, just curious. thanks