2023-12-23 GnuCash IRC logs

00:41:52 *** fell has quit IRC
00:48:40 *** fell has joined #gnucash
00:48:40 *** ChanServ sets mode: +o fell
00:54:20 *** NoobAlice has quit IRC
01:30:41 *** fell has quit IRC
01:32:00 *** fell has joined #gnucash
01:32:01 *** ChanServ sets mode: +o fell
02:06:27 *** mechtilde has joined #gnucash
04:29:11 *** gjanssens has joined #gnucash
04:29:11 *** ChanServ sets mode: +o gjanssens
07:22:44 *** sunyibo has joined #gnucash
07:22:44 *** ChanServ sets mode: +v sunyibo
09:02:59 *** tom has quit IRC
09:03:30 *** tom has joined #gnucash
09:04:05 *** tom is now known as WebManOfFesto
09:05:51 *** WebManOfFesto has quit IRC
09:27:05 *** ChanServ sets mode: +v markspace
09:27:09 <markspace> ah
09:27:50 <markspace> i've been trying to connect to the libgnucash enging and am getting this error; Zx$44?bstni2EXceE.9w
09:28:01 <markspace> s/enging/engine
09:28:22 <markspace> bah, here's the paste link; https://pastebin.com/JpByh7tk
09:52:42 <warlord> Interesting. Looks like something going wrong in qof_session_load. What happens if you try to File -> Open that data file in GnuCash app?
09:54:06 <markspace> warlord, it opens no problem
09:54:32 <markspace> I've been parsing through the source trying to derive how to properly initialize the library and start making calls in to it.
09:55:05 <markspace> i have an app that can go straight to the sql, but I would rather very much to use the library.
10:01:12 <warlord> Agree, going through the library is better.
10:01:41 <warlord> I have not used the library (and it's changed much since I had my head wrapped around it). You may need to wait for jralls to gjanssens to pipe up.
10:21:48 <markspace> ya, ok, thank you :)
10:22:39 <markspace> I have succesfully opened it, and even dumped the account list from root, and so I know I got that far... but there's LOT under the hood there.
10:57:03 *** sunyibo has quit IRC
11:43:41 <gjanssens> markspace: I don't have much to add here. I have not been very active lately due to lack of time...
11:43:41 <gncbot> gjanssens: Sent 8 weeks, 6 days, 21 hours, and 27 minutes ago: <jralls> Yesterday gncbot needed to be op'd. I did that and relayed your messages to chris.
11:43:42 <gncbot> gjanssens: Sent 8 weeks, 6 days, 21 hours, and 24 minutes ago: <jralls> As for cmake 3.19 and code, I guess we need it for flatpak builds?
11:43:43 <gncbot> gjanssens: Sent 8 weeks, 6 days, 15 hours, and 16 minutes ago: <chris> I guess the issue about c++ ctor/dtor is that it becomes more difficult to determine the exact order of init/shutdown
11:44:22 <markspace> gjanssens, hey, no worries, thanks for responding.
11:44:30 <gjanssens> jralls, fell: github has been nagging me recently about the requirement for 2fa if I want to continue pushing to our repos
11:44:49 <gjanssens> What solutions have you picked to setup 2fa for your accounts ?
11:46:06 <fell> 2fa?
11:46:35 *** chris has joined #gnucash
11:46:35 *** ChanServ sets mode: +v chris
11:46:44 <chris> ooh a nice looking invoice css https://github.com/Nockiro/gnucash-scm
11:55:20 <jralls> fell, "2fa" means two-factor authentication, a security measure that requires you to supplement using a password with a second method when logging in.
11:58:07 <chris> markspace: it would be nice to see your code pushed somewhere... debugging the library is a perennial project
11:58:30 <jralls> gjanssens, I use an authenticator app on my phone for all sites that support it, which includes github. I bought a couple of yubi-keys but I haven't figured out the best way to deploy them yet.
11:59:08 * chris uses sms
12:00:44 <gjanssens> Thanks for the feedback. Does the authenticator app use without requiring your direct input ? Or do you need to enter some kind of password/fingerprint scan each time it's used ?
12:00:57 <gjanssens> sms seems even more cumbersome.
12:02:20 <jralls> The security experts say sms isn't very secure because it's possible for the bad guys to take over your phone number, but that might be a problem mostly in the US which doesn't have very good mobile phone regulation.
12:02:38 <markspace> chris, this is totally a work in progress... very new... just finding my way through the docs and api's and all that...
12:02:42 <markspace> https://github.com/lorimark/gnucashew
12:04:23 <jralls> As for authenticating the authenticator app, I have mine set to use face id on my iphone, but that's optional. The supposed benefit of the yubi-key is that the authentication lives on the little chip that's separate from anything else.
12:05:40 <jralls> You plug it in to the computer or hold it near the phone to perform the second authentication. Reputedly the most secure but potentially very cumbersome which is why I haven't deployed mine yet.
12:06:06 <chris> markspace: nice start... irc/bugzilla are best
12:07:16 <markspace> chris, thanks. if i can crack the libgnucash api, then I think I'm in pretty good shape.
12:09:44 <jralls> markspace, you'll have to be patient and study. The libgnucash API was never really designed, it's just grown over 25 years. I trust you've found the Doxygen docs at https://code.gnucash.org/docs.
12:10:59 <markspace> jralls, hi. ya... I know. I've _been_ studying :) I can see the organic growth of it all. quite a project.
12:11:17 <markspace> I managed to get ~in~ via direct-sql, but I don't want to do that. Really want the library.
12:11:36 <markspace> just got it to 'open' yesterday... so... yahoo :)
12:13:16 <jralls> If you know Python you might try using the Python bindings. There are some examples in bindings/python/examples though they may be a little bit-rotted. Python will give you a quicker edit-compile-run cycle time than does C.
12:15:03 <jralls> You might also look at the test code for those functions that have tests. They'll at least show you one way to use the function that's sure to work because it runs on every push.
12:15:54 *** palerider has joined #gnucash
12:17:21 *** NoobAlice has joined #gnucash
12:19:19 <markspace> jralls, yes, I did see the tests and have studied them very closely.
12:20:07 <markspace> I know y'all don't really have time to support some 3rd party in here, so I'll not muddy up this space.
12:20:18 <markspace> but, this is what got me started in here this morning;
12:20:20 <markspace> https://pastebin.com/JpByh7tk
12:20:57 <markspace> seems to work anyhow, even with that message. Just didn't understand the consequence.
12:28:47 <gjanssens> jralls: tx. I have been considering a yubikey or nitrokey as well, but will probably end up with some authenticator app on my smartphone for the time being as well...
12:38:35 *** chris has quit IRC
12:51:17 *** palerider has left #gnucash
13:06:26 <warlord> gjanssens, I use Google Authenticator as my generic 2FA.. Or SMS.
13:07:16 <warlord> gjanssens, it just displays a 6-digit code (per account) that changes every minute.
14:00:21 <gjanssens> warlord: Ah! I'm already using Aegis for generic 2FA on other services. It works the same way. I'll probably start with that one then.
14:04:19 *** gjanssens has quit IRC
16:42:28 *** mechtilde has quit IRC
20:00:02 *** raghukamath has quit IRC
20:17:44 *** raghukamath has joined #gnucash
20:17:44 *** ChanServ sets mode: +v raghukamath
20:55:14 *** chris has joined #gnucash
20:55:14 *** ChanServ sets mode: +v chris
21:41:14 *** chris has quit IRC
21:48:54 *** jralls has quit IRC
21:50:02 *** jralls has joined #gnucash
21:50:02 *** ChanServ sets mode: +o jralls
23:23:48 *** pl0ni has joined #gnucash
23:23:48 *** ChanServ sets mode: +v pl0ni
23:27:15 *** chris has joined #gnucash
23:27:16 *** ChanServ sets mode: +v chris
23:30:42 *** pl0ni has quit IRC
23:31:02 *** pl0ni has joined #gnucash
23:31:02 *** ChanServ sets mode: +v pl0ni
23:32:34 *** pl0ni has quit IRC
23:49:26 *** Aussie_matt has joined #gnucash