MythLogBot@irc.libera.chat :: #mythtv

Daily chat history

Current users (24):

ChanServ, frobnic, gigem, gregl, GreyFoxx_, gtb, hampton, ijc, knowledgejunkie, mkbloke, MythLogBot, ooshlablu, peper03, poptix, sphery, troyt, xris, zbot, Warped, DevMythNotifyBot, TechMonk, MythBuild, tonsofpc1, amessina_
Thursday, August 26th, 2021, 05:35 UTC
[05:35:41] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has quit (Read error: Connection reset by peer)
[05:35:55] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has joined #mythtv
[06:11:03] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv
[06:57:37] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has quit (Ping timeout: 252 seconds)
[06:57:51] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has joined #mythtv
[09:53:40] stuarta: i like the look of QStateMachine
[10:35:39] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!)
[10:51:13] warpme_ (warpme_!uid391875@id-391875.helmsley.irccloud.com) has joined #mythtv
[11:09:30] stuarta: dear god, our creation of DB access is a convoluted mess
[11:09:44] stuarta: also a rabbit hole that keeps going down and down and down
[11:16:07] gregl (gregl!~gregl@cpe-24-194-253-7.nycap.res.rr.com) has quit (Ping timeout: 252 seconds)
[11:21:03] hampton: DB access or creating of the DB itself?
[11:23:44] stuarta: hampton: i'm investigate the sequence of events the backend takes to get to the point where it has connected to the DB
[11:24:23] stuarta: in order to support configuration of the backend via the webserver, even from the point of not having a database to talk to
[11:24:57] stuarta: ie. the API comes up sufficiently to allow configuration of the database
[11:25:06] stuarta: and then we can continue from there
[11:25:31] stuarta: curious the first time a DB connection is attempted is in the TZ check
[11:26:09] hampton: OK. I though you were talking about the initial database creation that immediately has 126 patches applied. :-/
[11:26:24] stuarta: that's another different problem to tackle
[11:26:32] hampton: :-)
[11:26:41] stuarta: todo_list.push_back()
[11:26:58] hampton: todo_list.drop_back()
[11:27:08] stuarta: todo_list.truncate()
[11:27:10] stuarta: = happiness
[11:27:15] hampton: Your todo_list is too long.
[11:27:23] stuarta: indeed
[11:32:24] stuarta: now i need to work out where the dbconnection details get pulled in
[11:37:50] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv
[12:30:02] gregl (gregl!~gregl@cpe-24-194-253-7.nycap.res.rr.com) has joined #mythtv
[13:06:49] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[13:06:49] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[13:27:26] amessina (amessina!~amessina@user/amessina) has joined #mythtv
[13:49:02] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Remote host closed the connection)
[13:49:41] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[13:49:41] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[13:49:52] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Client Quit)
[13:50:17] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!)
[14:29:26] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[14:29:26] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[14:31:29] peterbennett: stuarta: Authentication: Presumably that is to prevent random people on the internet from messing with your system?
[14:33:54] ooshlablu (ooshlablu!~ooshlablu@2601:18d:4600:43f0:a038:14ff:fe50:8510) has quit (Remote host closed the connection)
[14:33:58] stuarta: potentially, but mainly the general theory is the core configuration bits that shouldn't be messed with without reason
[14:34:21] stuarta: such as DB configuration
[14:34:30] stuarta: as an example
[14:35:05] ooshlablu (ooshlablu!~ooshlablu@2601:18d:4600:43f0:a038:14ff:fe50:8510) has joined #mythtv
[14:35:26] peterbennett: So mainly for the web pages, rather than the services?
[14:36:03] stuarta: you need to protect the services themselves, otherwise you have no security
[14:36:15] peterbennett: For the services I would say you should have a way of turning off all authentication so that legacy systems still work.
[14:36:24] stuarta: all the /Config and /setup bits on the webfrontend were protected
[14:36:55] stuarta: only planning right now to add it to the above url bases
[14:36:59] stuarta: (services under)
[14:37:14] peterbennett: There is the ip address filtering to keep internet users out unless you disable that.
[14:37:17] stuarta: ie. none of the current proper services api
[14:38:16] stuarta: the decision to enforce it hasn't been coded yet, but that could easily take into account if the remote user is local or not
[14:38:27] peterbennett: The current service api has plenty of things that people could mess with if they wanted to sabotage you.
[14:38:34] stuarta: yup
[14:39:40] stuarta: what probably makes sense is
[14:39:59] stuarta: 1) that flag can be used for anything which *always* requires auth
[14:40:31] stuarta: 2) remote users should always have to authenticate, whilst local users do not
[14:41:41] stuarta: we are currently at 3 = no auth, apart from /Config and /setup
[14:42:42] peterbennett: OK, remember that by default anybody not on the local subnet is already blocked entirely from connecting.
[14:43:13] stuarta: forgot about that
[14:44:04] peterbennett: There is a setup option to enable or disable that.
[14:44:15] peterbennett: by default they are blocked
[14:44:46] stuarta: the main use I see for my code in the short term, is replacing the legacy /Config webfronend bits, with a /Config services API
[14:45:29] peterbennett: OK.
[14:46:38] peterbennett: My idea for service APIS is that the converted ones all have the V2 prefix on the file and class names, but that new things that are only in the new server do not have that.
[14:46:40] stuarta: which i'm looking at as part of a bigger picture to get the whole of the backend configured via the webserver & api
[14:47:13] peterbennett: Hence the "Preformat" which is not V2Preformat.
[14:47:23] stuarta: makes sense
[14:47:42] hampton: They should all have a version prefix. Otherwise, how would you update them if necessary?
[14:49:12] stuarta: hampton: the api itself isn't versions. ie nothing like /api/v1/....
[14:49:18] stuarta: *versioned
[14:49:31] stuarta: that would be too handy
[14:49:32] peterbennett: hampton: I am talking about the file names and class names which I called V2 to avoid duplicates.
[14:50:31] peterbennett: hampton: There is a "Version" tag on eac h which can be updated as you make changes.
[14:50:38] hampton: I'm thinking about a way to add/remove/change parameters as things evolve, without having to create a new call each time.
[14:50:43] hampton: great
[14:51:26] peterbennett: However there is no support for calling a prior version, you just get advised which version you got.
[14:58:18] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has joined #mythtv
[15:09:23] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[15:30:40] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[15:30:40] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[15:34:10] gregl (gregl!~gregl@cpe-24-194-253-7.nycap.res.rr.com) has quit (Ping timeout: 240 seconds)
[15:34:18] gregl (gregl!~gregl@cpe-24-194-253-7.nycap.res.rr.com) has joined #mythtv
[15:37:10] stuarta: no wonder my head hurts, this is what the backend goes through to get up and running -> https://paste.centos.org/view/4cb5cea5
[15:49:47] stuarta: the variations of MythContext, MythContextPrivate, MythCoreContext, MythCoreContextPrivate don't help
[15:50:05] stuarta: priase be to visual studio for being able to keep track of the whole lot
[15:53:48] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[15:54:58] stuarta: bah. bit more magic missing from that in LoadDatabaseSettings
[15:57:45] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[15:57:45] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[16:08:26] DevMythNotifyBot: COMMIT: stuarta pushed 11 commit(s) to branch devel/http: https://github.com/MythTV/mythtv/compare/dd3f . . . 46a14024b27b
[16:08:55] peterbennett: stuarta: do you use the c++ addin to visual studio code? my visual studio code does not keep track of classes.
[16:09:05] stuarta: yes it works well
[16:10:01] peterbennett: I uninstalled the c++ addin long ago because it was using a lot of memory and cpu all the time and bringing my laptop to its knees.
[16:10:02] stuarta: C/C++ intellisense, debugging and code browsing
[16:10:27] stuarta: ah, i have a laptop with a ludicrous amount of memory
[16:10:29] peterbennett: Maybe it is better now or maybe my laptop is better
[16:10:47] stuarta: it only burns cpu when it starts up or the extension updates
[16:10:59] peterbennett: which addons do you use?
[16:11:16] stuarta: i have a long list, but that one is the most relevant
[16:11:42] stuarta: also c++ intellisense by austin
[16:12:16] stuarta: and a few extensions for the web app coding languages
[16:12:20] peterbennett: c++ intellisense, c++ extension pack
[16:13:05] peterbennett: it says I need Gnu global
[16:14:44] hampton: That's just gnu's version of ctags.
[16:15:43] stuarta: right i'm done for the day. catch you all tomorrow
[16:17:52] peterbennett: so I installed the C++ extension pack and now it suggests I should participate with Bill Meek, David Engel, etc. I don't know how it found the names.
[16:20:02] amessina (amessina!~amessina@user/amessina) has quit (Ping timeout: 250 seconds)
[16:20:59] amessina (amessina!~amessina@user/amessina) has joined #mythtv
[17:03:26] amessina_ (amessina_!~amessina@user/amessina) has joined #mythtv
[17:03:27] amessina (amessina!~amessina@user/amessina) has quit (Ping timeout: 240 seconds)
[17:06:54] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[17:25:02] hampton: Magic!
[19:00:12] bill6502 (bill6502!~bill@mythtv/developer/bill6502) has joined #mythtv
[19:00:12] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v bill6502
[19:01:31] bill6502: stuarta: I'm guessing you saw: https://www.mythtv.org/wiki/Myth_Service#ManageDigestUser , that was the original "per service" digest authentication
[19:02:03] bill6502: i think i saw one user ask questions about it. Not heavily used.
[19:03:44] bill6502: ManageUrlProtection, just below it allows selection of which services to apply it to. "All" is an option.
[19:25:05] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has joined #mythtv
[19:25:05] Mode for #mythtv by ChanServ!ChanServ@services.libera.chat : +v peterbennett
[19:33:34] stuarta: bill6502: i've seen the call in the /Myth service, just never looked into the details
[19:41:48] peterbennett (peterbennett!~peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[20:42:54] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:6ea1:20d:5872:d872) has quit (Quit: Konversation terminated!)
[22:10:07] bill6502 (bill6502!~bill@mythtv/developer/bill6502) has left #mythtv ()
[22:55:05] warpme_ (warpme_!uid391875@id-391875.helmsley.irccloud.com) has quit (Quit: Connection closed for inactivity)
[23:12:21] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has quit (Remote host closed the connection)
[23:12:41] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has joined #mythtv
[23:13:35] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has quit (Remote host closed the connection)
[23:13:42] DevMythNotifyBot (DevMythNotifyBot!~nodebot@cust32-dsl91-135-4.idnet.net) has joined #mythtv

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.