Saturday, July 6th, 2013, 00:21 UTC | ||
[00:21:12] | MavT (MavT!~MaverickT@111.86.233.220.static.exetel.com.au) has quit (Ping timeout: 256 seconds) | |
[00:45:45] | xris (xris!~xris@xris.forevermore.net) has quit (Ping timeout: 264 seconds) | |
[00:46:40] | xris (xris!~xris@xris.forevermore.net) has joined #mythtv | |
[01:09:46] | wagnerrp: | that's it, outlook and hotmail go on the shitlist |
[01:11:23] | stichnot: | jya: thanks. |
[01:12:48] | Beirdo: | wagnerrp: took ya that long? |
[01:13:02] | wagnerrp: | they are now (temporarily) banned from the wiki |
[01:13:13] | wagnerrp: | i'm tired of seeing 30 new spam accounts created from there daily |
[01:13:20] | Beirdo: | Oooh, I thought you meant in general :) |
[01:13:47] | wagnerrp: | i think we have had all of about half a dozen contributing users from hotmail in seven years |
[01:14:43] | Beirdo: | "I see you are using hotmail/outlook. Please create a gmail account" |
[01:15:15] | wagnerrp: | i actually do have a filter for gmail as well |
[01:15:23] | wagnerrp: | although that's hitting a certain selective pattern |
[01:15:31] | wagnerrp: | (hotmail is also checked for that pattern) |
[01:17:06] | ** wagnerrp decides to `tail` the filter log and watch the failed creations flood in ** | |
[01:17:13] | Beirdo: | Shame that this nonsense is needed |
[01:20:44] | wagnerrp: | it will be interesting to see how long it takes before they shift to another mail server |
[01:30:32] | jya_ (jya_!~jyavenard@mythtv/developer/jya) has joined #mythtv | |
[01:35:46] | jya_ (jya_!~jyavenard@mythtv/developer/jya) has quit (Ping timeout: 276 seconds) | |
[01:41:31] | Beirdo: | Yeah |
[01:41:42] | Beirdo: | OK, caught up on the wee backlog in the mailing list |
[01:42:07] | Beirdo: | I guess I should go downstairs and see if my assistance is required |
[01:51:50] | wagnerrp: | naughty beirdo... top posting... |
[01:52:37] | wagnerrp: | been away from the mailing lists too long, you've picked up bad habits... :P |
[02:32:02] | _nyloc_ (_nyloc_!~quassel@p4FE4C467.dip0.t-ipconnect.de) has joined #mythtv | |
[02:35:35] | nyloc (nyloc!~quassel@p4FE4D91E.dip0.t-ipconnect.de) has quit (Read error: Operation timed out) | |
[02:43:25] | wagnerrp: | yep... block outlook and hotmail, and they just flood to yahoo and gmail |
[03:03:43] | Beirdo: | naughty gmail changed crap again :) I'll work on it, sorry |
[03:04:18] | wagnerrp: | that was actually my original plan for the rewrite (stick everything in a qmap, and let qt hash it out) |
[03:04:26] | wagnerrp: | i remember being advised that was a bad idea |
[03:04:37] | wagnerrp: | so i went back to the if lists |
[03:24:05] | Beirdo: | I have code mostly done (a year ago) to do exactly that for the protocol, the actions, everything |
[03:24:20] | Beirdo: | it made the frontend very noticibly faster |
[03:25:00] | Beirdo: | Let QMap (or QHash) do its job, let's not recreate more efficient algorithms with less efficient ones |
[03:26:18] | Beirdo: | doing full-on string compares on every event (including keypresses) and every protocol message.... is horridly slow |
[03:30:10] | ** Captain_Murdoch steps in for 5 seconds (literally) to say -> and those full-on string compares are just StartsWith(), not == so we're prone to future bugs when someone creates a ACTION_ONE_MORE when we already have an ACTION_ONE. ** | |
[03:31:01] | Captain_Murdoch: | or command.left(10) == "ACTION_ONE". ok, so 5 more seconds... now I'm really gone to go dig some more in the side yard. |
[03:33:20] | Beirdo: | Yeah |
[03:33:43] | Beirdo: | I converted them all to being full compare of the first word, and any startswith to being actual regexps |
[03:33:46] | Beirdo: | :) |
[03:34:13] | wagnerrp: | i assume pre-compiled, that ends up being faster than a standard compare? |
[03:34:14] | Beirdo: | yeah, the maintainability of what we have now... rather painful |
[03:34:29] | Beirdo: | well, the regexps are, yes |
[03:34:46] | Beirdo: | but most of the speedup comes from the O(logN) nature of QMap/QHash |
[03:34:55] | wagnerrp: | right |
[03:34:55] | Beirdo: | it uses a skip queue internally |
[03:35:13] | wagnerrp: | it's not just a binary tree? |
[03:35:29] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has quit (Ping timeout: 248 seconds) | |
[03:35:31] | Beirdo: | it's pretty close to it, algorithmically, but I forget the total differences |
[03:35:47] | Beirdo: | basically, compute it as if it is |
[03:36:17] | Beirdo: | I remember reading the details... like a year and a half ago, but I've pushed a lot of that back outta my brain |
[03:36:41] | Beirdo: | Oh, and BTW.... Python did win me over. Just took a while |
[03:37:00] | fetzerch (fetzerch!~quassel@unaffiliated/fetzerch) has joined #mythtv | |
[03:37:02] | wagnerrp: | once you go snake, that's for what you'll ache |
[03:37:26] | Beirdo: | hehe, yeah |
[03:38:06] | wagnerrp: | still... the socket itself |
[03:38:08] | Beirdo: | I still want to redo the mythweather script returns to use JSON, and parse that with a "standard" parser |
[03:38:19] | wagnerrp: | raw socket? http? something else? |
[03:38:52] | wagnerrp: | i see no reason to use http, other than that's what the services api is currently wired up to use |
[03:38:58] | Beirdo: | I'd think that something where we can leverage as much of Qt's server code as we can might end up being helpful overall |
[03:39:10] | Beirdo: | unless we want to implement our own |
[03:39:11] | wagnerrp: | i don't know what it would take to repurpose it as a generic serializer |
[03:39:31] | Beirdo: | yeah, not sure at this point |
[03:39:50] | wagnerrp: | i just see HTTP headers as being more data to transfer than most of our queries |
[03:40:04] | Beirdo: | my thought is that the less code we require ourselves to custom craft, the likelier it will be that it would work nicely |
[03:40:07] | wagnerrp: | especially if were going to use binary serialization |
[03:40:11] | Beirdo: | well, you can make it persistent connection |
[03:40:22] | Beirdo: | and if the connection's gone, reconnect |
[03:40:23] | wagnerrp: | that just deals with init |
[03:40:28] | wagnerrp: | you still have those massive headers |
[03:40:42] | Beirdo: | Hmm, yeah, I guess |
[03:40:51] | wagnerrp: | when you're sending a big web page, a couple hundred byte header isn't a problem |
[03:40:51] | Beirdo: | they can get quite large |
[03:41:06] | Beirdo: | but on a 5 byte command, kinda lame |
[03:41:06] | wagnerrp: | when many of your responses are a simple "OK", it's a bit excessive |
[03:41:18] | Beirdo: | well, the response would be a 200 OK |
[03:41:20] | Beirdo: | :) |
[03:41:29] | Beirdo: | the request is where it gets wasteful |
[03:41:30] | wagnerrp: | ok, what about a hash query |
[03:41:43] | wagnerrp: | plenty of examples of small responses |
[03:41:47] | Beirdo: | well, true |
[03:42:11] | Beirdo: | if we are sticking text based, I'd prefer JSON for compatibility overall, I think |
[03:42:18] | Beirdo: | Ooops, pizza's here, BRB |
[03:42:40] | wagnerrp: | in theory, we just shove everything into the services serializer, and let it decide what to use |
[03:42:55] | wagnerrp: | (or otherwise tell it) |
[03:43:04] | wagnerrp: | make that part of the negotiation during initial connection |
[03:58:06] | ** wagnerrp wonders what he did last August to make the UPS load spike ** | |
[04:01:11] | Beirdo: | well, yeah, I guess the services serializer *might* work right for what we need, but I'd be more concerned about the fluidity of the API and third party users |
[04:01:34] | Beirdo: | we really haven't been terribly good in the past at *ahem* documenting our APIs :) |
[04:01:46] | Beirdo: | We're developers, not technical writers, I know :) |
[04:15:35] | XDS2010_ (XDS2010_!uid1218@gateway/web/irccloud.com/x-vlaikafnttarsolh) has joined #mythtv | |
[04:27:07] | knightr_ (knightr_!~knightr@69-165-170-178.dsl.teksavvy.com) has joined #mythtv | |
[04:27:29] | knightr_ (knightr_!~knightr@69-165-170-178.dsl.teksavvy.com) has quit (Remote host closed the connection) | |
[04:29:41] | superm1 (superm1!uid4318@ubuntu/member/superm1) has joined #mythtv | |
[04:32:23] | jya_ (jya_!~jyavenard@mythtv/developer/jya) has joined #mythtv | |
[04:33:09] | joki (joki!~joki@p548653A7.dip0.t-ipconnect.de) has quit (Ping timeout: 264 seconds) | |
[04:37:05] | jya_ (jya_!~jyavenard@mythtv/developer/jya) has quit (Ping timeout: 256 seconds) | |
[04:38:22] | joki (joki!~joki@p54861285.dip0.t-ipconnect.de) has joined #mythtv | |
[06:23:55] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has joined #mythtv | |
[06:48:08] | cesman (cesman!~cesman@pool-108-23-186-248.lsanca.fios.verizon.net) has joined #mythtv | |
[06:48:08] | cesman (cesman!~cesman@pdpc/supporter/professional/cesman) has joined #mythtv | |
[06:48:08] | cesman (cesman!~cesman@pool-108-23-186-248.lsanca.fios.verizon.net) has quit (Changing host) | |
[07:34:33] | jya_ (jya_!~jyavenard@mythtv/developer/jya) has joined #mythtv | |
[07:34:41] | jya (jya!~jyavenard@mythtv/developer/jya) has quit (Quit: jya) | |
[07:34:41] | jya_ is now known as jya | |
[07:35:04] | jya_ (jya_!~jyavenard@mythtv/developer/jya) has joined #mythtv | |
[07:35:44] | jya (jya!~jyavenard@mythtv/developer/jya) has quit (Client Quit) | |
[07:35:45] | jya_ is now known as jya | |
[07:54:49] | unforgiven512 (unforgiven512!~unforgive@opana.unforgivendevelopment.com) has quit (Quit: ZNC - http://znc.in) | |
[07:55:37] | unforgiven512 (unforgiven512!~unforgive@opana4.unforgivendevelopment.com) has joined #mythtv | |
[08:06:13] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has quit (Quit: Konversation terminated!) | |
[08:26:06] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has joined #mythtv | |
[08:44:20] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has quit (Quit: Konversation terminated!) | |
[09:03:04] | jya: | anyone know how to use (define) templates to be used later by a theme? |
[09:37:48] | natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has joined #mythtv | |
[09:37:48] | natanojl (natanojl!~jonatan@mythtv/developer/natanojl) has joined #mythtv | |
[09:37:48] | natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has quit (Changing host) | |
[09:50:08] | natanojl: | jya: You create an InfoMap object (it's a typedef for QHash<QString, QString>), populate it with your strings, and then call SetTextFromMap passing in the InfoMap object. |
[09:50:34] | jya: | yeah, I found that out browsing the code; but not having the results expected... |
[09:52:25] | natanojl: | can you give an example? |
[09:54:26] | jya: | well, I set the dmap with TITLE in it; then I call SetTextFromMap on my MythScreenType. stepping into the code, I can see that it goes through all children, however, it expects the name of the object to be the name of what I set in the InfoMap |
[09:54:37] | jya: | so if the name of the object isn't "TITLE" it doesn't use it |
[09:55:36] | jya: | trying to implement what a user requested |
[09:55:55] | jya: | but as I've never done it, and it's not documented anywhere.. i'm trying in the black |
[09:56:39] | jya: | http://www.gossamer-threads.com/lists/mythtv/ . . . 46955#546955 |
[09:57:28] | jya: | unless I manually have to loop through the chilrdren myself and call SetTextFromMap on all of them |
[09:59:09] | jya: | anyhow… Lions vs Wallabies is about to start… ... |
[10:01:50] | natanojl: | yeah, that is how it works |
[10:05:30] | natanojl: | you could perhaps tweak MythUIText::SetTextFromMap to allow arbitrary names when using templates |
[10:12:13] | jya: | so is there a way to have what that themer describe with the current MythUI stuf in place? |
[10:19:19] | jya: | they are using template there in the example: http://www.mythtv.org/wiki/MythUI_Theme_Devel . . . tarea_widget (This can be values which exist in a map (such as most Program Info like %TITLE%, %SUBTITLE%, et) |
[10:19:34] | jya: | will keep trying |
[10:20:48] | IReboot (IReboot!~doug@CPE10bf48e67915-CM78cd8e7e342d.cpe.net.cable.rogers.com) has quit (Quit: Ex-Chat) | |
[10:45:43] | jya_ (jya_!~jyavenard@mythtv/developer/jya) has joined #mythtv | |
[10:47:11] | Guest25742 is now known as Seeker` | |
[10:49:08] | jya_: | natanojl: it seems that the mapping on inner text to template is only done for MythUIButtonList |
[10:51:27] | jya_: | everywhere else an InfoMap is just a convenient way of setting the text of a button, with the map key being the object name |
[11:04:06] | natanojl: | jya_: I'm not sure I follow. I use this in the watchrecordings screen on a theme I'm working on: http://pastebin.com/PDmVXbV9. This textarea is not in any buttonlist |
[11:07:24] | jya_: | do you have another template you use with a rather uncommon value? trying to search "SUBTITLE" in the code; but there's to many instances of it… |
[11:13:32] | jya_: | natanojl: is it it a group then? |
[11:13:46] | jya_: | seems that this is the other type making use of templates |
[11:13:56] | natanojl: | In this case it's being set from http://code.mythtv.org/cgit/mythtv/tree/mytht . . . box.cpp#n863 and the map is populated here http://code.mythtv.org/cgit/mythtv/tree/mytht . . . fo.cpp#n1426 |
[11:20:06] | jya_: | yes, there it works because the name of your object is "subtitle" which is contained in the map |
[11:21:59] | jya_: | in the example provided on the theme user list; it seems that the item has a random name; just so he can control when it's displayed and not… and there use the template |
[11:40:27] | amessina (amessina!~amessina@2001:470:c1dc:7779:d6be:d9ff:fe8d:7c1e) has quit (Quit: Konversation terminated!) | |
[11:53:28] | natanojl: | yes, arbitrary names aren't supported |
[12:31:45] | dekarl1 (dekarl1!~dekarl@p4FE849E4.dip0.t-ipconnect.de) has joined #mythtv | |
[12:32:49] | dekarl (dekarl!~dekarl@p4FCEE9B4.dip0.t-ipconnect.de) has quit (Ping timeout: 268 seconds) | |
[13:48:45] | stichnot (stichnot!~stichnot@adsl-68-127-28-24.dsl.pltn13.pacbell.net) has quit (Ping timeout: 264 seconds) | |
[14:29:33] | ghoti_ is now known as ghoti | |
[15:59:08] | wagnerrp: | i'm going to issue a schema update forcing everyone using tmdb.py to tmdb3.py |
[15:59:36] | wagnerrp: | it's past feature freeze, but tmdb.py is losing its web API in a few months, so it needs to happen |
[15:59:46] | lpx (lpx!~lpx@vodsl-5092.vo.lu) has joined #mythtv | |
[16:04:11] | knightr: | wagnerrp, is it really past feature freeze? If it was we should be in bug fixes only which is not the case... |
[16:04:27] | _nyloc_ (_nyloc_!~quassel@p4FE4C467.dip0.t-ipconnect.de) has quit (Remote host closed the connection) | |
[16:04:39] | wagnerrp: | feature freeze should have hit monday |
[16:06:09] | nyloc (nyloc!~quassel@p4FE4C467.dip0.t-ipconnect.de) has joined #mythtv | |
[16:07:42] | knightr: | wagnerrp, yes it should but you know as well as I do that we didn't communicate it and we haven't gone into bug fixes only so it's like we are not in feature freeze... |
[16:08:26] | knightr: | (and nobody seems to care..) |
[16:10:13] | rsiebert (rsiebert!~quassel@e179132022.adsl.alicedsl.de) has joined #mythtv | |
[16:13:35] | rsiebert_ (rsiebert_!~quassel@e179132034.adsl.alicedsl.de) has quit (Ping timeout: 268 seconds) | |
[16:34:47] | IReboot (IReboot!~doug@CPE10bf48e67915-CM78cd8e7e342d.cpe.net.cable.rogers.com) has joined #mythtv | |
[17:16:27] | lpx (lpx!~lpx@vodsl-5092.vo.lu) has quit () | |
[18:40:42] | test2 (test2!54abea1c@gateway/web/freenode/ip.84.171.234.28) has quit (Quit: Page closed) | |
[18:44:27] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has joined #mythtv | |
[18:46:54] | sraue (sraue!~stephan@xbmc/staff/sraue) has quit (Ping timeout: 264 seconds) | |
[18:52:02] | sraue_ (sraue_!~stephan@77-239-48-1.dyn.cable.fcom.ch) has joined #mythtv | |
[18:52:48] | sraue_ is now known as sraue | |
[18:52:58] | sraue (sraue!~stephan@77-239-48-1.dyn.cable.fcom.ch) has quit (Changing host) | |
[18:52:59] | sraue (sraue!~stephan@xbmc/staff/sraue) has joined #mythtv | |
[19:36:39] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has quit (Quit: Konversation terminated!) | |
[19:50:33] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has joined #mythtv | |
[20:05:58] | Steve-Goodey (Steve-Goodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has joined #mythtv | |
[20:22:16] | Guest69388 (Guest69388!~dblain@mythtv/developer/dblain) has quit (Read error: Connection reset by peer) | |
[20:22:35] | Guest69388 (Guest69388!~dblain@mythtv/developer/dblain) has joined #mythtv | |
[20:24:23] | Gibby_ (Gibby_!~Gibby@184.170.249.223) has quit (Read error: Connection reset by peer) | |
[20:25:17] | Gibby (Gibby!~Gibby@184.170.249.223) has joined #mythtv | |
[21:56:55] | Steve-Goodey (Steve-Goodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has quit (Quit: Konversation terminated!) | |
[22:03:14] | SteveGoodey (SteveGoodey!~steve@host86-145-235-168.range86-145.btcentralplus.com) has quit (Ping timeout: 268 seconds) | |
[23:24:17] | mythfan (mythfan!~mythfan@24-122-180-242.dr.cgocable.ca) has joined #mythtv | |
[23:33:56] | mythfan (mythfan!~mythfan@24-122-180-242.dr.cgocable.ca) has quit (Quit: Colloquy for iPad - http://colloquy.mobi) |
IRC Logs collected by
BeirdoBot.
Please use the above link to report any bugs.