=== tmpRAOF is now known as RAOF === Malsasa is now known as Guest91062 === Malsasa_ is now known as Malsasa === Malsasa_ is now known as Malsasa [09:22] greyback_, ping [09:22] cimi: pong [09:22] greyback_, hey doc [09:22] greyback_, I know you answered already, I forgot :) [09:22] cimi: 'sup! [09:23] greyback_, if I create an Image/BorderImage and I set visible to false, is it loaded by qt but not rendered? [09:23] or is not even loaded? [09:24] greyback_, adding shadows to cards in dash, wondering if I should put the shadow in a loader since for now is only for application scope [09:24] cimi: it is loaded by the CPU, and pushed to GPU texture memory [09:24] but is not rendered [09:24] cimi: I was chatting with loicm about this [09:24] greyback_, so I think I will put it in a Loader [09:24] greyback_, yeah, I heard design wants shadows in _many_ places [09:25] cimi: could you try replacing the BorderImage with 4 images surrounding the application surface? [09:25] greyback_, I am doing a different thing [09:25] cimi: what's your thinking for your approach? [09:25] greyback_, I am adding shadows to cards in dash now [09:25] greyback_, not app spread [09:26] cimi: okay. I suggest you don't do anything fancy until you have proved the standard approach is costly [09:26] shadows are not costly on their own [09:26] but a bunch of shadows overlapping is costly [09:26] greyback_, for the app spread, we want to slice and just use 3 shadows I would say, not sure we need the right edge shadow unless for the rightmost app [09:27] cimi: agreed [09:27] but perhaps the code complexity implementing that is worse than that right edge shadow [09:27] greyback_, going back to cards in dash... we want shadows under apps in app scope [09:27] is something to be played with [09:27] under the app icon? [09:29] greyback_, so far I have image & borderimage under ALL cards with visible to false, since you just told me there is CPU loading the png etc etc, I might just put those in a loader that loads only in app scope [09:29] yes [09:29] cimi: why are you thinking of these optimisations? Have you implemented the simple solution and found it extremely slow? [09:30] greyback_, no [09:30] we should only optimize when we identify a problem [09:30] greyback_, no [09:30] yes [09:30] greyback_, we should write reasonable code at first [09:30] reasonable = simple to maintain IMO [09:31] optimizations introduce complexity [09:31] greyback_, we have hundreds of scopes, hundreds of cards, and ALL will load one image & borderimage that will never use [09:31] complexity should have a good justification [09:31] putting the inside a stupid loader won't hurt I think [09:31] cimi, Image uses caching, so I suppose it won't hurt that much [09:32] ltinkl, yeah but they are not used.... [09:32] cimi: that's your intuition speaking though [09:32] do you have evidence for this statement? [09:32] qml does lots of clever things to avoid loading too much [09:32] cimi, now but chances are the image is already loaded and decoded when you create a new one with the same source [09:32] we should only optimize when we have to, not because we feel we should [09:33] agree there, "don't fix what ain't broken" :) [09:34] cimi, tried to write a simple benchmark with and without a loader? [09:34] you may end up writing complex code which has no benefit over the simple code [09:34] I say, write the simple code first. If things end up slow, use a profiling tool to detect the most expensive things and optimize those [09:35] ltinkl, but it will load at least once [09:35] ltinkl, we can avoid this one [09:36] hmm, internet wonky today [09:36] cimi: that's your intuition speaking though [09:36] do you have evidence for this statement? [09:36] qml does lots of clever things to avoid loading too much [09:36] we should only optimize when we have to, not because we feel we should [09:36] you may end up writing complex code which has no benefit over the simple code [09:36] I say, write the simple code first. If things end up slow, use a profiling tool to detect the most expensive things and optimize those [09:38] greyback_, all right doc === facubatista is now known as Facu === alan_g is now known as alan_g|lunch === MacSlow is now known as MacSlow|lunch [12:20] popey: Hey, are you around? Wanted to follow up on your unity8-lxc issue. [12:25] ChrisTownsend: hey! [12:25] ChrisTownsend: just grabbing a sandwich, what should I be looking for? [12:25] (in unity, not in my sandwich) [12:26] popey: lol...So I think the LXC is not starting up for some reason. Let's start from a fresh baseline. Could you run 'sudo unity8-lxc-setup --rebuild-all --redownload"? [12:27] popey: And let's make sure that completes with no errors. Then we'll go from there. [12:28] ok [12:32] ChrisTownsend: http://paste.ubuntu.com/11701731/ that look right to you? [12:33] popey: Yep, looks good. [12:33] so reboot and login to unity8? [12:33] for a nice clean session [12:33] popey: Yep, let's give it it try. If it doesn't work, then we'll dig some more. [12:33] ok [12:37] ChrisTownsend: well! now I get a welcome screen, never had this before! [12:37] popey: Awesome! It works! [12:38] my "phone" is now ready to use \o/ [12:38] thanks ChrisTownsend [12:39] popey: lol, a big phone like 1995. [12:39] popey: Sure thing! [12:39] i suspect it was down to that upstart install [12:40] popey: Yes, I had to add some workarounds pretty recently in getting upstart into the container. It simply does not like systemd right now. [12:40] yeah, phone is upstart for user session [12:40] popey: This is upstart for the system. [12:41] oh [12:41] ok [12:41] popey: systemd just did not play nice with the whole lxc thing I have set up there, so the easiest thing to do was to whack systemd and install upstart for the system services. [12:42] ah [12:42] popey: And you probably tried setting up unity8-lxc while I was trying to nail all that down. [12:42] probably :) [12:42] popey: And it just wasn't installed correctly. [12:42] popey: Anyways, I'm glad it works for you now. [12:48] * greyback_ 's router giving trouble, bbiab === alan_g|lunch is now known as alan_g === MacSlow|lunch is now known as MacSlow === alan_g is now known as alan_g|EOW === Trevinho is now known as Trevinho|Holiday