/srv/irclogs.ubuntu.com/2015/03/12/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== aaron_ is now known as ahoneybun
=== chihchun_afk is now known as chihchun
AskUbuntuIt it possible to use apps for mobile? | http://askubuntu.com/q/59578804:29
=== dbarth__ is now known as dbarth
dholbachgood morning08:30
mzanettihey. anyone knows how to create a 15.04 chroot now that initctl seems to be gone from there?08:58
mzanettihttp://paste.ubuntu.com/10584417/08:58
seb128mzanetti, I fixed that in vivid yesterday09:00
seb128mzanetti, update?09:00
seb128mzanetti, https://launchpad.net/ubuntu/+source/click/0.4.38.509:00
mzanettiseb128, ah ok. I udated yesterday around midnight and tried after that. still wasn't working09:01
mzanettihaven't tried today yet09:01
seb128mzanetti, I don't know exactly how that stuff work, but there is a click-chroot-agent process that runs on my machine, I wonder if that doesn't need to be restarted after updating click09:02
seb128mzanetti, I had issues and I though click was updated, they went away after a reboot09:02
* mzanetti tries to reboot then :)09:03
seb128mzanetti, let me know how that works09:10
dholbachyo balloons: there's still https://code.launchpad.net/~dholbach/help-app/1430336/+merge/252566 :)09:14
mzanettiseb128, same error still09:16
mzanettifull log: http://paste.ubuntu.com/10584480/09:16
mzanettinote, this is an amd64 chroot09:16
seb128mzanetti, dpkg -l | grep click09:16
mzanettiseb128,  http://paste.ubuntu.com/10584496/09:17
seb128mzanetti, you have .4, the issue is fixed in .509:17
seb128mzanetti, you use an outdated mirror maybe?09:17
mzanettioh, ok09:17
mzanettichecking09:17
mzanettiseb128, weird... using archive.ubuntu.com. still only a .4 version there for me09:20
mzanettihttp://paste.ubuntu.com/10584507/09:20
seb128mzanetti, sudo apt-get update ?09:23
mzanettidid that like 10 times already today09:23
seb128mzanetti, https://launchpad.net/ubuntu/+source/click09:23
seb128weird :/09:24
mzanettiit does give me some 404 errors on update. still trying to figure if they are related09:24
seb128maybe ask on #launchpad or #ubuntu-devel if there is a problem with the archive?09:24
dpmdholbach, I've added some new help content on http://pad.ubuntu.com/UbuntuHelpAppContent - I'll wait to send a MP to see if someone from the docs team is also interested to contribute after the e-mail this morning09:35
dholbachdpm, brilliant, thanks09:43
=== chriadam is now known as chriadam|away
seb128mzanetti, did you sort it out?10:51
mzanettiseb128, no... still only get offered .410:52
seb128shrug10:52
seb128can you pastebin the log from apt-get update?10:53
mzanettiseb128, I think this as to do with it: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/vivid/Release10:53
seb128likely10:53
mzanettibut it doesn't really tell me why it failed10:53
seb128can you open that url in a webbrowser?10:53
mzanettiyes, and content look of from what I can tell10:54
mzanettis/of/ok/10:54
=== aaron_ is now known as ahoneybun
=== MacSlow is now known as MacSlow|lunch
=== Guest9281 is now known as jalcine
=== jalcine is now known as Guest83805
=== jalcine_ is now known as jalcine
dakerhi dholbach is you email daniel.holbach@u.c an email or just an alias ?13:08
dholbachan alias13:08
dholbachwhy?13:08
dakerdholbach: because some of emails are going to the spam folder13:08
dholbachhum13:09
dakerAuthentication-Results: mx.google.com; spf=none (google.com: daniel.holbach@u.c does not designate permitted sender hosts) smtp.mail=daniel.holbach@u.c13:09
daker+ this http://journal.dedasys.com/2015/03/12/alarming-number-of-spam-false-positives-in-gmail/13:09
=== rmescandon is now known as rmescandon|lunch
dholbachI'm not sure what that means13:11
dpmdholbach, I've been thinking about navigation, I added a comment for bug 1429079 - perhaps after looking at how feasible it is to write an extension that might give us an insight if the comment makes sense13:15
ubot5bug 1429079 in Ubuntu Help App "Add breadcrumbs for navigation to web theme" [High,Triaged] https://launchpad.net/bugs/142907913:15
=== MacSlow|lunch is now known as MacSlow
dholbachdpm, I'm working on the extension now - it'll take a bit, but I think it's our best shot at solving the problen13:15
dpmdholbach, sounds good, so perhaps we can then use extensions to solve other issues we're facing13:16
dholbachyes, very likely13:16
dholbachwhat https://pythonhosted.org/Markdown/extensions/admonition.html does is pretty close to what we want13:16
dholbachso I'm looking at modifying it to do what we want :)13:17
dholbachI'll let you know once I have something that works :)13:17
dpmcool13:17
dpmDS-McGuire, around?13:17
DS-McGuiredpm,  I am :)13:17
dpmI just read your comment on your merge proposal13:18
dpmdo you still have your local branch in your computer?13:18
DS-McGuireI do13:18
DS-McGuiredpm, Is there something I did wrong? I can't work it out.13:19
dpmDS-McGuire, what does bzr status tell you if you run it inside the folder where your branch is? (you can use http://pastebin.ubuntu.com/ to paste the output there)13:19
DS-McGuiredpm, No need to paste, nothing shows.13:20
dpmok13:21
mivoligomzanetti: hi13:21
mzanettihi mivoligo13:21
dpmDS-McGuire, and what does this command give you? bzr log -r-113:22
mivoligomzanetti: I'm about to finish with the graphics for the next levelpack. Do you have any tips for the actual gameplay?13:23
mzanettiyeah. block a large amount of time from your calendar :P13:23
mzanettij/k13:23
mivoligomzanetti: :D13:23
mzanettiwell, I did it like this:13:24
dholbachDS-McGuire, the stuff in app/www is automatically generated13:24
DS-McGuiredpm http://paste.ubuntu.com/10585404/13:24
mzanettimivoligo, first decide on how the level pack should look like in general. how many waves, how many enemies.13:24
dholbachDS-McGuire, the phone theme lives in edit-here/themes/phone/13:24
mzanettimivoligo, then think about how/when you want towers to be unlocked13:25
DS-McGuiredholbach, That would explain a lot.13:25
mzanettimivoligo, distribute your enemies on the levels you have13:25
dholbachDS-McGuire, you can regenerate everything by running 'make html'13:25
mzanettimivoligo, then start with the first level, throw in some enemies, then play it. if you succeed, it's too easy, make the enemies harder/towers weaker13:26
DS-McGuiredholbach, will that not erase the work I did because it generates new content in www?13:26
mzanettimivoligo, at some point it'll be hard enough that you will fail with the level13:26
mzanettimivoligo, that's probably when it's good13:26
dholbachDS-McGuire, I wouldn't touch app/www - it'll always be rewritten - better copy your work to somewhere else13:26
dpmDS-McGuire, ah, wait, so I think I understand what happened13:26
dholbachDS-McGuire, and then apply the changes in edit-here/themes/phone/13:26
dholbachDS-McGuire, I'll add a note to the HACKING doc to explain this better13:27
DS-McGuiredholbach, I will make a copy now.13:27
dholbachthanks13:27
mzanettimivoligo, then try many times until you succeed (without making it easier). At some point you'll know the best spots for towers for that level and just need to prove that it is doable on hard with 3 stars13:27
dpmDS-McGuire, so essentially what dholbach says. You did your changes in the build location (i.e. that will always be overwritten) instead of in the source code, which is revision-controlled. That is why bzr never saw your changes13:27
mzanettimivoligo, check out the spreadsheet in the google drive, you'll see how I tried to distribute towers and enemies on the levels. create something similar13:28
mhall119rickspencer3: I guess I'll need to add more platform integration features into uReadIt, so you can get he most out of your tablet :)13:28
DS-McGuiredpm, Yeah, that does make sense. :(13:28
mzanettimivoligo, you don't need to follow that 100% afterwards, but it really helps trying to stick to such a plan13:28
rickspencer3mhall119, yeah, just add my Yahoo! mail account and GetThereDC13:28
rickspencer3:)13:28
mivoligomzanetti: thanks13:28
mivoligomzanetti: should I try levels with all towers unlocked?13:29
mzanettimivoligo, so ideally you would fail to get 3 stars with just the towers that are available in the first run, and then later when you have stronger towers you can play it again and get 3 stars13:30
DS-McGuiredpm, So where do I go to control the html in the app?13:30
mzanettimivoligo, in that sense, yeah, the proving if 3 stars are possible should be done with all towers unlocked13:30
mhall119rickspencer3: I've been considering adding a "gallery mode" that would make it work like reddgur for subreddits with lots of imgur posts, like /r/funny13:31
dholbachDS-McGuire, dpm: https://code.launchpad.net/~dholbach/help-app/explain-automatically-generated-content/+merge/25274613:31
dpmDS-McGuire, the theme is separated from the content. To modify the themes, you can do it here: http://bazaar.launchpad.net/~ubuntu-touch-coreapps-drivers/help-app/trunk/files/head:/edit-here/themes/13:32
mivoligomzanetti: is the default level "medium"? And "easy" and "hard" are created automatically?13:33
mzanettimivoligo, yes. ah right. always use "hard" when you create the levels13:35
DS-McGuiredholbach, dpm, I now understand. I embed the HTML in the markdown file and put my css into the other folder.13:35
mzanettimivoligo, and remember. hard is supposed to be hard13:35
mivoligo:D13:35
mzanettimivoligo, as long as it is somehow possible to get 3 stars, nothing is too hard13:36
dholbachDS-McGuire, I'm not sure yet about embedding HTML in the markdown13:36
dholbachDS-McGuire, I don't know how well our translations workflow is going to cope with that13:36
dholbachdpm, ^13:36
dpmDS-McGuire, yeah, I was going to say the same: you can put the CSS in the /static folder, but I'd try not to embed HTML13:37
dpmDS-McGuire, in the measure possible, the HTML should go in the HTML templates13:37
dpmDS-McGuire, they've got a special syntax13:37
dpmyou'll probably want to edit the page.html template in the phone folder13:38
DS-McGuiredpm, Okay. I haven't done anything in this way before. I think I see how it can be done.13:39
dpmDS-McGuire, sure. If you need help, feel free to ping dholbach or myself13:40
DS-McGuiredpm, Will do. Thank you!13:41
dholbachDS-McGuire, it's the same for us - we are sort of bending what the tools normally do into what we need done :)13:41
DS-McGuiredholbach, dpm Can I ask without offending, why wasn't this project set up to use the SDK from the start? I am only saying because in doing so it does make it easier for people to contribute.13:43
dholbachDS-McGuire, because the tools we use are not what's part of the normal SDK experience13:43
dholbachDS-McGuire, we don't do stuff like "edit markdown files" or "translate content" in the SDK13:44
dholbachit's quite custom13:44
dholbachbut I agree, that it'd be nice if somebody sat down and fudged our project into a way where stuff like "Ctrl-R" would build the project and run it13:44
dholbachwe filed a bug for that, but I, personally, didn't get around to fixing it yet as there were lots of other things to do13:45
DS-McGuiredholbach, I see, well that does make sense then. It's a shame it wasn't possible with the SDK.13:45
dholbachmaybe you could point out in the bug report what you would expect the SDK to do with the project?13:45
dholbachjust so we have it all listed in one place13:45
dholbachhttps://bugs.launchpad.net/help-app/+bug/141645413:46
ubot5Ubuntu bug 1416454 in Ubuntu Help App "Make it easier to edit in the SDK" [Medium,Triaged]13:46
mivoligomzanetti: I'll ask you to test it for sure :)13:47
DS-McGuiredholbach, It's not so much what I would expect the SDK to do, it's just how it's all set up. Like you said with ctrl+r to running it makes it a lot easier and it sort of makes the skill level needed to contribute smaller.13:48
dholbachDS-McGuire, right... but ... how do you feel it would be easier to work on the project in the sdk?13:49
DS-McGuiredholbach, I guess I am thinking of building this app the way I built mine, I am forgetting about the translations and such. This is a different level for me really. I was expecting to help with this app to be quite easy considering my HTML/CSS background but I never thought I would have to do it this way, it's the reason I jumped straight into www.13:52
DS-McGuireit's not a bad thing, it's just quite hard for me at the moment with little knowledge.13:53
DS-McGuireSo it's not so much to do with the SDK really.13:54
mzanettimivoligo, ok :) looking forward to it13:57
dholbachDS-McGuire, thanks a lot for sharing your experience - I hope we can make it easier for new contributors :)14:01
DS-McGuiredholbach, Sorry I don't mean to offend at all.14:01
dholbachno no, that's not the way I took it - I was serious :)14:02
dholbachI'm glad you're helping out and if we can fix problems in the process and tools along the way, that's great :)14:02
rickspencer3DS-McGuire, maybe I could ask you to help me with something? I started to write something specifically to help people get started with app development on Ubuntu14:03
rickspencer3do you think you'd have 5 or 10 minutes to take a look and give me feedback about what might be good to change or add?14:03
DS-McGuiredholbach, Do you think, given my experience and knowledge I should work on something else?14:03
dholbachballoons, if you have a bit of time for https://code.launchpad.net/help-app/+activereviews that'd be nice :)14:03
DS-McGuirerickspencer3, Sure! :D14:03
rickspencer3thanks14:03
dholbachDS-McGuire, not at all - the current look of the app leaves quite a bit to be desired... if you are interested in helping out with that (or anything else), we're happy to have you on the team :)14:04
rickspencer3I wrote chapter four thinking it would be specifically a walkthrough to help people get familiar with the overall system -14:04
rickspencer3https://docs.google.com/a/canonical.com/document/d/1rt0IzwR79hPX4mN-WGqzyhfFTgxcFNEevAY-1nXtSaU/edit#14:04
rickspencer3Chapter 5, which I haven't started, will expand on it a bit to introduce some of the concepts like page stack, dialogs, and content hub14:04
rickspencer3DS-McGuire, so, if you could take a look at Chapter 4 at some point, I would be most indebted to you14:05
DS-McGuirerickspencer3, Sure thing, I will finish up what I am doing now and take a look. :)14:05
rickspencer3whenever you get a chance14:05
mivoligomzanetti: btw, I've noticed first 4-star review of Machines :D14:06
DS-McGuiredholbach, Well as long as you think I will be some sort of help. I am 20 and I have been doing html/css in my spare time and I assumed I would be of some help but today and yesterday (even though I made what looked like progress) wasn't any. As long as I am not slowing you down I will try and help.14:08
dholbachyou're not - don't worry!14:08
mzanettimivoligo, me too... and it's a platform issue. *grrrrrr*14:08
dholbachthanks a lot for helping out!14:09
mivoligomzanetti: heh, anyway it's still the most popular game according to https://appstore.bhdouglass.com/ :)14:10
DS-McGuiredholbach, Not a problem. :) I will leave it for the time being because I have work to do but I will get back on it probably tomorrow at some point.14:10
akiva-thinkpadDS-McGuire, o/14:10
dholbachexcellent, thanks DS-McGuire!14:10
DS-McGuirerickspencer3, Is this all chapter 4?14:10
DS-McGuiredholbach, Not a problem :)14:10
DS-McGuireakiva-thinkpad, o/ How are things?14:11
dholbach:-)14:11
rickspencer3DS-McGuire, no, there is some intro material that is far from complete14:11
rickspencer3and then there is an Autopilot appendix which is only ab out 70% done14:11
balloonsdholbach, ahh.. so that was the issue for DS-McGuire14:11
akiva-thinkpadDS-McGuire, mmmmmm i got stuck on that stupid autopilot plugin. Can't find the widget to place my widget in. That was like a month ago :<14:11
DS-McGuirerickspencer3, I asked the wrong question but don't worry! :L14:11
rickspencer3DS-McGuire, if you click on the link in the Table of Contents at the beginning, it's "Getting Started wtih an App:"14:12
rickspencer3DS-McGuire, ah, so if you meant, is Chapter 4 done, then "yes" but Chapter 5 is not started ;)14:12
akiva-thinkpadworking on a new project, will present it to vanlug in a week :)14:12
DS-McGuirerickspencer3, The link doesn't take me anywhere.14:12
akiva-thinkpadDS-McGuire, you?14:12
rickspencer3oops14:13
* rickspencer3 fixes14:13
DS-McGuireakiva-thinkpad, That's a shame, you made good progress with that. I am good thanks, I have been trying to help out with the Ubuntu Touch Help app. :)14:13
DS-McGuirerickspencer3, :P14:13
rickspencer3DS-McGuire, I can't make the link work :(14:14
rickspencer3it starts on page 6, in any case14:14
DS-McGuirerickspencer3, ah well that's okay, I will start from there.14:15
akiva-thinkpadDS-McGuire, it was basically done. :(  I think I just need to edit qtcreator, and add the widget I need to the object pool.14:17
DS-McGuirerickspencer3, Would it be okay if I comment where I think additional content would help people who are just starting? for example when talking about units.gu it would be good if we had the BQ and the MX4 units.gu as examples.14:21
rickspencer3DS-McGuire, that would be awesome!14:21
rickspencer3please comment14:21
DS-McGuirerickspencer3, Sweet! :D14:21
DS-McGuireWill do14:21
rickspencer3DS-McGuire, also, you can just make edits and I can go through and accept or change them later14:22
DS-McGuirerickspencer3, I am not very good with writing, so I will only keep what I change small. Larger edits I will only comment :/14:23
rickspencer3thanks DS-McGuire, whatever you are comfortable with and have time for14:24
DS-McGuirerickspencer3, thank you :)14:24
DS-McGuirerickspencer3, From where I got to it all looks good, I am going to take a break and then actually follow along in the SDK so I can see if anything else needs to be added. Nice work though. Can I ask, where is this going to be published?14:35
rickspencer3DS-McGuire, well, I was planning to kind of leave it there and make it a living document14:35
rickspencer3let people render it into PDFs and stuff as they wish14:35
rickspencer3maybe render a .epub too14:35
rickspencer3I guess I should license it14:35
rickspencer3i.e. put it under an appropriate CC license so people know they are free to copy it, fork, share it, etc...14:36
DS-McGuirerickspencer3, That would be awesome! Let me know when it's ready and I will make a deal about it in http://www.reddit.com/r/UbuntuAppDev/ :)14:37
rickspencer3:)14:38
dholbachballoons, any chance you can take a look at https://code.launchpad.net/~dholbach/help-app/1430336/+merge/252566?15:02
davmor2popey: the calendar if I install it on 15.04 in default apps would I be able to select it as a calendar? or would I need to wait till unity8 is rocking the desktop?  I'm tired of seeing default calendar = gedit :D15:04
popeynot sure what that would need.15:05
popeySuspect we'd need to add support for a few extra things15:06
balloonsdholbach, on it15:07
dholbachthanks15:07
=== JamesTai1 is now known as JamesTait
* dholbach hugs balloons16:27
dobeydavmor2: the click packaged calendar-app under unity7 with the gnome-derived system settings stuff? would require a lot of work i think16:48
balloonsso dholbach I know you did a few things to currencyconverter in the past.. care to gander at https://code.launchpad.net/~nskaggs/ubuntu-sdk-tutorials/update-currency-tests/+merge/252776?16:50
dholbachballoons, sure16:51
dholbachballoons, the test fails for me16:52
balloonsdholbach, ahh yes.. there's something funny about the qml file name. I remember seeing you swapped it from CurrencyConverter.qml to main.qml. That breaks the qml tests16:55
balloonssomething odd with the mainview16:55
dholbachI think that's what's default in the SDK nowadays?16:55
balloonsI don't want to swap it back, but I'll have to fix the tests16:55
AskUbuntu_How can I run a python class that I made on ubuntu | http://askubuntu.com/q/59603717:10
dobeyanyone know how to create a row of items in qml that will be confined to the parent rectangle (so that if parent is N items wide, and there are M items, the Mth item will appear below the first rather than get cropped)?17:10
dholbachballoons, generally the tests and everything look good17:18
dholbachballoons, but I'm not sure how to get them to work :)17:18
balloonsdholbach, yea, I'll let my brain idle on that one will I finish the tutorial. They work with a simple rename; it's a matter of making sure the tests can find the qml components is all17:19
balloonsin theory; it's easy17:19
dholbachI'm sure others have run into the same issue before :)17:20
dholbachmaybe somebody of the sdk hippies knows?17:20
balloonsI'd guess mzanetti knows ;-)17:20
* mzanetti reads17:24
mzanettidholbach, what's the context?17:25
balloonsmzanetti, https://code.launchpad.net/~nskaggs/ubuntu-sdk-tutorials/update-currency-tests/+merge/25277617:25
balloonsmzanetti, the qml tests don't work because they can't find the CurrencyConverter component.17:26
dholbachmzanetti, I think the issue is (balloons will know better) that what used to be CurrencyConverter.qml now became main.qml and ...17:26
dholbachyes17:26
balloonsYou may remember them as you wrote them originally :-)17:26
mzanettiah17:28
mzanettiyep17:28
mzanettifor some reason, you can only import files starting with uppercase letters17:28
mzanettiwell, qml item names need to be uppercased, and in this case the name comes from the filename...17:28
mzanettiso I guess calling it "Main.qml" and them using "Main {}" instead of "CurrentcyConverter {}" in the test would work17:29
mzanetti(unless there's a naming clash with "Main")17:29
balloonsmzanetti, ohh really? wow.. I obviously tried importing main.qml directly, etc.. sweet17:29
mzanettiballoons, let me know if that doesn't work, I haven't tried it right now17:31
balloonsmzanetti, no indeed it all works as expect as soon as you capitalize the filename17:32
balloonscrazy17:32
balloonsmzanetti, is there a way to separate the name from the filename? So I can import Blah from someotherthing.qml17:33
mzanettiballoons, I haven't ever tried that with lowercase filenames either, but I guess it could work if you create an import module17:37
mzanettithat means you'd create a qmldir file, in which you can specify the qml item name and the filename17:38
mzanettihowever, the containing directory needs to be named after the import module then :)17:38
balloonsmzanetti, ahh..17:39
balloonswell, perhaps it's just as well as-is then. Thanks for the heads-up.. Glad I asked, I don't think I would have discovered that without alot of pain17:39
mzanettiballoons, I haven't yet found any downside with not calling it "main.qml"17:40
mzanettias you need to pass the filename to qmlscene anyways...17:40
mzanettiso I for one would call it CurrencyConverter.qml, which is even more descriptive than main.qml17:41
dobeymeh, is there really no way to force a row to wrap the children?18:02
swordfish90Hello everyone. Today we received a bug report #1431427 which indicates that the desktop next image still ships with the pre-reboot version of the terminal-app. Is there any plan to update it? Is there something we can do to ease the transition?18:03
DS-McGuiremhall119, Can I pm you?18:06
mhall119DS-McGuire: sure, any time18:07
mzanettidobey, in qm?18:15
mzanettiqml18:15
dobeymzanetti: yeah18:15
mzanettidobey, I think you want a Flow {}18:15
mzanettimaybe I understood wrong18:16
mzanettidepends on what you mean with "wrap the children"18:16
bogdanHi, I have a file index.html with html+javascript. It's somekind of game. Sort of. I want to test with it how can I use SDK to build an html5 app. Can someone help me? Maybe with a google hangout on my computer...? I have nothing on my computer, we cant distroy anything...18:16
dobey13:09 < dobey> anyone know how to create a row of items in qml that will be confined to the parent rectangle (so that if parent is N items wide, and there are M  items, the Mth item will appear below the first rather than get cropped)?18:17
dobeymzanetti: ^^ that18:17
mzanettidobey, yes, Flow {} it is18:17
dobeyah18:18
dobeymzanetti: thanks18:19
mzanettinp18:19
=== aaron_ is now known as ahoneybun
nik90popey: quick question, when you asked for auto-download of new episodes in podbird, what happens in the case of a new podcast where a user might not have listened to any of its episodes? Does it then just download the latest 5 episodes there?19:06
nik90popey: I finished implementing auto-deleting of old episodes beyond a certain time-period that I expose in the settings page19:06
=== chihchun is now known as chihchun_afk
popeynik90: new subscription should only grab the most recent episode IMO19:07
nik90ack.19:08
Elleo/3/19:10
Elleooops19:10
snizzoHey, if I buy an mx4 can I flash ubuntu touch on it?22:34
snizzoAndroid mx4*22:35
nik90anybody with N4 running vivid online? Just need some confirming a crasher bug.23:01
newsageshiiiiiiiiiiiiiiii23:55
newsagesany have develop camera/barcode scanner plugin for sdk?23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!