[06:04] <AkivaAvraham> !ping
[07:49] <dholbach> good morning
[08:34] <AkivaAvraham> !ping
[08:34] <AkivaAvraham> dholbach, morning
[08:36] <dholbach> hi AkivaAvraham
[08:36] <AkivaAvraham> o/
[08:40] <justCarakas> AkivaAvraham:  o/
[08:40] <AkivaAvraham> justCarakas, \o
[09:37] <JamesTait> Good morning all; happy Organise Your Home Day! :-D
[09:49] <sturmflut-work> JamesTait: Apparently today is also "Dress Up Your Pet Day" and "Hot Pastrami Sandwich Day"
[09:50] <JamesTait> Oh noes! sturmflut-work found my secret source of celebrations! :-P
[09:52]  * sturmflut-work Master of the Interwebs
[09:58] <davmor2> JamesTait: yeah but we don't listen to sturmflut-work for morning greetings so it's okay
[09:58] <davidcalle> popey, hey, is there a way to install store apps from the cli?
[09:59] <JamesTait> davidcalle, do you have the .click downloaded from the store already?
[09:59]  * JamesTait pretends to be popey
[10:00] <davmor2> davidcalle: you can not sure how you would get the click package from the store though
[10:00] <davidcalle> JamesTait, nope
[10:00] <davmor2> popey^WJamesTait can help you though daker
[10:00] <davmor2> davidcalle: not daker sorry
[10:01] <JamesTait> davidcalle (and davmor2), I have a hacked-together script that will let you download the .click if you know the package name: https://code.launchpad.net/~jamestait/+junk/click-support-tools
[10:01] <davidcalle> JamesTait, that's exactly the kind of thing I was looking for, nice :)
[10:01] <popey> yes
[10:02] <popey> ☻
[10:02] <JamesTait> davidcalle, I don't have a script to do the search, and I think you'll need to use pkcon to actually install it when it's downloaded.
[10:04] <davidcalle> JamesTait, I don't mind the lack of search, I'm just tired of having to reinstall packages manually everytime I push my luck a bit too far with system tweaks. Thanks :)
[10:17] <mivoligo> mzanetti: I've seen you've done the last level :) great stuff!
[10:18] <mzanetti> mivoligo: for the underwater world I still need to prove one can get 3 stars at every level
[10:18] <mzanetti> so far I'm missing a few
[10:19] <mzanetti> and actually I haven't managed to win level 30 yet either
[10:19] <mivoligo> :D
[10:20] <mivoligo> mzanetti: I had a look at the testplans in google drive. That timon is a mastermind of some sort :D
[10:21] <mzanetti> mivoligo: well, he started to play it when there were only 4 levels
[10:22] <mzanetti> so he has been playing the first levels for many times
[10:22] <mivoligo> still impressive for me
[10:36] <davmor2> davidcalle: I think the secret there is don't do system tweaks :P
[10:37] <davidcalle> davmor2, don't say that, I've just started working on a new devices porting guide and "tweaks" are going to be a huge part of my life for the next two weeks :p
[10:38] <davmor2> davidcalle: hahahaha
[12:24] <GrayShade> hello. i'm working on a daemon that will normally run under upstart. i'm planning to use the "expect stop" method for readiness notification. can i check for UPSTART_JOB in the environment to detect upstart? i'd rather not add a command-line argument for this
[12:44] <sturmflut-work> GrayShade: According to http://upstart.ubuntu.com/cookbook/#standard-environment-variables that should be okay. I just checked: I switched my system to systemd today and all daemons started by systemd do NOT have any UPSTART_* variables in their environment. Standard processes (e.g. my X11 terminal) only have UPSTART_SESSION set, and the daemons started by my user upstart session have all UPSTART_* variables set.
[12:46] <sturmflut-work> GrayShade: But the days of Upstart are numbered, you will probably have to detect systemd as well, and this may not even be the right way to do what you're intending to do
[12:50] <GrayShade> sturmflut-work: i see, thanks
[12:50] <GrayShade> well, this will run on 14.04 lts, so..
[13:00] <sturmflut-work> GrayShade: I think I've found a good solution: D-Bus. If you can query Upstart on the system bus, the system is using upstart. If not, then not.
[13:00] <sturmflut-work> Example: dbus-send --system --type=method_call --print-reply --dest=com.ubuntu.Upstart /com/ubuntu/Upstart com.ubuntu.Upstart0_6.version
[13:03] <GrayShade> sturmflut-work: right. as for UPSTART_JOB, i'd still have to check the value (running env in a terminal gives UPSTART_JOB=unity7)
[13:04] <sturmflut-work> Hm but that D-Bus example is also not completely correct across all my machines
[13:05] <sturmflut-work> Second example: dbus-send --system --type=method_call --print-reply --dest=com.ubuntu.Upstart /com/ubuntu/Upstart org.freedesktop.DBus.Introspectable.Introspect
[13:06] <sturmflut-work> That one just lists all methods offered by Upstart via D-Bus. If Upstart is there and listening, you will get a result, if not then it returns with org.freedesktop.DBus.Error.ServiceUnknown
[13:08] <sturmflut-work> So therefore it should work across all versions of Upstart, it works if called by an unprivileged user and it yields a proper return code indicating what happened
[13:21] <GrayShade> an env variable still seems better, as i want to know whether my daemon was started by upstart, not if upstart is actually running
[13:21] <sturmflut-work> GrayShade: Correct
[14:18] <mivoligo> mzanetti: I pushed some small fixes to some backgrounds specially  for Andi :)
[14:19] <mzanetti> mivoligo: ack, thanks
[14:20] <mzanetti> will merge them tonight
[14:21] <mivoligo> meanwhile struggling with level 9 :P
[14:55] <popey> gcollura: heya, just testing your fix for keyboard rotation in calculator -- thanks for that!
[14:56] <popey> gcollura: strangely click-buddy builds an amd64 package, not an "all" one...
[14:57] <popey> CMakeLists.txt:    COMMAND dpkg-architecture -qDEB_HOST_ARCH
[14:57] <popey> that doesn't look right
[14:57] <gcollura> popey, thank you! I wish I saw it in the first place
[14:57] <gcollura> popey, use click-buddy and set the --arch to armhf
[14:57] <gcollura> or all
[14:57] <popey> shouldn't it do that by default?
[14:57] <vitimiti> What's the reason for a C++ backend to be "instantiated recursively" in QML?
[14:57] <popey> there's no binary in there?
[14:58] <gcollura> popey, there's no binary you're right
[14:58] <gcollura> it's just that I've used a cmake macro to compile in manifest.json.in
[14:58] <popey> e.g. the old lp:ubuntu-calculator-app builds an "all" click just fine
[15:00] <gcollura> popey, I'm updating the MP with this change too
[15:00] <popey> nice one!
[15:00] <gcollura> now the "architecture" value in manifest is hardcoded to "all"
[15:00] <popey> looks like the cmake file came from clock
[15:01] <popey> and that does use the same code for detecting arch
[15:01] <popey> so just a copy/paste mistake, that's all
[15:01] <gcollura> yep probably
[15:04] <gcollura> popey, done :)
[15:05] <popey> testing!
[15:05] <popey> Successfully built package in './com.ubuntu.calculator_0.1_all.click'.
[15:05] <popey> \o/
[15:05] <gcollura> popey, also tell me how you like the scrolling performance improvements I've introduced in my previous commits :)
[15:05] <popey> heh, will do!
[15:06] <popey> am writing up some test cases
[15:06] <popey> discovered the rotation bug about 10 mins before I saw your merge fixing it :)
[15:06] <popey> so nice timing! :)
[15:07] <gcollura> thanks to rpadovani, who saw the bug first :)
[15:10] <popey> gcollura: http://people.canonical.com/~alan/screenshots/device-2015-01-14-150924.png
[15:10] <popey> uh http://people.canonical.com/~alan/screenshots/device-2015-01-14-150931.png
[15:10] <popey> \o/
[15:11] <gcollura> popey, which device are you testing? :p
[15:11] <popey> uhhhh
[15:11] <gcollura> ehehe
[15:14] <popey> gcollura: seen calculations go off screen?
[15:14] <popey> gcollura: http://people.canonical.com/~alan/screenshots/device-2015-01-14-151333.png
[15:14] <popey> the 6 is _just_ off screen
[15:15] <gcollura> popey, yep known bug :)
[15:15] <popey> k
[15:15] <popey> and we can't yet scroll that field, right?
[15:15] <gcollura> yep you're right
[15:16] <popey> k
[15:22] <gcollura> too bad this upcoming weeks I'll be busy with my exams, so it will be difficult for me to make new features in calculator-app
[15:22] <gcollura> s/this/these
[15:28] <popey> Thanks for what you've done so far, good luck with the exams!
[15:34] <gcollura> popey, thanks!
[15:34] <gcollura> popey, btw, is the scrolling in calculator smooth enough?
[15:35] <popey> gcollura: yes, its smooth even on this low end phone
[15:35] <gcollura> ok great :)
[15:55] <gcollura> mhall119, you may need another parameter in the avconv command
[15:57] <gcollura> mhall119, like -filter:v "setpts=N/(fps*TB)" change fps with the number of frames you want in the converted video (this parameter must go after -i out)
[16:52] <kalikiana> hm. I feel I should at this point report this weird button somewhere. in my update screen it says "5 updates are being installed..." - that's a lie, nothing is happening. unless I hit that red button first
[17:05] <mhall119> gcollura: you can edit the page if it needs it, just login with your Ubuntu SSO account
[17:07] <kalikiana> lost in translation apparently… for any other confused users of German locale https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1410871
[17:07] <gcollura> mhall119, are you using the avconv command or the mencoder one?
[17:08] <mhall119> gcollura: I haven't tried either, I just copied what you told aquarius to use
[17:08] <mhall119> on IRC
[17:08] <mhall119> days ago
[17:14] <gcollura> mhall119, ok I've updated the wiki page, feel free to correct it if you find any mistakes :)
[17:24] <gcollura> popey, could you please update the mp status too https://code.launchpad.net/~gcollura/ubuntu-calculator-app/reboot-fix-keyboard-rotation/+merge/246430 ? then the bots can do their job :)
[17:24] <popey> approved
[17:25] <rpadovani> popey, could I suggest to add gcollura to calculator developers team?
[17:25] <popey> +1
[17:26] <gcollura> thanks popey
[17:26] <popey> done
[17:26] <gcollura> thanks popey rpadovani :)
[17:26] <rpadovani> \o/
[17:27] <rpadovani> gcollura, now you can review gang65 branches and I do not feel guilty because I don't have time to do it :D
[17:29] <Laney> kalikiana: you can suggest new translations on LP, e.g: https://translations.launchpad.net/ubuntu/utopic/+source/ubuntu-system-settings/+pots/ubuntu-system-settings/de/+translate?batch=10&show=all&search=update
[17:29] <gcollura> rpadovani, eheh :)
[17:44] <t1mp> pmcgowan: hello. I had a look at this bug that you reported https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1402054
[17:44] <t1mp> pmcgowan: the problem is there that the whole header is hidden when the title is set to ""
[17:45] <t1mp> pmcgowan: I have a fix, but some apps might use that "feature" to intentionally hide the header
[18:06] <pmcgowan> t1mp, I assume there is an easy way to properly not have a header
[18:06] <pmcgowan> t1mp, may want to try out a bunch of apps from store  to see
[18:10] <t1mp> pmcgowan: I have to add that easy way and make sure the apps will use it
[18:10] <t1mp> pmcgowan: for now, I can make it so that the header is visible if there is a pageStack with depth>1, even if there is no title
[18:12] <pmcgowan> t1mp, the only other thing I could think of is to add a new property like "show header when title is blank" so folks pt in for it
[18:12] <pmcgowan> but seems the default should be to show it not the other way around
[18:14] <t1mp> yes it seems more logical if the default is to show
[18:15] <t1mp> then apps that want to hide the header will have to update the code, to set (probably) Page.head.visible to false instead of setting Page.title to ""
[18:15] <popey> mzanetti: level 9 is hard!
[18:16] <t1mp> pmcgowan: it was already known that setting the title to "" would be temporarily (before we had a proper header configuration api), but it has been like that for a while now
[18:17] <pmcgowan> t1mp, ok not sure the best course then, may need to test some apps
[18:20] <t1mp> pmcgowan: ok. I'll figure something out and test the apps with my solution
[18:23] <pmcgowan> t1mp, ok thanks
[18:36] <mzanetti> popey: muahaha
[18:36] <mzanetti> popey: I'll try it after dinner. could be that I made it impossible with some tower fixes
[18:37] <mzanetti> popey: but no... on medium it should definitely be possible
[18:37] <mzanetti> think it's too hard? should I make it easier?
[18:58] <popey> mzanetti: I've tried a few times, but it's the first level I've had to really try hard on
[19:00] <aquarius> Am I dim? Is there no way to record sound from the mic with a QML app?
[19:00] <nik90_> aquarius: nope, some other people found that the hard way
[19:00] <aquarius> there isn't? that's a bit strange.
[19:01] <nik90_> it is....may be we could ask someone to write a qml C++ plugin that we can all use
[19:02] <aquarius> huh. Cordova apps can do it.
[19:08] <aquarius> nik90_, what I wanted was basically a tiny voice control thing that lets me say "alarm, 30 minutes" which will then go off 30 minutes from now -- I use this for putting things in the oven
[19:08] <aquarius> but QML can't record the mic, and HTML5 can't set alarms.
[19:09] <aquarius> aha! I lie!
[19:09] <aquarius> https://developer.ubuntu.com/api/html5/sdk-14.10/AlarmApi.Alarm/
[19:09] <nik90_> yeah, a very simple qml mic recording is very much required
[19:09] <nik90_> I believe jono bacon wanted that
[19:09] <nik90_> iirc
[19:09] <nik90_> aquarius: hey, btw what's left in your branch?
[19:09] <nik90_> is it ready to be merge?
[19:10] <aquarius> as far as I am aware it is ready
[19:10] <aquarius> unless I've missed something
[19:11] <nik90_> okay, the only thing tht I haven't tested is uploading a community component
[19:12] <nik90_> I will try a simple hello component
[19:13] <aquarius> cool!
[19:14] <aquarius> ok, html5 apps seem confusing. In particular, the default script seems to do a bunch of checking for cordova, and it's checking stuff that doesn't exist in index.html as far as I can tell.
[19:14] <aquarius> daker, ping -- are you the html5 apps bloke? :)
[19:44] <aquarius> hm. According to https://developer.ubuntu.com/en/apps/html-5/tutorials/cordova-camera-app-tutorial/ I shouldn't be using Ubuntu SDK to create a cordova app at all; I should be using the cordova command line tool. Is that right?
[21:56] <aquarius> also, we have webkitSpeechRecognition in the browser, but it doesn't work.
[22:09] <mivoligo> mzanetti: around?
[22:10] <mzanetti> mivoligo: yes
[22:10] <mivoligo> mzanetti: what do you think about this sound for the cannon? http://www.freesound.org/people/ReadeOnly/sounds/186951/
[22:11] <mzanetti> mivoligo: yeah, could work.
[22:11] <mzanetti> have you tried it?
[22:12] <mivoligo> no yet, just searching
[22:17] <mivoligo> mzanetti: not bad when testing (on the level 9) ;) Goes well with the enemy explosion sound
[22:18] <mzanetti> cool
[22:18] <mzanetti> btw. I figured I introduced a bug shortly before creating the package I distributed :/
[22:18] <mzanetti> some towers are totally not behaving as they should
[22:19] <mivoligo> mzanetti: that's on the phone only?
[22:19] <mzanetti> no, it's in trunk too
[22:19] <mzanetti> I've just fixed it...
[22:19] <mzanetti> although I broke an animation again with that
[22:20] <mzanetti> still fiddling around
[22:20] <mivoligo> ok
[22:21] <daker> aquarius: yo
[22:21] <mivoligo> mzanetti: I'm under impression that Electro does not really slow down the enemies, or if it does, it's not very visible
[22:21] <mzanetti> yeah... 2 is not much
[22:21] <aquarius> daker, heya! Is the "HTML app" option when creating a new project in Ubuntu SDK supposed to create a cordova app?
[22:22] <mzanetti> once you upgrade it, it should become better
[22:27] <mivoligo> mzanetti: right, with 3 is more visible
[22:28] <mivoligo> mzanetti: I just thought it will be almost stopping those pesky enemies :D
[22:29] <mzanetti> mivoligo: hehe, I remember in some early stages it could make them run backwards :D
[22:30] <mivoligo> :D
[22:31] <mzanetti> mivoligo: to make them stop you need like 3 or 4 of the electro towers
[22:31] <mzanetti> but it's possible
[22:32] <mivoligo> first I need to bit that level 9!!!!
[22:33] <daker> aquarius: no but in theory their is a "Add Cordova runtime to HTML5 project" menu item in Tools > Ubuntu.
[22:34] <aquarius> daker, oh! really? I did not think to look for that.
[22:34] <aquarius> daker, maybe a comment in the source about that would be cool :)
[22:34] <daker> aquarius: well their should be a comment https://code.launchpad.net/~abreu-alexandre/qtcreator-plugin-ubuntu/add-doc-for-html5-cordova-import/+merge/227330
[22:34] <aquarius> anyway, I have given up on the little app idea because qml can't use the mic and html just hangs half the time when I try it :(
[22:35] <daker> aquarius: yes
[22:36] <aquarius> daker, hm. Maybe what I have is older than that, but... I didn't have that comment, unless I'm blind
[22:37] <daker> aquarius: for me too but i am running 14.10
[22:37] <aquarius> I'm running 14.04. :)
[22:38] <aquarius> but this stuff is in a PPA, I thought.
[22:38] <aquarius> Still, if it's there, then great; other people won't be as confused as I was :)
[22:44] <daker> aquarius: well i'll check with Alex
[22:44] <aquarius> daker, no worries -- given that that's in trunk, it'll hit people's development environment eventually, so that problem's solved. :)
[22:45] <mivoligo> mzanetti: should I convert that sound to ogg before pushing?
[22:45] <daker> aquarius: ha! https://bugs.launchpad.net/ubuntu-html5-theme/+bug/1338445/comments/5
[22:45] <aquarius> yeah -- possibly some dots haven't been connected quite right
[22:47] <mzanetti> mivoligo: yes please
[22:47] <mzanetti> mivoligo: just open it in audacity and export it again
[22:48] <mzanetti> then you can also adjust its volume if its too loud compared to the others
[22:52] <mivoligo> mzanetti: volume seams to be fine, I think
[22:53] <mivoligo> mzanetti: ok, pushed :)
[22:55] <mivoligo> mzanetti: I'll catch you tomorrow, see you o/
[22:55] <daker> aquarius: that's why https://bazaar.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-ubuntu/trunk/revision/288
[22:55] <mzanetti> mivoligo: bye
[22:55] <daker> zbenjamin: do you know why cordova was removed ?
[22:57] <aquarius> daker, I'm OK with cordova being removed, but it wasn't entirely removed: specifically, the default app.js file walks through index.html looking for a cordova.js script element. So I assumed that there was some way to provide it :)
[22:57] <aquarius> if the answer is that "HTML5 app" in the Ubuntu SDK project creator does not and should not create Cordova apps and if you want a Cordova app then you use the command line cordova tool (as per developer.ubuntu.com) then I think that's OK, although we might wanna be clearer about it :)
[22:59] <daker> i think so