MythLogBot@irc.freenode.net :: #mythtv

Daily chat history

Current users (47):

afisher, aloril, amessina, Anssi, blahdodo_, brfranse-, ChanServ, ElmerFudd, frobnic, ghoti, gregl, Guest18210, Guest22940, Guest26025, Guest48899, Guest64618, Guest69830, Guest89565, hampton, ijc, ilmostro, jpabq, knowledgejunkie, kwizart, mad_enz, Maliuta, markspieth, MitchCapper, mkbloke, mrec, MythBuild, MythLogBot, MythNotifyBot_, ooshlablu, Panic, peper03, poptix, ramshadow, rhpot199`, scilib, sphery, tonsofpcs, tris, Valen, Warped, zbot, _charly__
Monday, February 22nd, 2021, 00:15 UTC
[00:15:45] gregl (gregl!~greg@cpe-24-194-253-7.nycap.res.rr.com) has joined #mythtv
[05:09:22] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has joined #mythtv
[05:09:22] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[05:45:33] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has quit (Quit: Konversation terminated!)
[06:15:23] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 272 seconds)
[06:16:42] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[06:16:42] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[06:30:00] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has quit (Quit: WeeChat 2.3)
[06:32:00] peterbennett (peterbennett!~pi@2601:183:100:5f1:bcae:8e96:15ff:a1af) has joined #mythtv
[06:32:00] peterbennett (peterbennett!~pi@2601:183:100:5f1:bcae:8e96:15ff:a1af) has quit (Changing host)
[06:32:00] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has joined #mythtv
[06:32:00] Mode for #mythtv by ChanServ!ChanServ@services. : +v peterbennett
[06:56:20] markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[06:56:20] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth2
[06:59:44] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 272 seconds)
[07:02:19] peterben1 (peterben1!~pi@2601:183:100:2954:acfd:9fcf:63e8:ab49) has joined #mythtv
[07:04:53] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has quit (Ping timeout: 272 seconds)
[07:56:49] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has joined #mythtv
[07:56:49] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[08:24:58] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has joined #mythtv
[08:43:20] stuarta: morning all
[08:57:46] markk_: stuarta: morning
[09:03:55] markk_: hampton: I'm just working through an issue I've found with DVD playback. with the std::chrono stuff – is it safe to mix for example std::chrono::seconds and std::chrono::milliseconds? Obviously you need to be careful if you call count() – but I'd like to add some extra precision in some of the DVD code – which means a move to milliseconds
[09:25:30] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has quit (Ping timeout: 260 seconds)
[09:28:19] Steve-Goodey: stuarta: paul-h was trying to contact you on #mythtv Thursday afternoon.
[09:40:52] stuarta: Steve-Goodey: yep i saw in my away messages
[10:34:00] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has joined #mythtv
[11:42:23] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has quit (Quit: Konversation terminated!)
[11:44:05] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has quit (Ping timeout: 240 seconds)
[11:49:57] RokLobsta (RokLobsta!~Dirkka@180.150.57.22) has quit (Quit: Leaving)
[12:56:17] hampton: markk_: You can mix. If you assign a seconds variable to a milliseconds variable, the compiler will automatically multiply by 1000. If you try to assign a milliseconds variable to a seconds variable the compiler will complain about the loss of precision, but you can do it by adding an explicit duration_cast.
[12:57:04] hampton: Functions like std::max require all values to have the same units.
[12:58:03] hampton: If you have a bunch of such comparisons, its probably easier to convert things to milliseconds so you're only dealing with one unit.
[13:04:58] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has joined #mythtv
[13:04:58] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[13:45:52] hampton: Here's an off the wall question... when writing sql statements, should it be possible to write the bindings as 'name' (with single quotes) in addition to :name (with a leading colon)? The regex to do the substitution looks for both but only works for the latter.
[13:50:14] stuarta: i didn't think the former was valid
[13:50:36] stuarta: having said that, it has been a *long* time since i looked at using SQL via Qt
[13:56:12] hampton: This is actually MythTV code in libmythbase/mythdbcon.cpp doing the substitution, not Qt code. Digging deeper, looks like its only called from the frontend when dealing with power searches.
[13:57:51] stuarta: ah power searches, now that makes more sense
[13:58:18] stuarta: because both the sql and the subst data comes from the user
[13:58:38] stuarta: writing tests cases for that must be fun
[13:59:52] hampton: Its actually pretty easy compared to some of the others. The escape function is fully exposed and doesn't need a db connection open to work.
[14:01:25] stuarta: \o/
[14:02:00] stuarta: i need to work on the bootstrap code some more, it'll make it possible to have a running backend for tests
[14:02:12] stuarta: s/some more/start it/
[14:02:57] hampton: I should be able to tweak the QRegex pretty easily to accept the single quote form. Also need to put in test cases to ensure that '' and : are rejected.
[14:04:20] hampton: And then convert it to a QRegularExpression. :-D
[14:04:24] hampton: Having a running backend would allow for more testing.
[14:05:20] hampton: For my next trick I'm going to extend the testing to the programs directory, and start testing regex patterns there.
[14:20:54] stuarta: you do like a challenge
[14:22:38] hampton: Working on Qt6 support. Most usage of QRegExp is a blocker.
[14:24:35] stuarta: we pretty heavily use that
[14:46:36] peterben1: stuarta: the wiki will not let me put a certain url on a page. What can I do?
[14:46:45] peterben1 is now known as peterbennett
[14:46:56] stuarta: peterbennett: might be in the url spam blacklist
[14:47:19] peterbennett (peterbennett!~pi@2601:183:100:2954:acfd:9fcf:63e8:ab49) has quit (Changing host)
[14:47:20] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has joined #mythtv
[14:47:20] Mode for #mythtv by ChanServ!ChanServ@services. : +v peterbennett
[14:47:47] peterbennett: url is https://rebrand.ly/mythtv/packages
[14:48:18] peterbennett: I have to change the dowload url for android packages as bintray is hutting down
[14:48:18] peterbennett: shutting down
[14:49:05] peterbennett: So instead of having a long complex url for my google drive I created a shortcut with rebranly
[14:54:20] stuarta: lemme take a look
[14:56:19] peterbennett: I have now set it as https://dl.orangedox.com/pCBmBm – that is ok . I did setup a redirect url at rebrand.ly which is better since I can change that redirect if the download site changes again.
[14:57:44] peterbennett: Maybe mediawiki blocks redirect sites since people can set them to go anywhere.
[14:59:00] SteveGoodey (SteveGoodey!~steve@host86-150-63-51.range86-150.btcentralplus.com) has joined #mythtv
[14:59:00] Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveGoodey
[15:00:04] peterbennett: stuarta: The page I am updating is "Android"
[15:03:16] stuarta: hmm, it's not in the spam blacklist
[15:03:34] stuarta: peterbennett: does it throw an error when you try to save it?
[15:05:23] peterbennett: stuarta: there is an error message
[15:05:33] stuarta: can you pastebin?
[15:06:13] peterbennett: The text you wanted to save was blocked by the spam filter.This is probably caused by a link to a blacklisted external site.The following text is what triggered our spam filter: rebrand.ly
[15:06:27] stuarta: ok
[15:07:01] peterbennett: stuarta: If we protect the page will that let it through?
[15:07:13] stuarta: unsure
[15:08:35] peterbennett: No – protecting teh page did not help
[15:08:46] stuarta: didn't think it would
[15:09:51] warpme_: peterbennett: "I have to change the dowload url for android packages as bintray is shutting down" – i was kicked by this as well – and found hosting my build binaries on github pretty good....
[15:10:56] peterbennett: warpme_: I amusing google drive now, together with orangedox
[15:11:48] stuarta: i can see why the spam protection would kick in on rebrand.ly as it would allow a consistent way to publish malware
[15:12:02] warpme_: ah ok. happy you found solution for bintray!
[15:12:10] peterbennett: warpme_: The problem with github – it wants a new source tag for each build.
[15:13:09] peterbennett: stuarta: We can't have inconsistent malware :)
[15:13:24] stuarta: :)
[15:14:16] warpme_: hmm – probably i missed something. currently i have single tag for 8 various builds...
[15:14:21] peterbennett: stuarta: So I wonder if they block all the tinyurl sites – there are many of them.
[15:16:50] stuarta: potentially
[15:18:54] peterbennett: stuarta: Not a big deal, I can just use the orangedox url.
[15:20:33] stuarta: ok, thanks, there isn't a simple fix to get past it
[15:51:40] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has joined #mythtv
[17:07:44] hampton: stuarta: Congrats on your job anniversary!
[17:08:05] stuarta: hampton: my mythtv one?
[17:08:28] stuarta: thanks!
[17:08:40] hampton: The work one is what I saw.
[17:09:10] stuarta: cool, yes that was recently. 9 years and counting
[18:13:46] hampton: Anyone here have a Ceton infiniTV box?
[18:16:08] hampton: Looking for the output of 'wget http://<ipaddr>/get_pat.json?i=0'. I think.
[18:33:34] stuarta: eh?
[18:43:34] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has quit (Ping timeout: 272 seconds)
[19:39:43] hampton: cetonstreamhandler.cpp parses the page returned from a GET of that url using a QRegExp. Looking for real data to test with instead of faking up something.
[19:40:05] hampton: It looks like the response should be a pretty simple string.
[19:43:44] stuarta: bah
[19:45:34] stuarta: hampton: btw. i recommend json-server
[19:46:13] stuarta: basically give it a json file, and it'll serve it via http
[19:49:40] ooshlablu: hampton: are you looking for a network box, or pcie? I have a pcie one and it returns: "{ length: 9, results: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }"
[19:50:33] ooshlablu: (my quotes)
[19:56:02] peterbennett: hampton: Still looking for some result from a ceton? I have on
[20:01:54] peterbennett: hampton: curl "http://ceton.pb/get_pat.json?i=0'."
[20:02:08] peterbennett: { length: 3, results: [ 20, 10, 21 ] }
[20:06:46] hampton: Thanks
[20:07:08] hampton: Appreciate both outputs.
[20:08:55] tonsofpcs (tonsofpcs!~mythbuntu@cpe-67-251-117-244.stny.res.rr.com) has quit (Changing host)
[20:08:55] tonsofpcs (tonsofpcs!~mythbuntu@rivendell/member/tonsofpcs) has joined #mythtv
[20:17:17] hampton: I can use the same string for the QRegularExpression as for the QRexExp and it parses properly.
[20:17:55] hampton: Down to two remaining QRegExps in the libs directory, then on to the programs directory. :-)
[21:29:56] markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 272 seconds)
[21:31:42] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[21:31:42] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[21:57:32] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has quit (Quit: Konversation terminated!)
[22:01:51] SteveGoodey (SteveGoodey!~steve@host86-150-63-51.range86-150.btcentralplus.com) has quit (Quit: Konversation terminated!)
[22:14:26] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Read error: Connection reset by peer)
[22:14:36] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[22:14:36] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[22:39:11] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has joined #mythtv
[22:46:32] amessina (amessina!~amessina@unaffiliated/amessina) has joined #mythtv
[23:00:45] warpme_ (warpme_!uid391875@gateway/web/irccloud.com/x-qwssiqzqbjvrcnrh) has quit (Quit: Connection closed for inactivity)
[23:26:48] markk_ (markk_!~mark@host109-151-70-41.range109-151.btcentralplus.com) has quit (Ping timeout: 256 seconds)

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