/srv/irclogs.ubuntu.com/2014/03/11/#ubuntu-uds-appdev-1.txt

=== bunny is now known as Guest32615
ubuntu-guycan we have modules that we can drag and drop to easy start off creating apps?15:04
mhall119ubuntu-guy: there's going to be a session about that later today15:04
mhall119ubuntu-guy: http://summit.ubuntu.com/uds-1403/meeting/22136/ubuntu-component-store/15:04
kenvandineis summit down?15:04
mhall119if you're interested in helping us work out the details of that, please join15:05
mhall119kenvandine: not that I know of15:05
mhall119kenvandine: works here15:05
kenvandinenot loading for me :/15:05
ubuntu-guythanks will do15:05
mhall119kenvandine: no pages load?15:05
kenvandinenone15:05
mhall119:/15:05
mhall119kenvandine: other ubuntu pages load for you?15:05
kenvandineoh... there now it loaded15:06
kenvandine10 minutes i couldnt15:06
mhall119did you forget to use your manners?15:06
mhall119it's very picky about that15:06
iBobXwhere's the hangout link?15:06
kenvandinemhall119, i guess :)15:06
kyleNhttp://summit.ubuntu.com/uds-1403/meeting/22164/appdev-1403-releasing/15:06
mhall119if youwant to join the hangout, and have something to add, you can join at https://plus.google.com/hangouts/_/hoaevent/AP36tYeyOMZOQu5nuv4KbFTaNK5B5BhUlzky8d1Ql-Yu8jQVjCY38w?authuser=1&hl=en15:07
mhall119please mute yourself when you're not speaking though15:07
ubuntu-guyI would say release them when they are ready15:07
iBobXThanks!15:07
=== Totalschaedn1997 is now known as Totalschaden1997
ChrisGagnondid you try using qmltestrunner for ui testing of the sdk, when autopilot did not work?15:11
kyleNbzoltan, QUESTION: can you speak a little more about the idea of separating the tools (QtC and etc) from the UI Toolkit stuff? How was it organized? how will it be organized?15:11
mhall119kyleN: do you want to join the hangout?15:12
bzoltanChrisGagnon: not yet, but soon we will investigate other options15:13
t1mpdid the video start yet? I don't see it15:13
mhall119t1mp: it has15:14
pmcgowanKaleo, yes that made sense15:15
kyleNyes15:15
kyleNcan you mention frameworks specifically with APIs15:15
KaleokyleN, can you elaborate?15:15
t1mpI still don't see video on http://summit.ubuntu.com/uds-1403/meeting/22165/appdev-1403-uitk/ anyone else?15:16
t1mpargh15:16
kyleNthe concepts of frameworks remains somewhat vague. yet devs need to state it in their manifest. how does stating it in the manifest relate to API selection at runtime and etc15:16
t1mpwrong session page. that's tomorrow :)15:16
kyleNgood, that is the explanation I was looking for15:18
pmcgowancurrent framework is there with some exceptions, apis that need services or hardware thats no available15:19
sergiusensthat would work only if there's some api validator to see if nothing outside of the framework is used15:19
Kaleoyou should join the hangout ;)15:19
mhall119sergiusens: that would be done in the SDK, it would have to have separate API definitions that it uses to validate code15:21
sergiusensmhall119, so if I build my c++ plugin and that uses stuff outside of the framework; would that be checked against as well?15:21
kyleNQUESTION: can you discuss the separation of DEV ppa from RELEASED ppa and perhaps mention testing and other steps that may be taken to ensure RELEASED PPA quality15:22
kyleNand will code completion work for HTML5/JS apps too?15:24
sergiusensjono_, bzoltan that depends on a Qt5 for x86 built with gles15:25
mhall119sergiusens: stuff outside the framework should be in your project root, so yes it should15:25
sergiusenshack arounds :-)15:26
mhall119pad: http://pad.ubuntu.com/uds-1403-appdev-1403-releasing15:27
sergiusensjono_, that's being worked on; we need to multibuild qt515:28
sergiusenstoo much code has armhf == gles and !armhf = gl15:28
mhall119ew15:29
mhall119sergiusens: and that's in upstream qt?15:29
kyleNQUESTION: will code completion in QtC work with HTML5/JS apps?15:30
mhall119heh, my phone has working alarms now....evidently I'll be getting a notice before all my calendar events :)15:30
sergiusensmhall119, packaging and almost anything tht compiles and links against qt5 that we use15:32
sergiusensmhall119, these: https://launchpad.net/~rsalveti/+archive/qt-gles-test15:33
bzoltanjono_: https://blueprints.launchpad.net/ubuntu/+spec/appdev-1403-releasing15:33
bzoltankyleN: there will be a session 16:00 - 16:55 UTC  HTML5 SDK Roadmap ( App Development ) I would ask that from alex-abreu15:37
kyleNbzoltan, ok. it seems to span both domains: SDK and HTML5 runtime15:38
kyleNis the X86 emulator a DESKTOP or a phone or a tablet?15:39
astronfestmoni think so15:39
iBobXoops, server error...15:39
loolis raring still supported at all?!15:40
jono_weird I got kicked out15:40
jono_and cant rejoin15:40
sergiusenslool, raring shouldn't be supported15:40
loolraring is not supported anymore; quantal is still up for a couple of months15:40
mhall119jono_: try rejoining using your own account instead of UbuntuOnAir?15:41
sergiusensyou can't even dput to raring anymore15:41
Kaleodid  I get kicked out?15:41
loolbzoltan: well let's not screw them but let's not spend time supporting them, the support path for them is to upgrade IMO15:41
sergiusensKaleo, seems you have15:41
loolanyway, completely off topic, sorry  :-)15:41
sergiusenslool, but raring is EOL, you can't dput to it15:41
loolsergiusens: well exactly15:42
jono_mhall119, tried, I can't get in15:42
sergiusenslool, so it's impossible to support for real :-)15:42
mhall119jono_: huh, I can't even eject your frozen connection15:42
jono_odd15:42
loolI'm surprized launchpad still accepts raring uploads to PPAs15:42
mhall119jono_: can you watch the video at least?15:42
sergiusensmhall119, the stream only shows pmcgowan bzoltan and yourself15:43
sergiusenslool, it doesn't; well I couldn't15:43
kyleNQUESTION: now that we separate Qtc and tools fomr API, can we stop using "SDK" to include runtime stuff?15:44
kyleNSDK should be QtC and tools, I think15:44
kyleND=Development, not runtime15:44
pmcgowanSDK includes the emulator images in my view15:44
pmcgowanwhich are test targets15:44
pmcgowanbut the sdk runtime is in the images only as you say15:45
jono_mhall119, its ok, I think I got most of what I want out of the session15:45
kyleNok, food for thought anyway15:45
jono_sounds like bzoltan has got it well handled15:45
dholbachdbarth, do you need help setting up the event?16:00
alex-abreudholbach, whats the hg ?16:00
dholbachalex-abreu, mhall119 said he had asked dbarth if he could run it - so I asked dbarth now :)16:01
dholbachalex-abreu, I'm happy to set it up16:01
dholbachok, doing it now - just a sec16:02
dholbachhttps://plus.google.com/hangouts/_/hoaevent/AP36tYfdCLyIpbF9imaNkUmbmkfITWHBxtfOqmxvAPxHhZlCIY8NIw16:02
dholbachok, summit is updated16:03
dholbachalex-abreu, dbarth, kyleN: ^16:03
aquariusand we are live16:04
dbarthdholbach: ok16:04
dbarthdholbach: just arrriving, hang on16:04
dbarthdholbach: ant, kylen i guess16:04
antdillonI'm here and listening guys16:05
dholbachantdillon, cool16:05
alex-abreuantdillon, great16:05
alex-abreuantdillon, hopin if you want16:05
dholbachdoes anyone else want to join in ?16:06
dholbachblueprint is available here: https://blueprints.launchpad.net/ubuntu/+spec/appdev-1403-html5-sdk16:06
dholbachnotes are going to be taken here: http://pad.ubuntu.com/uds-1403-appdev-1403-html5-sdk16:06
dbarthdholbach: https://docs.google.com/a/canonical.com/presentation/d/1cxdhwBJwaTikDQ_qFFCSLDllFG1u6_LOkq9PiLO5INg/edit#slide=id.g1d034350e_0016:08
dholbachany questions? any feedback? anyone who wants to join the session?16:14
dholbachis anyone taking notes?16:18
hatchQUESTON: what frameworks are you considering for responsive layouts? Pure? Bootstrap? etc...16:18
astronfestmonthere's no any question.16:18
aquariuskyleN, responsive isn't really about portrait vs landscape; it's about screen sizes. A screen isn't landscape; it's just X px wide vs x/3 px tall :)16:19
aquariusmedia queries work fine -- don't invent a new responsive thing. Anyone developing HTML stuff should already know about this stuff ;)16:19
dbarthi'm taking notes here: http://pad.ubuntu.com/uds-1403-appdev-1403-html5-sdk16:19
astronfestmonQUESTION: with cordova framework can we do wrappers to detect any device pixel format?16:20
astronfestmonmore spcific16:20
astronfestmonspecific16:20
astronfestmonwhen we have a touch or laptop can we detect it16:21
aquariuskyleN, the sidestage doesn't matter. Your app should say "hey, I am in a window which is of size X by Y"16:22
aquariusya, respond to the amount of real estate that you have16:23
aquariustotally right :)16:23
aquariusMaking a bootstrap theme, and making sure that bootstrap works really well, would be ideal16:24
dakeri am here16:25
dakero/16:25
astronfestmonhi. okay16:25
dbarthastronfestmon: just coming to your question next16:26
astronfestmonokay. thanks16:26
dbarthaquarius: up for it?16:26
dbarthdaker: hey16:26
aquariusheh, daker and I were discussing translations the other day; the Moz b2g stuff, and jsgettext16:26
aquariusdbarth, up for what?16:27
dbarthbootstrap16:27
dbarth?16:27
aquariusdbarth, I don't want to promise tht I'll have time for anything :(16:27
dholbachQUESTION: can we review the work items from last time (https://blueprints.launchpad.net/ubuntu/+spec/appdev-1311-html5-sdk) and see if there's still work to be done or stuff to be landed?16:28
dholbachQUESTION: feedback from another session: "Update Cordova template to be more Ubuntu-like (e.g replace the Cordova icon, make it do something useful, can be very simple though)" - can we make this a work item too or should it be a bug report?16:28
dholbachcan you all help taking notes? http://pad.ubuntu.com/uds-1403-appdev-1403-html5-sdk - thanks!16:29
dbarthaquarius: nw16:29
aquariusI don't understand why compatibility with the rest of the Ubuntu project is useful, for gettext. App developers are not likely to use Launchpad and rosetta16:29
astronfestmonit's api16:30
antdillonIf we are talking about DPI we can use media queries to get that16:30
alex-abreuastronfestmon, are you talking about DPR?16:30
astronfestmonyes i am16:30
dholbachaquarius, on the other hand, using Launchpad for translations is VERY nice and is where translators (loco teams) look at16:30
alex-abreuastronfestmon, not atm ... but this is something that we could include, there will be a runtime js binding16:31
aquariusdholbach, yeah, but we are not exactly encouraging app developers to use launchpad these days16:31
dholbachwell we could do that in our docs16:31
antdillonI dont think m,y mic is working16:31
dholbachI was just bringing it up as a side-point :)16:31
aquariusantdillon, we need to be very sure that all devices accurately report their details to the platform so that the platform can correctly do media queries, mind16:31
astronfestmonif we use media queries it's assynchronous right16:32
dbarthastronfestmon: yes, like pretty much everything in the JS engine i guess16:33
astronfestmonokay. thanks16:33
dbarthastronfestmon: you have concerns about that?16:33
astronfestmonyes a little16:33
astronfestmonbecause the media queries are not my strength inside an app16:34
antdillonaquarius, Sure, I agree it all system settings accessible via the api would be great16:34
antdillonaquarius, But for layout and styling media queries would work16:34
dbarthantdillon: but should we use dpi/media queries, or rather rely on the grid unit system preferably?16:35
aquariusOn code completion, etc, building in jshint and htmllint would be great, because that will pick up on lots of thnigs16:35
dbarthie, dpi is low-level and maybe important for fullscreen apps / games16:35
dbarthbut for regular UIs, shouldn't GU be prefered?16:36
hatchthe issue with DPI's is that you need it to know what resolution of static images to use16:36
hatchthat's why you need some representation of dpi16:37
astronfestmonQUESTION: if we use dpi for games WEBGL is better than a  UI stylish for it. Or Canvas?16:37
antdillondbarth, A use case for dpi media queries is for responsive images16:37
aquariusman, seriously, half of what you're describing on the hangout is handled by jshint :)16:37
dbarthantdillon: ok16:39
dbarthaquarius: jshint, nice16:39
aquariusfine, it doesn't offer type tracking, but that's because YOU DON't NEED TYPE TRACKING because this isn't C ;-)16:40
antdillonIt would be good to run this on submit at least16:40
alex-abreuaquarius, we need to validate the API calls & stuff like that16:41
alex-abreuaquarius, and have completion16:41
alex-abreuthat's the gist of any completion tool16:41
aquariusalex-abreu, no, no we don't. Nobody else does ;)16:41
alex-abreueither dynamic eval & stuff16:41
alex-abreuor somesort of type hiints16:41
aquariuscode completion is fine -- that's what TAGS files are for and so on, right?16:41
alex-abreuaquarius, wrong :) ... check out e.g. codemirror16:41
* aquarius laughs16:41
aquariusI like Sublime Text, myself :)16:42
alex-abreuaquarius, I am not sure that etags is something that I'd like to see again :)16:42
alex-abreuno tags ! :)16:42
antdillonAre we not going to use grid units for HTML5?16:42
aquariusI honestly don't think that we need intellisense16:42
hatchI'm with aquarius :)16:42
alex-abreuaquarius, thats the thing ... no intellisense, but at least something interesting16:42
aquariusI can't see how we can use grid units for HTML5, becuase the CSS parser doesn't know about them16:42
antdillonI think the grisd is important16:42
alex-abreuaquarius, as much as we can get :)16:42
antdillongrid*16:42
aquariusunless we *insist* that all the CSS is actually SASS16:43
antdillonDo we have an example app packaged?16:43
astronfestmonyes i think that about SASS16:43
aquariusalex-abreu, I see your point about not using etags, etc, yeah; I just don't want someone to spend a million years trying to write a type inferencer for JavaScript :P16:43
hatchif you need/want a type inference system for js there are tools for that already - TypeScript for example16:44
antdillonI agree with not using grid units (as this would need "inventing") but % grid are common to html developers16:44
antdillonWe can use a simple % grid16:45
astronfestmonin qml can we develop grids with no html tags right?16:45
aquariusantdillon, yeah, certainly, using a grid is a common idea. Bootstrap, 960 grid, etc16:45
aquariusbut that doesn't need to be part of the SDK16:45
aquariusIf I want to use bootstrap, I can.16:45
hatchright16:45
astronfestmonok16:45
antdillonI would like to use the same naming as bootstrap to help developers16:45
aquariusIf we want to use grid units in CSS, we need to wait for var() support. :) https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables16:45
antdillonI think the grid should be part of the SDK as we want to bring a common grid layout to apps16:46
alex-abreuaquarius, yes this is something that is not standardized I think16:47
aquariusantdillon, if the grid is named for bootstrap then I think it should *be* bootstrap.16:47
antdillonAt least as a best use case16:47
astronfestmonI think that so.16:47
hatchYou don't want to lock people into any grid system, grids will not work for all applications16:47
hatchpeople need to be able to customize them16:47
aquariuswow. Totally disagree with all of you. If you want to insist that people use Ubuntu-specific technologies in an HTML app, then it's not HTML any more. It's just an Ubuntu-specific layouit language which looks a lot like HTML.16:47
aquariusagreed with hatch16:47
antdillonaquarius, Yes happy to use that I just dont want the devleopers to have to learn a new naming convention for the grid16:48
dbarthaquarius: the point here is to not have html5 developers behind, when it comes to having a native Ubuntu look16:48
dbarthi for one want to develop an app with the nice layout, without (hopefully) to dive into a load of css for that16:48
dbarthbut then, we don't want to make that a pre-requisite for runninng your app in the container16:49
antdillonaquarius, I dont mean force them to use it but have it in the SDK to use if the developer doesnt mind which grid they use16:49
aquariusSadly, you do have to support plenty of web browsers. Because if anyone wants to write an Ubuntu ONLY app, they're going to use QML for it. If they're usnig HTML5 to write an app for Ubuntu, they'll likely be using that app on multiple platforms,16:49
antdillonGood question aquarius, what browsers do we support?16:50
aquariusantdillon, yeah. It's not about browsers you suport -- you support the Ubuntu browser, that's it.16:50
aquariusIt's that app developers who are using the Ubuntu engine to deliver apps will likely also be delivering that app on other platforms, so they will not want to add Ubuntu-specific things like grid units to it, because those won't work elsewhere.16:51
antdillonaquarius, I imagined as long as it worked on the latest release of blink its good to use16:51
aquarius(Ubuntu stuff which is *added*, like the Apple meta tags, are fine)16:51
antdillondbarth, Have you guys worthed on the video player widget?16:52
aquariusThe reason for wanting the Media service and the Download service is not so you feel like an Ubuntu app; it's so you can do things in the background :)16:53
antdillondbarth, I say that because the web team here have just developed a played skinned to match the phones16:53
aquariuswhy does URL dispatcher need to be accessible to HTML5? Why can't I just do "location.href='someurl://whatever'"? :)16:53
hatchaquarius that's kind of the hulk smash approach, if it's within your own app you want to use pushstate16:54
aquariushatch, the url dispatcher is for talking between apps16:54
antdillonEveryone loves a todo app!16:54
aquariushatch, agreed on pushstate for my UI urls :)16:55
hatchohh ok, sorry carryon :)16:55
antdillonAngry birds ... done16:55
antdillon:)16:55
aquariusthe most important thing that you guys could do is make Oxide happen. :)16:55
aquariusthen things like XHR work properly :P16:56
aquariusYou can't build a U1 app without Content Hub and the Download API16:56
aquariusTrust me on this.16:56
aquariusSpeaking as the world expert on building U1 apps ;)16:56
antdillonExample app?16:57
alex-abreuaquarius, we have the contenthub & we will have the download manager16:57
aquariusOnce those things exist, it's reasonably easy -- I know this because I've done it about eight times :P16:57
aquariusalex-abreu, yep!16:57
aquariusalex-abreu, do you have the *new* content hub stuff?16:57
alex-abreuaquarius, not yet, in the works ... :)16:57
alex-abreuwe have the old16:57
aquariusI could probably be talked into writing a U1 HTML5 app.16:57
* dholbach notes down a work item for aquarius16:57
aquariussince I have done it before about three times :P16:57
aquariusdholbach, go for it16:59
antdillonIm happy with that16:59
antdillonGreat thanks guys!16:59
antdillonIll get my mic working!16:59
astronfestmonme too16:59
hatchgreat chat everyone, thanks!16:59
alex-abreuthx guys !16:59
aquariusthank you, chaps16:59
alex-abreugreat input17:00
alex-abreuinputs17:00
astronfestmonthank you all17:00
hatchQUESTION: How do people get more involved in this?17:00
dakerbye17:00
dbarthaquarius: just noticing your message about u1; can we talkabout that next?17:00
aquariushatch, hang out with daker and alex-abreu and look for stuff to do :)17:00
alex-abreuhatch, you can reach us in #ubuntu-webapps17:00
aquariusdbarth, certainly -- happy to talk about it17:00
dbarthsee how we can share work here17:00
alex-abreuhatch, talk to me or yeah daker17:01
dbarthhatch: bzr branch17:01
dbarthhatch: standard ubuntu way17:01
alex-abreuhatch, we would love to have extra help / inputs17:01
dbarthhatch: you can email us on the webapps list as well, and see on irc #ubuntu-webapps as well17:01
aquariusdbarth, what would you like to know?17:01
dbarthaquarius: review the scope of what it should do17:02
dbarthaquarius: knowing where the dragons live17:02
dbarththat kind of things17:02
hatchthanks joined the channel17:02
dbarthhatch: see you there17:02
hatchI'm on the Juju UI team btw17:02
dbarthhatch: ah nice17:03
dbarththis UI is brilliant17:03
alex-abreuhatch, oh tremendous!17:03
hatch:-)17:03
aquariusdbarth, log in to U1 to get an oauth token; cache the token; hit the API to retrieve your list of files and folders; cache that data; provide a pagestack to navigate down into folders; refresh button to refresh the cache; (stage 1) allow downloading a file from U1; when you elect to download a file, calculate a signed URL for it and hand that to the contenthub and download daemon.17:04
aquariusdbarth, stage 2: allow sharing files via public url; allow uploads to U117:04
dbarthaquarius: sounds like a plan ;)17:04
aquariusbut stage 1 would get a lot of people up and running :P17:04
dbarththe first part i remember from previous use of u1db17:04
aquariusdbarth, I wrote a QML U1 app in a day a couple of weeks ago, but I put it on hold until the download and content APIs are available ;)17:04
aquariusso I can do the same with HTML.17:05
dbarthoh i see17:05
aquariusyou need those, because it is useless to have the U1 app download files for itself.17:05
aquariusyou only ever want to download files in order to give them to some other app :)17:05
aquariusI spent a bunch of time talking to kenvandine about this use case for the content hub api :)17:06
alex-abreuaquarius, the download manager is def something that I want to hev quickly now that it has reached a stable/usabel state, the rest you have already pretty much17:06
aquariusit needs the New Content Hub Stuff, but that's hopefully coming soon17:06
aquariusalex-abreu, yeah17:06
kenvandinealex-abreu, in my content-hub roadmap session, i assigned a work item for you for the bindings update :)17:16
alex-abreukenvandine, oh you did :)17:16
* aquarius laughs17:16
aquariusdrive-by work item assignment :P17:16
alex-abreukenvandine, when was the session ? during the html5 one ?17:16
alex-abreu:)17:17
kenvandineyes17:17
kenvandineaquarius, quiet or i'll assign one to you :)17:17
dbarthgreat minds17:17
aquariuskenvandine, hey, I was not concentrating and now I have to write a U1 app in HTML5. Which needs the content hub ;)17:17
kenvandinealex-abreu, your task is the biggest blocker for our landing... no pressure17:17
kenvandineaquarius, woot!17:18
dbarthaquarius: ok, so if you've got most of the u1 app, the simplest way to share is to identify what you miss and we can provide17:18
dbarthaquarius: like content hub17:18
dbarthaquarius: download manager i guess17:18
dbarthaquarius: and you say you don't need grid units17:18
kenvandinedbarth, i've already added features to the hub for aquarius17:18
aquariusdbarth, content hub and download API are the critical ones. Non-critical: some way to get the U1 credentials from the system; some way to securely store a token.17:18
alex-abreuaquarius, we have an OA binding17:19
dbarthaquarius: but i will challenge you to have a layout that is the same as it would on qml17:19
alex-abreualready17:19
dbarthaquarius: ;) so what would that take?17:19
aquariusdbarth, I can't *have* grid units. I do layout in CSS, because That's What You Are Supposed To Do, and CSS can't do grid units.17:19
kenvandinealex-abreu, in an html5 is there a way to control the keyboard?  i'm playing with an html5 app that as a text input, but the keyboard covers it17:19
aquariusalex-abreu, yeah, but U1 credentials aren't in OA, I don't believe.17:19
kenvandinein qml we can control where it binds17:19
dbarthaquarius: what's missing in the OA api for that?17:19
aquariusdbarth, what's missing is that the U1 credentialsa ren't stored in OA17:19
kenvandineaquarius, they aren't ?17:20
aquariusdbarth, but I don't know where SSO credentials *are* stored17:20
pmcgowanaquarius, yes they are17:20
kenvandinei thought they were17:20
aquariuspmcgowan, rly?17:20
dbarthyou shouldn't know really17:20
kenvandineyes!17:20
aquariuspmcgowan, I can ask OA for my U1 username and password and get it?17:20
pmcgowanor do I misunderstand17:20
kenvandineaquarius, we needed that for the click store17:20
dbarthaquarius: which part of the creds do you need?17:20
* aquarius looks astounded17:20
kenvandinelook at your u1 account in system-settings, it should display your username17:21
dbarthaquarius: the identity token, should be there17:21
hatchkenvandine you may be able to listen for the focus event on the input then preventDefault() on the event object17:21
aquariusthere they are, in System Settings > accounts17:21
aquariusah17:21
dbarthaquarius: the app tokens, should not, should be in your app17:21
aquariusnow I need to see whether I can use the app token!17:21
aquariusrock and roll.17:21
dbarthaquarius: and here we have the example of the reminders.app which is using the new api key approach17:21
dbarthaquarius: where apps provide their own app keys to OA for the initial auth. phase17:22
aquariusOK, am now looking into the OA bindings :)17:23
aquariusI wish the HTML console was reflected into the QML console so I could see console.log debugging from inside the SDK rather than having to spin up an inspector!17:23
alex-abreukenvandine, not atm (keyboard), but I could add a binding ... just ask & file a bug :)17:23
kenvandinehatch, i want the keyboard to show, but i want to ensure the UI isn't covered17:23
kenvandinewill do17:24
alex-abreuaquarius, thats the idea behind the qtc integration that we plan to work on17:24
kenvandinei want it to do what the qml does in our sdk17:24
hatchkenvandine ohh yeah that's a bug, it should scroll into view17:24
dbarthaquarius: that inspector window is next on my list17:24
aquariuswicked17:24
dbarthaquarius: weirdly i couldn't get it to work last time i hacked on qtc-plugin17:24
dbarthbut qtwebkit should be able to run that i'm told17:24
kenvandinehatch, it could just be something about the app, i just modified an existing html5 app17:25
aquariusbah!17:25
dbarthaquarius: we'll talk about that with kyleN in the next session i guess17:25
aquariuswhat event do I have to wait for, for window.external to become available?17:25
kenvandinenot sure if i can change something in the html to make the platform dtrt17:25
hatchkenvandine well typically (on other platforms) when the keyboard opens, the focused element is scrolled into view above the keyboard17:25
hatchif there is a 'keyboard-open' event you could animate the scroll I suppose :)17:26
aquariuserm.17:26
aquariusI can say "run html5 application on device"17:26
aquariushow do I *stop* it?17:26
kenvandineaquarius, upstart-app-stop ?17:26
kenvandine:-D17:26
aquariusclose application on device is greyed out17:26
alex-abreuaquarius, 'ubuntu-webapps-api-ready' is the evnt name17:26
kyleNaquarius, a running app on device displays on the Applications page17:27
kenvandinehatch, so maybe in this app the element i care about isn't really focused?17:27
aquariusalex-abreu, fired on window? document?17:27
alex-abreuaquarius, document17:27
kyleNlong press on it causes an 'X' in top left corner17:27
alex-abreuaquarius, this is abug then (if stops works for qml apps)17:27
aquariuskyleN, yeah, but I should be able to kill it from Ubuntu SDK :(17:27
kyleNyes :)17:27
aquariusalex-abreu, yeah, stop works for qml apps17:27
hatchkenvandine I'm not sure, it's entirely possible it is a bug17:27
aquariusif I run-on-device from Ubuntu SDK, then it lets me run-on-device again, which suggests that Ubuntu SDK isn't registering corectly that the app *is* running17:28
alex-abreuaquarius, its a bug then, you can file one in qtcreator-plugin-ubuntu LP17:28
dbarthaquarius: file a bug, i monitor those daily17:28
dbarthuh, what alex-abreu said17:29
aquariuswill file a bug shortly17:32
aquariusholly sheet.17:34
aquariusthere's my U1 account.17:34
aquariusNice.17:34
aquariusHow do I get the token from it?17:34
aquariushttp://developer.ubuntu.com/api/html5/sdk-14.04/OnlineAccounts.Account/ is... not the most detailed piece of documentation I have ever seen ;)17:34
aquariushttps://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1290965 filed, dbarth17:37
udsbotuLaunchpad bug 1290965 in qtcreator-plugin-ubuntu ""Run on device" for HTML5 apps not working right; app cannot be stopped" [Undecided,New]17:37
aquariusYEAAAH I have u1 credentials. Rock and roll.17:42
aquariusman, that's excellent.17:42
aquariusOK, I can write a U1 app. Don't need to do sign in. SUperb.17:43
alex-abreuaquarius, yeah ! :)17:48
mhall119aquarius: https://plus.google.com/hangouts/_/hoaevent/AP36tYdvimJo9VVSLE5Moms6GheyPZT-mtRfIhxxVZq1DOHz-1bXKQ?authuser=1&hl=en17:50
aquarius?17:52
aquariusomg is it my session?17:52
aquariusok :)17:52
nik90aquarius: yes indeed17:55
mhall119if anybody wants to be on the hangout: https://plus.google.com/hangouts/_/hoaevent/AP36tYdvimJo9VVSLE5Moms6GheyPZT-mtRfIhxxVZq1DOHz-1bXKQ?authuser=1&hl=en17:56
mhall119we'll be starting in a few minutes17:56
dbarthaquarius: ok18:01
iBelieveI can't join the video session, but I've very interested in an idea like this. I wrote very basic component manager last year called Code Units and I use it all the time on my projects to pull in other code I want to use18:03
cwaynei think choosing an online-account to log into is a good example too18:03
dobeywhat about licensing?18:03
mhall119use the pad guys18:04
mhall119http://pad.ubuntu.com/uds-1403-ubuntu-component-store18:04
nik90iBelieve: pls provide link to code units18:04
nik90iBelieve: also append it to the pad18:05
iBelievenik90: https://github.com/iBeliever/devutils, it's the code command18:05
nik90mhall119: ^^18:07
CheeseBurgI agree with mhall18:14
dobeyaquarius: but what if i *want* to write malicious apps using malicious components?!18:14
dobeymhall119, aquarius: the "gatekeeper" doesn't have to be human18:15
mhall119dobey: what could it be?18:15
dobeya bunch of scripts18:15
dobeyit's not like humans can read compiled binaries anyway18:15
dobeywell, the click store has scripts that does certain checks18:16
CheeseBurgCan we not test the components before putting in the component store?18:17
CheeseBurgautomated?18:17
ssweenywhat about a rating system similar to apps, where if someone finds a problem with a component they can give it 1-star and mention that it's spyware or whatever18:18
dobeyaquarius: you don't need a web UI for ratings/reviews18:20
dobeyucs rate 1 'this thing is rubbish'18:22
dobeyit wouldn't be difficult to build in python18:23
dobeythat's rubbish18:23
kenvandineit would bundle it in your source right?18:23
dobeyit needs a central store, and has to be delivered over a secure protocol like HTTPS18:24
dobeyespecially if it's going to accept binaries18:24
kenvandinethey shouldn't pull directly from soruce branches... make them download an archive with a particular structure18:25
kenvandines/soruce/source/18:25
dobeyyeah18:25
kenvandineso released archives18:25
kenvandinewould be preferable18:25
dobeyyou don't want people shoving binaries into VCS all the time18:25
kenvandineyeah... and i want to be able to specify the version of the component18:25
kenvandinenot tip18:25
kenvandineaquarius, ^^18:25
dobeyaquarius, mhall119: yes, you can grab a tarball off launchpad18:26
dobeywithout manually having to upload one18:26
kenvandinedobey, sweet18:26
kenvandinebut i still want reliably versions... real declared stable releases18:26
kenvandineso if i pull dobey's component and know version 1.0 works18:26
kenvandinei don't want to get a newer version of 1.018:27
dobeyaquarius: bzr export lp:foo blah.tar.gz18:27
ssweenyLP let's you download a tarball of a bzr rev18:27
dobeyyes, you can download a tarball of any rev18:27
kenvandineaquarius, but i want to know the downloaded file will be the same if i download 1.0 next week18:27
CheeseBurgSo is there any type of quality control from Canonical or just from the community?18:28
kenvandinedobey, are you volunteering to implement that in LP ?18:28
ssweenyaquarius, https://bazaar.launchpad.net/~unity-team/unity-scope-mediascanner/trunk/revision/67?start_revid=67 look for "download tarball"18:28
kenvandinetrue18:28
asomethingLP tarball links look like: https://bazaar.launchpad.net/~andrewsomething/typecatcher/trunk/tarball/17818:28
kenvandineso we trust the maintainer18:29
dobeyyeah, taht18:29
kenvandinebasically i'm saying i want you to provide a link to a versioned archive18:29
kenvandineand that's what the store has18:29
kenvandineand each new version has a different url18:29
kenvandinebut no smarts built into the store, just a link :)18:29
kenvandinein the manifest or something18:29
kenvandineaquarius, i think we're saying the same thing18:30
kenvandineso who cares if it comes from github or LP18:30
dobeyi do.18:30
kenvandinedobey, you're special :)18:30
asomethingyou can even link just to the tip of trunk https://bazaar.launchpad.net/~andrewsomething/typecatcher/trunk/tarball18:30
CheeseBurgI think this is a extremely good idea. Think how easy it will be to get new developers or wannabe developers.18:31
dobeykenvandine: i just don't want it to be arbitrary URLs, because it means people will use insecure URLs18:31
kenvandineso you want to enforce https18:31
kenvandineoh, we should include an sha1sum or something in the manifest18:31
dobeyvalid https, yes18:31
dobeybecause the original component might not be malicious, but if someone MITMs your download and sends you malicious code instead, well :)18:32
kenvandinei really don't care if archive downloads happen over https... there isn't sensitive data, but we need to be able to verify the downloaded archive18:33
kenvandinedobey, then verification fails18:33
dobeykenvandine: how would it verify it?18:33
kenvandinesha1sum18:33
kenvandineoh... i guess that would be up to the developer18:33
dobeykenvandine: but where is that delivered from?18:33
kenvandineunless we had a wrapper tool that did the download18:33
kenvandinethe manifest when the component is submitted to the store would include a url to the archive and the sha1sum18:34
kenvandinenot a url to a sha1sum18:34
kenvandineso we can reliably verify the downloaded archive matches what was submitted to the store18:34
kenvandineand if the archive changes at the same url, it fails18:35
dobeywell, i'd do sha256 or something (since sha1 is broken), but as long as it's coming from a secure stream, it's acceptable18:35
kenvandinesure... anything like that18:35
dobeyaquarius: ucs could provide a CMake module and just be an integrated part of the build process18:38
netcurliif you don't verify whether the component changes, then you should include them in the source18:39
dobeyaquarius: so just have the components.json and ucs pulls them when you build18:39
aquariuswoah! http://bazaar.launchpad.net/~sil/+junk/ucs-demo-app/tarball/2 works.18:39
aquariusThank you dobey, ssweeny, asomething for correcting me :)18:40
dobeytold you :)18:40
ssweeny:)18:41
dobeymhall119: solr would probably be fitting18:45
dobeyaquarius: is that black brick next to you the new art piece?18:46
dobeyto your left in front18:47
dobeythere's a cube18:47
nik90aquarius is too excited at the moment!18:48
dobeyyes18:48
nik90you asked him about his computer!18:48
nik90lol18:48
dobeyit looks pretty black18:48
dobeyaquarius: you can write it in c++!18:52
dobeytime is up18:56
dbarthballoons: ping? can you ping us the hangout link when ready?19:00
balloonsdbarth, https://plus.google.com/hangouts/_/hoaevent/AP36tYec1w53epatZ3C8nZ_FapqL0EQVY0KX0Ef223gpehp6sIemEQ?authuser=0&hl=en19:00
mhall119dobey: want to jointhe API website discussion?19:01
dpmhttps://plus.google.com/hangouts/_/hoaevent/AP36tYd0F4PHPAhxJ3WVvkHEiV5W9xHctARZHR937CY7NulnlfFDcg19:02
nik90balloons: is this the core apps review session?19:02
dpmfor anyone wanting to join the core apps review session ^19:02
dpmnik90,19:02
dpmyes19:02
dobeymhall119: i wasn't planning to, but i can19:02
nik90core apps devs you guys here?19:04
nik90m-b-o1:  ^^19:04
dpmhttp://pad.ubuntu.com/uds-1403-core-apps-review19:04
rpadovanidpm, nik90, sorry, dinner in ~15 minutes here :/19:06
dpmrpadovani, no worries :)19:07
nik90iBelieve: anythings to mention for the file manager19:38
nik90iBelieve: that's next on list19:38
iBelievenik90: thanks, I'll add a couple important items for File Manager that we're currently working on19:39
iBelievenik90: or is just dam adding stuff to the pad?19:40
iBelievenik90: **dpm19:40
nik90iBelieve: you can go ahead19:40
iBelievenik90: ok19:40
dpmiBelieve, that'd be excellent, thanks!19:41
iBelievedpm: done19:43
dpmiBelieve, awesome, thanks!19:44
nik90iBelieve: Are you guys planning to add keyboard shortcuts?19:44
iBelievenik90: some work, (such as Ctrl+L), but yeah, that is important19:44
iBelievedpm: also just added a link to our team's Trello board19:46
dpmiBelieve, perfect, I mentioned it on the hangout too. Looking great!19:56
iBelievedpm: thanks for mentioning it19:57
dpmnp :)19:59
dpmthanks everyone, a very successful start to UDS! \o/20:00
=== ChanServ changed the topic of #ubuntu-uds-appdev-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1403/appdev-1/ - http://irclogs.ubuntu.com/2014/03/11/%23ubuntu-uds-appdev-1.html

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