/srv/irclogs.ubuntu.com/2014/12/01/#ubuntu-app-devel.txt

Elleoviejotren: http://developer.ubuntu.com/scopes/00:15
viejotrenthanks Elleo00:41
Elleono problem :)00:45
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
dholbachgood morning08:10
akiva-thinkpadmoaning08:11
Mirvbzoltan_: can you comment on nik90_'s branch https://code.launchpad.net/~nik90/ubuntu-seeds/add-qml-connectivity/+merge/237442 regarding adding our connectivity-api's QML module to the seed?08:16
Mirvnik90_: oh, btw, could you rebase it now to vivid since it has stuck there?08:17
=== chihchun_afk is now known as chihchun
=== rmescandon is now known as rmescandon|afk
=== rmescandon|afk is now known as rmescandon
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
seb128hey there08:59
seb128do we have a tutorial on how to run your simple touch app on a device from qtcreator?08:59
seb128I tried to run/deploy from qtcreator (on vivid) without luck, it looks like it tries to ssh to the device but fails08:59
mivoligomzanetti: hi :)09:10
bzoltan_Mirv:  OK, I take a look09:11
bzoltan_seb128:  it should work out of box without any magic09:13
seb128bzoltan_, it doesn't (device is a krillin on current rtm image), how can I debug what is not working?09:16
bzoltan_seb128:  your environment might be broken. is the device dev enabled?09:17
seb128yes09:17
seb128I can adb to it09:17
bzoltan_seb128: good09:17
bzoltan_seb128: clean up the ~/.config/QtProject09:17
bzoltan_seb128: remove the ssh keys from ~/.config/ubuntu-sdk and from the device09:19
bzoltan_seb128: and redecet the device from the devices page09:19
seb128bzoltan_, hum, now qtcreator only lists an emulator and not the krillin anymore09:24
Mirvbzoltan_: thanks09:24
JamesTaitGood morning all; happy Monday, and happy Day With(out) Art Day! :-D09:25
seb128ok, dev mode was off, it's back on09:27
seb128bzoltan_, do I need to click on some of the "execute" buttons for things like "setup public key auth"?09:28
bzoltan_seb128:  no, it is automatic09:37
bzoltan_seb128:  just plug in and it is ready to play09:38
seb128bzoltan_, "run" should run on the device? qtcreator output's log has09:39
seb128"Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.09:39
seb128Received disconnect from 127.0.0.1: 2: Too many authentication failures for phablet"09:39
seb128and nothing runs neither on the device nor on the desktop09:39
bzoltan_seb128:  your ssh keys and pairing is busted09:39
seb128bzoltan_, I just deleted the config on both sides09:40
seb128how do I redo pairing?09:40
seb128should I install openssh-server on the device?09:40
bzoltan_seb128: it is installed09:40
seb128why does it try to connect to 127.0.0.1?09:41
bzoltan_seb128:  what you see is an ssh issue, it can be caused by many things09:41
seb128that's localhost, not the device09:41
bzoltan_seb128:  the device ports are forwarded09:41
bzoltan_seb128:  the device connectivity is adb+ssh09:44
seb128bzoltan_, it's giving me a "too many auth failure", do you know how those are stored?09:44
seb128what to reset?09:44
seb128bzoltan_, it looks like it tries to ssh to my local desktop and not to the device09:47
bzoltan_seb128:  it connect to the device vi the ports the device  forwarded to your localhost09:49
seb128bzoltan_, how can I debug that not working?09:50
bzoltan_seb128:  we do not have usb net09:50
seb128bzoltan_, can I run a ssh command by hand to debug it?09:50
bzoltan_seb128: you ca try to ssh into the device from the devices page09:51
seb128bzoltan_, that open a command line for a second and close it09:52
seb128I can't see what is wrong, it's closing before09:52
seb128not sure if there are logs somewhere09:52
mzanettimivoligo: hi09:53
bzoltan_seb128:  the logs are on the logs window or in the logs tab09:53
bzoltan_seb128:  but yes, you ca try from commandline, but you will see the same message.09:54
mivoligomzanetti: great work with the zoom in effect on the level start!09:54
seb128bzoltan_, to what port do I need to ssh? how do I see what port have been fwded?09:54
mzanettimivoligo: cool, thanks.09:54
bzoltan_seb128:  I remember I have seen the same problem... it is an ssh thing09:54
mzanettimivoligo: I started to do the new levels yesterday. found a bug in level2 :/09:55
mivoligomzanetti: ?09:55
mzanettimivoligo: andi walking in level2 doesn'09:55
mzanettimivoligo: andi walking in level2 doesn't fit into the road09:55
bzoltan_seb128:  adb forward --list09:55
mzanettimivoligo: I think the path needs to be moved a wee bit down09:55
mzanettimivoligo: I'll push my stuff soon, so you can see it yourself09:56
mivoligomzanetti: ok09:56
mzanettimivoligo: the underwater world is really cool :)09:56
mivoligomzanetti: thanks :) what about the paths on the last 6 levels? DO you want to make them visible?09:57
mzanettimivoligo: I'm still not sure about that... you do have a point about the increased difficulty09:57
mzanettimivoligo: a friend of mine is playing the game (the old existing 9 levels) all the time. I'll ask him on his opinion09:57
mivoligomzanetti: great09:57
mivoligomzanetti: also I don't have a really good idea how to do the paths there09:58
mivoligomzanetti: what I tried didn't feel right09:59
mzanettimivoligo: I would go for a brighter stripe... hard to explain. let me try to find an example image10:00
mzanettimivoligo: a bit like this: http://pixabay.com/en/away-path-trace-sand-desert-375842/10:01
mivoligomzanetti: that might work10:02
mivoligomzanetti: I hope no one will be offended by BSD reference in one of the level ;)10:03
mzanettihehe10:03
mzanettiI don't think that'll be a problem10:03
mzanettimivoligo: did you see the new layout in the level selector?10:03
mzanetti6x510:03
mivoligoyes, pulled yesterday just to check10:04
mivoligomzanetti: I think it's even better now10:04
mzanetti+110:04
mivoligomzanetti: what about the destroying particles? can you use couple images for that or just one?10:06
mzanettimivoligo: we can add different images, yes10:06
mzanettimivoligo: are you thinking about a mix of images?10:07
mzanettimivoligo: or one image per enemy, but different ones for each enemy?10:07
mzanettior both? :D10:07
seb128bzoltan_, ok, it works if I don't use the ssh agent on my desktop10:07
mivoligomzanetti: :D I made couple bolds and cogs and stuff10:08
mzanettimivoligo: need to play around with the particle effect. not exactly sure how it works yet. but yeah, we can have a mix of images there10:08
mivoligomzanetti: what size do we need?10:09
bzoltan_seb128: good to know... we have to cover that case somehow.  Would you mind to file a bug and describe your setup, please?10:09
seb128bzoltan_, sure can do, against what component?10:09
bzoltan_seb128: thank you -> https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu10:10
mzanettimivoligo: good question... I think how it works is that it takes an image, copies that like a 50 times and uses each copy as a particle10:10
mzanettimivoligo: depending on the parameters the size of those particles change, they can even grow and shrink during the animation10:10
bzoltan_seb128:  I have had similar problem long time ago and I have heard few people suffered from the same issue. So i have to address this case. Thank you for discovering the reason.10:11
seb128bzoltan_, you are welcome, thanks for helping me debug ;-)10:11
mzanettimivoligo: I think it would make sense if you play around with it. I can prepare a sample QML file for you that just plays a particle effect and you play with the artwork and tweak the params10:11
mivoligomzanetti: ok10:11
mivoligomzanetti: another thing on my todo list is the About (info) page. What do you want to see there?10:13
mivoligomzanetti: or is there some Ubuntu touch standard already for that?10:14
mzanettimivoligo: our names, a list of names generated by the loaded level pack (e.g. credits for the music), the GPL disclaimer and I guess a donate button10:14
mzanettimivoligo: there isn't a standard, but nik90_ did something great for fahrplan. let me find the screenshots10:14
mzanettimivoligo: check out the first 3 screenshots here: https://github.com/smurfy/fahrplan/pull/13910:15
mzanettimivoligo: doesn't need to be the same if you don't want to. just some food for thoughts10:16
mivoligomzanetti: ok10:17
=== greyback_ is now known as greyback
=== _salem is now known as salem_
uglyandstupidhi12:07
uglyandstupidis there a way to put toolBar in the bottom ?12:08
uglyandstupidinstead nf the default top12:08
uglyandstupidhumm it's hardly coded12:16
dholbachdpm, what do you suggest we do about http://developer.ubuntu.com/web/api/?12:38
* dpm looks12:42
dpmdholbach, I'm going to ask dbarth12:42
uglyandstupidis there a way to layout tooBar (ApplicationWindow) in bottom instead of top please ?12:42
dholbachgreat12:45
DanChapmanuglyandstupid: http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.MainView/#useDeprecatedToolbar-prop12:45
DanChapmanuglyandstupid: or you can create one using a Panel component12:46
uglyandstupidDanChapman: i know, i was just hoping to avoid writing a new component12:46
=== rmescandon is now known as rmescandon|lunch
weeman1337Hello there, I have some scope dev questions! Anyone here who can help?13:53
=== PabloRubianes_ is now known as PabloRubianes
davidcalleweeman1337, I can try :)13:55
weeman1337davidcalle, thanks!13:56
weeman1337Here's the first one: Is it possible to limit an image height for a PreviewWidget?13:56
davidcalleweeman1337, I don't think you can, but that's a question for Saviq if he's around ^13:57
weeman1337Or alternatively disable scaling..13:57
dholbachjdstrand, I replied to the merge proposal again - unfortunately it's merged now :-/13:57
Saviqweeman1337, no, the image height is preset at 22 grid units13:58
weeman1337Saviq, ok it would be nice if an options for this will be added in the future.. Small images are looking very ugly when they are scaled up.14:01
weeman1337davidcalle, here's another one: Can I deploy images with my scope package? If yes, how do I link them?14:01
Saviqweeman1337, hmm if you have a small image maybe it's better to use the Header widget and put it as the mascot?14:03
Saviqweeman1337, the Image widget is really geared towards high quality images14:03
jdstranddholbach: yeah, I responded14:04
weeman1337Saviq, I tried this, but the image will be scaled to fit the mascot height and then left and right parts are missing..14:05
Saviqweeman1337, you could file a bug for ubuntu-ux so that the design team takes that into account14:07
weeman1337Saviq, ok I'll do this. Maybe it isn't actually a bug. But then the design may be improved.14:09
dholbachjdstrand, pindonga is looking into it and will propose another MP14:12
pindongajdstrand, hi, thx for your comment14:12
pindongawas meaning to ask you about it14:12
pindongathe previous mp was done to unblock some packages having issues to land14:12
pindongaI'll back these changes out this week14:12
pindonganot today as I'm in the middle of other stuff, but will have it done by EOW14:13
pindongajdstrand, just to confirm.. policy_version is and will be a float (for the foreseeable future)14:13
jdstrandpindonga: yes. that is an intentional, conscious design decision to have very simple versions for policy_version14:14
pindongajdstrand, ack... sorry for the noise... will have it fixed by EOW14:14
=== jgdxx is now known as jgdx
davidcalleweeman1337, sure you can. Look at data/CMakeLists.txt to see how to ship icons. Then, you can access the scope install dir from your code with http://developer.ubuntu.com/api/scopes/sdk-14.10/unity.scopes.ScopeBase/#a32744a21076d9dacc98362412c6a63d514:26
renatudpm, how I can create a translation for "pt-BR" on this project? https://translations.launchpad.net/libusermetrics14:38
dpmrenatu, you need to be a member of Ubuntu Translators, but I think you should at least be able to submit a translation suggestion. If you go to that page, do you have Brazilian Portuguese shown as an empty translation? For this, you'll have to have set Brazilian Portuguese as your preferred language in LP14:40
renatudpm, the Brazilian Portuguese does not appear on the list14:42
dpmrenatu, have you specified it as your preferred language? https://wiki.ubuntu.com/Translations/QuickStartGuide/FirstSteps#Telling_Launchpad_About_Your_Preferred_Languages14:43
dpmor directly: https://translations.launchpad.net/+editmylanguages14:43
renatudpm, I clicked on " View all languages"14:44
dpmright, but have you done that? ^14:44
renatudpm, ok now is showing a empty "Brazilian" translation, thanks14:46
renatudpm, I will submit some suggestions14:46
dpmexcellent14:47
=== chihchun is now known as chihchun_afk
=== oSoMoN_ is now known as oSoMoN
ahayzenkenvandine, ping15:09
kenvandineahayzen, pong15:09
ahayzenkenvandine, Hey, I've been playing about with Bacon2d and was wondering what is the best way of creating a semi-circle which is dynamic or can collide with dynamic/static objects.15:09
=== chihchun_afk is now known as chihchun
kenvandineahayzen, give me a few, in a meeting15:09
ahayzenkenvandine, no problem :)15:09
=== karni is now known as karni-afk
dpma new contributor to Calendar, nice!15:21
dpmhttps://code.launchpad.net/~acerisara/ubuntu-calendar-app/new-event-default-values/+merge/24307115:21
kenvandineahayzen, so a semi-circle is probably not trivial15:22
kenvandinewould it matter if it was a fixture that was a full circle just half of it visible?15:23
kenvandinelike for example off the bottom of the screen, etc15:23
ahayzenthats what i have at the moment...but..15:23
ahayzenif i make it dynamic then it 'sits' on the 'ground' as a circle?15:23
ahayzenand if i have it as static then i can't enforce gravity on it15:24
kenvandineyou could make it not collide with the ground15:24
ahayzenunless there is a way of cutting the bottom of the fixture off?15:24
kenvandineso you want the semi-circle to move?15:24
ahayzenkenvandine, basically the semi-circle is the character...which moves along the bottom of the screen and can 'jump'...then there is a dynamic ball flying around that they hit15:25
kenvandineah15:25
kenvandinecool15:25
kenvandineahayzen, i think it's groupIndex15:26
ahayzeni've just unsure of the best way of doing it... at the moment it is static and then i just move the x and apply a linearVelocity for jumping (but can't get it to 'float' back down)15:26
kenvandineyou can change that, so it doesn't collide with the ground15:26
kenvandinethen you can make the ball collide with both the ground and the semi-circle15:26
ahayzenwould the semi-circle not then just keep falling down and off the screen?15:27
kenvandinedoes the semi-circle actually need gravity?15:27
kenvandinedoes it need to leave the ground?15:27
kenvandinecan jump15:27
kenvandineright..15:27
kenvandineok, so that makes it trickier15:27
kenvandinei think you need to create a polygon then...15:28
ahayzenunless somehow with linearVelocity we can emulate gravity :)15:28
kenvandinewith lots of vertices15:28
ahayzenthat was my other thought :)15:28
kenvandinethat's the right way15:28
ahayzenguess i can try and figure out something that generates the vertices :)15:28
kenvandinethere's a non-free tool that works well... it's windows, but works well in wine15:29
kenvandinehttps://www.codeandweb.com/physicseditor15:29
kenvandinei'm experimenting with creating an exporter for that which we can read in15:29
ahayzenoh cool :)15:29
kenvandinebut... basically you can open an image for your semi-circle in it15:30
kenvandineand have it trace it to create the fixture15:30
kenvandinethen export it for various physics engines15:30
kenvandinethen you could parse the output to get your list of vertices :)15:30
kenvandineit has a really flexible pluggable exporting system15:30
ahayzenawesome15:31
kenvandineso i'm thinking of writing an exporter for it that creates qml :)15:31
kenvandinefor an Entity15:31
kenvandinebut for you now you can just the grab the vertices15:31
kenvandineElleo, unless you want to add a feature like that to bacon2d-editor :)15:32
kenvandineopen a sprite/image and trace it :)15:32
ahayzenhehe15:32
kenvandineit wouldn't be complicated to do for something like a semi-circle15:32
kenvandineit gets more complicated for things like terrain15:33
Elleokenvandine: heh, sure, if you don't mind it being done at some far distant future date ;)15:33
kenvandineElleo, i never complain about people taking a long time to do something in their spare time :)15:34
Elleocould try running an cv edge detector or something on the sprite15:34
kenvandineElleo, have you ever seen PhysicsEditor?15:34
Elleokenvandine: nope15:34
Elleolooks neat15:34
kenvandineit's pretty nice... but not free... and no linux version15:34
Elleoah, yeah15:34
kenvandineyou can use it for free...15:34
kenvandinebut they annoy you into buying it :)15:34
Elleoreckon I could make an approximation of it with my vaguely remembered computer vision skills ;)15:35
kenvandinethey make you wait to export stuff15:35
ahayzenkenvandine, anyway thanks for your help i'll try creating it via a polygon15:35
Elleosprite's would be far easier to trace than real camera images15:35
kenvandineright15:35
kenvandineand... it would make it SOOOO much easier to create interesting stuff15:36
kenvandinegames almost never use just circles and rectangles :)15:36
kenvandineand if we could just spit out the QML for an entity from it... WOOT15:37
kenvandinePhysicsEditor includes tweaking the physics properties too, not just tracing15:37
kenvandineso restitution, density, etc15:37
kenvandineand simulation15:37
kenvandineso overlaps with bacon2d-editor15:37
Elleoyeah15:37
Elleoit's definitely doable15:38
Elleomost of my freetime is spoken for at the moment though :P15:38
Elleomight get a chance to hack on the editor over christmas a bit though15:38
Elleoalthough I'd kind of like to rewrite that to save load tiled files instead of pure qml15:39
Elleoso might do that first15:39
Elleo(except for the entities, which'd still be qml)15:39
kenvandinecool!15:39
popeyjdstrand: could you please respond to this app if you have time? https://myapps.developer.ubuntu.com/dev/click-apps/114/changerequest/15:52
=== karni-afk is now known as karni
dholbachmhall119, I always forget: for lp:developer-ubuntu-com changes to land, do we need IS?15:58
=== akiva-thinkpad is now known as Professor-Anybod
mhall119dholbach: depends on the page15:59
dholbachmhall119, https://code.launchpad.net/~dholbach/developer-ubuntu-com/1338393/+merge/243299 (community page)16:00
dholbachhere's also https://code.launchpad.net/~mpt/developer-ubuntu-com/bug-861031/+merge/77395 (home page)16:00
mhall119homepage requires IS, community I think is in the database16:01
dholbachignore the latter16:01
dholbachmhall119, in the database - does that mean it can be landed through the ui somewhere?16:04
=== rmescandon is now known as rmescandon|afk
mhall119dholbach: yeah16:13
mhall119through the WP admin16:13
dholbachhum16:13
dholbachmhall119, I found it in the UI, but I can't see a "save" button (or "publish" or whatever)16:19
mhall119dholbach: ah, it looks like that page is hard-coded in the template as well, so it also requires a change in bzr branch and RT16:20
dholbachok, cjohnston approved my MP - how do we move forward?16:20
mhall119once it's merged into trunk, file an RT asking them to update the WP theme to the new version (I usually specify the version #)16:21
mhall119IS should know where the code and branch live16:21
jdstrandpopey: I don't have time to do a code review to see if those are safe. account-qml-plugin and account-provider need that right now until mardy updates signon so that they can run under confinement16:23
jdstrand(sorry)16:24
* jdstrand notes there is no guarantee of timely code audits in the store (there is no staffing for them)16:24
jdstrandthat said, even if there was code to audit, there is nothing saying the binaries in the click were compiled with the source, so...16:26
* jdstrand is talking generally, no about this particular developer16:27
mzanettiI wish there was a way to link the uploaded source with the compiled binaries16:28
mardyjdstrand: but account plugins are QML code, so it should definitely be in the click; the only thing to pay attention for, is that it doesn't import a C++ module16:29
mzanettibut that would require building on the server... so I figure it's not something that can be done easily16:29
jdstrandthat's true of qml-plugin and provider?16:29
=== greyback is now known as greyback|afk
=== chihchun is now known as chihchun_afk
ahayzen_kenvandine, if i go above 8 vertices i get "Polygon: Invalid number of vertices: 9" is this correct? the docs state "A polygon must have 3 or more vertices." but no maximum17:39
=== chihchun_afk is now known as chihchun
wxlhacksummit.org, a free online dev conference, just started, folks17:44
=== rmescandon|afk is now known as rmescandon
=== chihchun is now known as chihchun_afk
dpmpopey, balloons, mhall119 -> http://developer.ubuntu.com/2014/12/the-showdown-deadline-is-approaching-get-your-scopes-ready19:15
=== chihchun_afk is now known as chihchun
balloonsoO19:25
zmajhello guys..I just finished my own web browser...I just need to find nice icons and to polish it a little :D19:39
davmor2ahayzen_: Hey dude I'm having an issue with one particular album, The details show correctly in the scope but if I click on play album nothing open, if I then select the album from the list it shows no track, the tracks are there in the folder and show on the scope so not sure what is going on :)20:00
ahayzen_davmor2, is it an album with various artists?20:01
ahayzen_davmor2, that sounds like a bug we were just fixing20:01
davmor2Adele 21 I don't think there are various artists on it20:01
davmor2ahayzen_: ^20:01
ahayzen_davmor2, eg bug 1377510 or bug 139390720:01
ubot5bug 1377510 in Ubuntu Music App "[music] Soundtracks and other "Various Artists" album types are not well supported in the Albums tab" [High,Fix committed] https://launchpad.net/bugs/137751020:01
ubot5bug 1393907 in Ubuntu Music App "No songs displayed in the album view of albums corresponding to the various artist group" [Medium,Fix committed] https://launchpad.net/bugs/139390720:01
ahayzen_davmor2, hmm ok ... i would be interested if the tweaks may have fixed your case as well20:02
ahayzen_otherwise that sounds strange20:02
davmor2ahayzen_: haha :)20:02
ahayzen_davmor2, are you able to take the latest version of lp:music-app ?20:03
popeyi have the same album here20:03
popeyplays fine20:03
ahayzen_it depends if albumArtist has been set in the metadata itself20:03
ahayzen_which depending how you have ripped/sourced the file may vary ;)20:03
davmor2ahayzen_: it is from 7 digital20:03
ahayzen_uhoh lol20:03
ahayzen_oh unless ur hitting that ms2 issue20:04
ahayzen_davmor2, are you on vivid or rtm?20:04
davmor2ahayzen_: rtm20:04
popeydownloaded on the phone?20:04
ahayzen_http://people.canonical.com/~platform/citrain_dashboard/#?distro=ubuntu-rtm&q=landing-00120:04
davmor2popey: no through u1 music store as was on downloaded in Rhythmbox20:04
ahayzen_oh ok not ^^ then :P20:04
ahayzen_davmor2, either you could try the latest version to see if it has fixed it...or ping across the actual track to me and i can try it on mine with the latest20:05
davmor2I'm wondering if it is the newly added media bug, I had added a new directory to the sdcard to store all the muziks in :)20:06
ahayzen_davmor2, if it works after restarting your phone then yes it is20:07
davmor2I'll try that first then look at the latest musicplayer trunk20:07
* ahayzen_ wonders why that silo has not landed20:07
=== Pici is now known as Guest74903
=== salem_ is now known as _salem
ahoneybunhey akiva-thinkpad23:48
akiva-thinkpadhey ahoneybun23:48
ahoneybunalmost have 70 users23:48
akiva-thinkpadgreg kroah hartman is doing an AMA on reddit23:48
akiva-thinkpadhttp://www.reddit.com/r/linux/comments/2ny1lz/im_greg_kroahhartman_linux_kernel_developer_ama/23:49
akiva-thinkpadwoah23:49
akiva-thinkpadi'm pretty surprised there is that many23:49
ahoneybunyea lol23:49
akiva-thinkpadvery interesting23:49
ahoneybunyea I did not expect that many users23:57

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