2020-03-19 GnuCash IRC logs

00:07:27 *** jervin has joined #gnucash
00:11:55 *** omnireq_ has quit IRC
00:12:24 *** omnireq_ has joined #gnucash
00:28:07 *** jervin has joined #gnucash
00:33:25 *** omnireq_ has quit IRC
00:33:46 *** omnireq_ has joined #gnucash
00:54:55 *** omnireq_ has quit IRC
00:55:06 *** omnireq_ has joined #gnucash
00:55:26 *** jralls_ has joined #gnucash
00:55:36 *** jralls has quit IRC
01:00:09 *** omnireq__ has joined #gnucash
01:00:55 *** omnireq_ has quit IRC
02:14:30 *** fell has quit IRC
02:15:37 *** fell has joined #gnucash
02:15:37 *** ChanServ sets mode: +o fell
02:22:39 *** sbluhm has joined #gnucash
02:31:05 *** Mechtilde has joined #gnucash
03:04:38 *** sbluhm has quit IRC
03:22:31 *** sbluhm has joined #gnucash
03:22:31 *** ChanServ sets mode: +v sbluhm
04:07:12 *** hussam has quit IRC
04:07:35 *** parsnip has quit IRC
04:07:37 *** parsnip has joined #gnucash
04:08:40 *** hussam has joined #gnucash
04:08:40 *** ChanServ sets mode: +v hussam
04:19:31 *** storyjesse has joined #gnucash
04:20:14 <chris> swig is annoying...
04:46:46 *** chris has quit IRC
04:47:32 *** chris has joined #gnucash
04:47:32 *** ChanServ sets mode: +v chris
04:50:15 *** sbluhm has quit IRC
05:09:02 *** Aussie_matt has quit IRC
05:31:21 *** User has joined #gnucash
05:36:17 *** Aussie_matt has joined #gnucash
06:43:04 *** ramontjunior has joined #gnucash
07:18:18 *** SorenV has joined #gnucash
07:28:19 *** sbluhm has joined #gnucash
07:28:19 *** ChanServ sets mode: +v sbluhm
07:31:19 *** sbluhm has quit IRC
07:35:25 *** omnireq__ has quit IRC
07:35:49 *** omnireq__ has joined #gnucash
07:42:34 *** fabior has joined #gnucash
07:47:54 *** sbluhm has joined #gnucash
07:56:55 *** omnireq__ has quit IRC
07:57:05 *** omnireq__ has joined #gnucash
07:59:07 *** omnireq_ has joined #gnucash
08:00:20 *** omnireq__ has quit IRC
08:03:59 *** User has quit IRC
08:16:29 *** fabior has quit IRC
08:17:03 *** fabior has joined #gnucash
08:18:55 *** omnireq_ has quit IRC
08:19:19 *** omnireq_ has joined #gnucash
08:21:34 *** fabior has quit IRC
08:22:01 *** Aussie_matt has quit IRC
08:40:25 *** omnireq_ has quit IRC
08:40:38 *** omnireq_ has joined #gnucash
08:48:49 *** lagertonne has quit IRC
09:17:09 *** Jimraehl1 has joined #gnucash
09:18:18 *** Jimraehl1 has quit IRC
09:56:11 *** Agfarmer18 has joined #gnucash
09:56:27 *** Agfarmer18 has quit IRC
09:58:47 *** Agfarmer18 has joined #gnucash
10:20:53 *** Hamaryns has joined #gnucash
10:20:53 *** ChanServ sets mode: +v Hamaryns
10:47:12 *** mohave has joined #gnucash
10:55:21 *** fabior has joined #gnucash
10:55:35 *** Hamaryns has quit IRC
11:16:16 <chris> UI is hard(TM)
11:16:53 <warlord> LOL
11:19:01 *** lmat has joined #gnucash
11:32:56 <chris> It would have been nice to have Visual Basic for GTK
11:35:51 <chris> jralls_ I hope you realize my coding style is to try various shift-NUMBER punctuations !@#$ until gcc stops barfing
11:42:55 *** omnireq_ has quit IRC
11:43:05 *** omnireq_ has joined #gnucash
11:58:25 *** Gerd has joined #gnucash
12:00:51 *** lagertonne has joined #gnucash
12:07:54 *** Agfarmer18 has quit IRC
12:17:18 *** guak has joined #gnucash
12:17:42 *** User has joined #gnucash
12:24:25 *** omnireq_ has quit IRC
12:25:18 *** storyjesse has quit IRC
12:25:34 *** omnireq_ has joined #gnucash
12:26:04 *** Unhammer has joined #gnucash
12:28:01 *** fabior has quit IRC
12:44:24 *** jralls_ has quit IRC
12:44:38 *** jralls has joined #gnucash
12:45:39 *** sbluhm has quit IRC
12:52:50 <jralls> chris, Re. Visual Basic for GTK: Ewww!
12:55:19 <jralls> chris, Swig might be a pain but hand-coding the bindings in C would be a lot more painful.
13:03:38 *** sbluhm has joined #gnucash
13:03:38 *** ChanServ sets mode: +v sbluhm
13:07:47 <warlord> swig is actually a pretty decent tool to create bindings. It's better than any other tool I've seen out there. Go look up "g-wrap" for some prior-to-swig history! Swig makes it very easy to wrap most stuff directly; you only need to deal with special/corner cases.
13:08:26 <jralls> Agreed. Swig is a hack, but it's an *amazing* hack.
13:11:07 *** ChanServ sets mode: +o jralls
13:13:15 *** calvinct has joined #gnucash
13:22:38 <warlord> whereas g-wrap was an awful hack
13:29:23 *** calvinct has quit IRC
13:31:17 <jralls> Ever try Boost::python? it's pretty reasonable and takes good advantage of the (increasing!) similarity between the two languages.
13:32:53 *** sbluhm has quit IRC
13:34:11 <warlord> nope.
13:46:23 *** ArtGravity has joined #gnucash
13:46:23 *** ChanServ sets mode: +v ArtGravity
13:46:47 *** jervin has joined #gnucash
13:56:35 *** Gerd has quit IRC
14:02:49 <fell> My current town is now locked down because of the virus.
14:14:44 *** sbluhm has joined #gnucash
14:14:44 *** ChanServ sets mode: +v sbluhm
14:17:03 <jralls> fell: We have been since 00:01 Tuesday. We're supposed to stay home except for essential errands like groceries and medical appointments. "Essential" businesses are allowed to stay open. Tesla is arguing with the county about how essential its production lines are.
14:18:10 *** Han has quit IRC
14:18:26 *** Han has joined #gnucash
14:19:24 <fell> jralls: It is very similar here.
14:19:41 <jralls> Are your schools shut?
14:20:57 <fell> I believe the country has shut down schools, kindergardens, ... somewhen last week
14:24:19 <jralls> We've done that in California. It corresponded more-or-less with spring break so they just said "don't come back for a while". The Governor is muttering about not opening them back up till fall.
14:30:56 <fell> It is simple math; keep the number of badly infected below the number of beds on intense care stations.
14:31:35 <jralls> Yeah, I understand the reasoning, and the way it took off in Italy has everyone spooked.
14:33:29 <fell> DE has 28k beds for ~ 80M people, UK 4k for ~60M, italy is similar.
14:48:17 <warlord> our schools are shut down here in Atlanta, Georgia.. Home school for at least 3 weeks. Spring Break isn't until April
14:57:29 *** sbluhm has quit IRC
15:04:58 *** Gerd has joined #gnucash
15:29:44 *** sbluhm has joined #gnucash
15:29:44 *** ChanServ sets mode: +v sbluhm
15:46:39 *** frakturfreak has joined #gnucash
15:46:39 *** ChanServ sets mode: +v frakturfreak
16:06:17 *** ramontjunior has quit IRC
16:09:02 *** mohave has quit IRC
16:52:04 *** Mechtilde has quit IRC
17:24:53 *** Han has quit IRC
17:32:03 *** jervin has quit IRC
17:35:13 *** Gerd has quit IRC
17:37:13 *** sbluhm has quit IRC
17:37:58 *** mauritslamers has quit IRC
17:39:44 *** sbluhm has joined #gnucash
17:39:44 *** ChanServ sets mode: +v sbluhm
17:47:59 *** sbluhm has quit IRC
17:59:37 *** jralls has quit IRC
17:59:46 *** jralls has joined #gnucash
17:59:46 *** ChanServ sets mode: +o jralls
18:06:19 *** frakturfreak has quit IRC
18:13:02 *** JayC has quit IRC
18:13:24 *** ArtGravity has quit IRC
18:18:13 *** JayC has joined #gnucash
18:18:13 *** ChanServ sets mode: +v JayC
18:26:01 *** oozer has joined #gnucash
18:26:19 *** User has quit IRC
18:27:03 *** jervin has joined #gnucash
18:48:41 <chris> is C++ approaching a lisp then? ^_^
18:50:33 *** bertbob has quit IRC
18:52:33 <chris> world starting to look like "28 days later"
18:54:24 *** bertbob has joined #gnucash
18:54:28 *** ChanServ sets mode: +v bertbob
19:27:51 *** bertbob has quit IRC
19:29:35 *** SorenV has quit IRC
19:34:50 *** bertbob has joined #gnucash
19:34:51 *** ChanServ sets mode: +v bertbob
19:40:27 <jralls> chris, world starting to look like too many people watched 28 days later too many times.
19:40:44 *** storyjesse has joined #gnucash
19:44:44 <chris> if (date != INT64_MAX)
19:44:46 <chris> list = g_list_prepend(list, GINT_TO_POINTER (date));
19:45:00 <chris> this GINT_TO_POINTER causes coredump
19:45:08 <chris> or g_list_prepend
19:46:19 <chris> laptops all sold out in our city :)
19:47:31 <jralls> If it really did create a core you can run gdb on it directly and see which one caused the crash, but it's most likely that list became invalid somehow.
19:48:38 *** storyjesse has quit IRC
19:48:39 <jralls> Hmm, maybe not. GINT_TO_POINTER could be even more dangerous than usual on a machine where an int is 32 bits and a ptr is 64.
19:49:09 *** guak has quit IRC
19:51:42 <chris> mea culpa I'd forgotten to initialize list to nullptr
19:52:12 <jralls> https://developer.gnome.org/glib/stable/glib-Type-Conversion-Macros.html even specifically warns not to use GINT_TO_POINTER on anything bigger than an int32_t.
19:52:44 <chris> so, use my own macro?
19:52:57 *** SorenV has joined #gnucash
19:53:16 <jralls> One immediate problem is that we build for 32 bits on Windows so an int64_t is to big to fit in a ptr.
19:55:58 *** tonysoar has joined #gnucash
19:58:25 <jralls> You'll have to allocate the space for the time64. Use https://developer.gnome.org/glib/stable/glib-Memory-Slices.html and https://developer.gnome.org/glib/stable/glib-Doubly-Linked-Lists.html#g-list-free-full, passing g_slice_free in the second arg when you release the list.
19:59:01 <chris> ok.thx gtg now!
20:11:17 *** oozer has quit IRC
20:27:44 *** Agfarmer18 has joined #gnucash
20:57:14 *** SorenV has quit IRC
21:23:43 *** tonysoar has quit IRC
21:38:07 *** Aussie_matt has joined #gnucash
22:04:53 *** Agfarmer18 has quit IRC
22:22:55 *** omnireq_ has quit IRC
22:23:34 *** omnireq_ has joined #gnucash
23:01:33 *** jervin has quit IRC