/srv/irclogs.ubuntu.com/2013/11/19/#ubuntu-uds-appdev-2.txt

=== ChanServ changed the topic of #ubuntu-uds-appdev-2 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1311/appdev-2/ - http://irclogs.ubuntu.com/2013/11/19/%23ubuntu-uds-appdev-2.html
=== ChanServ changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | Push Notifications | Url: http://summit.ubuntu.com/uds-1311/meeting/22105/appdev-1311-push-notifications/
popeyhttps://plus.google.com/hangouts/_/72cpimpvpi9rolli0mdagesc0o15:57
popey^^ url for the next session15:57
nik90popey: just a note, the summit page http://summit.ubuntu.com/uds-1311/meeting/22105/appdev-1311-push-notifications/ shows the wrong irc channel16:01
nik90it is pointing to appdev-1 instead of appdev-216:01
ollisomebody got the HO URL for me16:02
popeyhmm16:02
popeyhttps://plus.google.com/hangouts/_/72cpimpvpi9rolli0mdagesc0o16:02
nik90popey: you guys are live16:06
popeythanks16:06
__lucio__https://blueprints.launchpad.net/ubuntu/+spec/appdev-1311-push-notifications16:07
ollihttps://blueprints.launchpad.net/ubuntu/+spec/appdev-1311-push-notifications16:07
Chipacaolli: thanks :)16:07
rickspencer3is anyone from foundations and desktop here?16:08
kenvandinerickspencer3, i am16:08
facundobatistaI hear *so much eco*16:08
alecuI hear a dog16:09
alecuand echo now16:09
rickspencer3kenvandine, can you speak for the update UI in the settings?16:09
rickspencer3or do we need seb128 for that?16:09
kenvandineseb12816:09
kenvandinei just heard about that this morning16:09
kenvandinerickspencer3, i could try if he can't though :)16:10
rickspencer3dang it16:11
rickspencer3olli, Chipaca can you guys paste me a link to join?16:12
Chipacarickspencer3: https://plus.google.com/hangouts/_/72cpimpvpi9rolli0mdagesc0o16:12
ollithanks ricmm I was having connection issues16:13
ollihttps://docs.google.com/a/canonical.com/document/d/12_a-V9B_ethmVJPF8vtcY7Hs7kc-VP-OcIwRx5ZPmjI/edit#16:15
karniDoesn't it mean the phone would need to be talking to multiple push notification servers?16:16
__lucio__no.16:16
__lucio__at least not for the polling part. yes for giving the registration key.16:16
facundobatistakarni, the push notification server will be only one16:17
karniI see. Thanks guys, reading the spec now16:17
facundobatistakarni, then, there will be a lot of App servers16:17
karnifacundobatista: gotcha, that makes sense.16:17
loolThere are two server types: the application specific server, and the push notification server (Canonical/phone operator)16:18
karniNow I get it. At first it was quite confusing from the talk, now I see it's the same as GCM16:18
loolrickspencer3: we want to factor notifications16:19
loolrickspencer3: or drop notifications16:19
loolrickspencer3: or handle network load16:19
facundobatistarickspencer3, if each App would talk to their own server, you'll finish with 10 apps in the phone polling their servers => battery drain16:19
karnirickspencer3: We're leveraging a single connection for applications.16:19
facundobatista(sorry, no mic)16:19
karniI love this project. Pull me in! haha16:20
karni(the project, not the hangout ;) )16:20
tvoss_olli, rickspencer3 o/16:20
knocte-udsthis is the way other mobile platforms work: only 1keep-alive connection to one server16:20
ollitvoss, pls join16:20
karniknocte-uds: correct16:20
larsuis anyone else having problems with the video stream?16:21
karnilarsu: all good here16:21
knocte-udsit is a keep-alive connection, it's a big dela16:22
knocte-udsdeal*16:22
kenvandinerickspencer3, there is no polling16:22
karnirickspencer3: To give you a reference, http://developer.android.com/google/gcm/gcm.html https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html16:22
karni(2 URLs)16:22
karniIt's not a bottle neck. It's enablement.16:23
ralsina_each connection is extra wakeups16:23
larsukarni: are you in the hangout or watching the stream?16:23
karnilarsu: watching. I think there's enough people already.16:23
alecurickspencer3: every other mobile platfor(ios, android) does it with a centralized server to save on battery on the devices16:24
ollitvoss_, you there?16:24
larsukarni: right, me too. But I only get a blank screen16:24
AzendaleQuestion: Just to make sure I understand, nothing on the phone is polling with this? The phone just opens a tcp connection, and then the server can send a message any time it gets an update for the phone?16:24
knocte-udsthe server needs to call the client, so either the client polls, or the client has a keepalive connection16:24
karnilarsu: reboot/restart browser/it's fine here :(16:24
larsukarni: haha "reboot the browser"16:24
karnilarsu: reboot computer/restart browser bud..16:24
larsu;)16:25
* karni listens to the session :)16:25
larsuworks in chromium. thanks.16:25
karnilarsu: np. using chromium here.16:25
alecurickspencer3: and perhaps "system updates" is not the most useful example to have instant notifications, but this infrastructure is useful for chat or other services where real time is needed16:26
karni__lucio__: The reestablishing SSL connection without the handshake each time (I don't know the details, though) is a very good and valid point. GCM send a heartbeat to the server as rarely as 5 minutes.16:26
tvoss_olli, joining now16:26
karniThis is a neat "intro" to GCM in case anyone wants to ramp up http://www.youtube.com/watch?v=y76rjidm8cU16:29
karni(ramp up on the subject that is, I'm not a Google advocate or anything)16:30
facundobatistarickspencer3, we didn't found (yet) any other design, without a central server (that would be the Push Notification Server), that will give the results we want without draining the battery and network operator to allow our phones to use it16:30
karniShared that just for reference.16:30
karnirickspencer3: That's the whole point of push. Live notifications.16:30
karniBut such notifications that don't drain battery and abuse network.16:30
AzendaleQUESTION: Will this single server that is being proposed be opensource and available to run on your own server? If so, will you be able to change the one push server the phone uses (I guess you can always recompile)?16:32
karniAzendale: (personal opinion) I think that would waste the whole effort of a single centralized server. I feel where your question comes from, though.16:33
__lucio__Apps wont know where to push notifications if you use a different service.16:34
karniYou wouldn't have benefits of switching to a different server if the only app levereging that server would be yours. All other apps would not work16:34
facundobatistaAzendale, you will not convince twitter, facebook, etc to send notifications to several servers, we need ONE centralized server16:34
karnibecause app servers would still be talking to our server.16:34
karniexactly what __lucio__ said16:34
ollibrb16:35
Azendalekarni: I think my main concern is that we can read the code that will have all our messages passing through it16:36
karniAzendale: ha, there's a twist here. you don't need to contain your messages within. you can say "hey, central server, tel user of id 123456 they have a message from app id: 4321"16:37
Azendalekarni: maybe opensource like launchpad, where there is one official instance, but we can see the code and propose fixes/changes16:37
karniAzendale: the app receives a push from the server, *THEN* talks to YOUR server to pull the message content16:37
karniAzendale: Yes, I understant your question. What I mean is, beyond number of push notifications sent, you have a way to avoid any privacy concerns.16:37
larsurickspencer3: no... you really want silent sms waking up the client side service so that you can go into lower power modes...16:38
rickspencer3larsu, sure, whatever the right service is16:38
Azendalekarni: makes sense16:38
larsuif this is implemented as a dbus-protocal, how are applications woken up when they're not running when a notification arrives?16:47
larsu*protocol16:47
karnitvoss_: mind muting yourself?16:47
karniyou're switching when typing16:47
bfillerQUESTION: can the notifications be delivered to the system for generic notifications in addition to being delivered the app? app might not actually need to know about it right away as long as user is notified16:49
bfilleri.e. a snap decision displayed by the system, which the user can act further on a launch the appropriate app16:49
karnibfiller: I doubt. Each push notification is specific to _some_ application, based on the app registration id. However, you could handle a notification by posting a notification (I would imagine).16:51
karniThat's a bit of a wild guess, though. Maybe the attendies will adress your question.16:51
bfillerkami: sure, but seems overkill to wake the app up if it's something as simple as a notification without further action16:51
karnibfiller: That is correct, but our server doesn't know that. Perhaps the app server could decide it no longer makes sense to send the notification. OR (I need to read up the doc) we could have a timeout for push messages, so that if you decide it no longer makes sense to send it after an hour (say, live news updates), it would not be delivered at all.16:53
kenvandinelool, the system settings first run wizard could handle the registration16:53
karnibfiller: I also think it depends on the ubuntu sdk/api that we will get, because perhaps not the whole app will need to get initialized to make such decision ("should I start? or not.")16:54
loolkenvandine: good idea16:55
bfillerkarni: could be part of the registration api, the app passes in whether or not it wants to be waken on an incoming notification or let system handle it16:55
karnibfiller: I think that would miss the point. If you don't want to be waken up for all push notifications, just query a REST api once you start. No?16:55
karnibfiller: also, you can update your user data (query feeds, messages, whatever) in the background, and once the user launches your app, you're already up to date. how awesome is that :)16:56
bfillerkarni: no I mean say you have a messaging app, and someone sends you a message, you just want to see the message show up as a notify-osd or in the messaging menu. not necessilary launch the app16:56
bfillerkarni: just like sms notifications occur today16:57
karnibfiller: right. I still think that would need to be handled by the app itself (and post a notification, for instance).16:57
karnibfiller: I think at this stage of development it would be a too-fancy feature to have :) Possibly in the future? :)16:57
bfillerkarni: yeah I guess, app would need to know about it but not necessarily need to request foreground16:58
dbarthlool: don't forget about html5 as well16:58
karnibfiller: yep16:59
dbarthlool: webapps if your prefer16:59
karnidbarth: webapps (running in a web view) can still handle push from QML wrapping it16:59
dbarthlool: cause we'll need to integrate with push notifications to get twitter messages in real time16:59
dbarthkarni: right16:59
karnilool: ↑16:59
dbarthbut that's a key elemnt for us16:59
dbarthwe'll get it with qt sure17:00
* karni nod17:00
dbarthor the sdk17:00
=== ChanServ changed the topic of #ubuntu-uds-appdev-2 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1311/appdev-2/ - http://irclogs.ubuntu.com/2013/11/19/%23ubuntu-uds-appdev-2.html
Chipacabfiller: karni: the "not launch the app" thing is what's called "message interception" in the doc17:43
ChipacaAzendale: there will be a floss server, and you will be able to point a phone at it (for testing)17:44
karniChipaca: perfect, still haven't finished reading it. bfiller, sorry for the confusion.17:44
AzendaleChipaca: Awesome17:45
bfillerChipaca: thanks17:48
=== ChanServ changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | Understand what practical desktop usability issues exist with the current SDK | Url: http://summit.ubuntu.com/uds-1311/meeting/22032/appdev-1311-desktop-usability-issues/
dholbachhttps://plus.google.com/hangouts/_/7ecpjmkt1j1dfisa4c0fvojhmg?authuser=0 for those of you who want to join in in 3-4m17:56
popeyhttps://plus.google.com/hangouts/_/7acpikk4fa1i993c57cf7t1mj0?17:59
popeywat17:59
popeydholbach: I'm doing app-dev 217:59
dholbachpopey, I'm sorry - I asked in #ubuntu-community-team and I had set up the blueprint, so I thought I'd do it17:59
dholbachpopey, but if you want to run the session and you updated summit.....18:00
popeyok, you do it18:00
popeynope18:00
dholbachok18:00
dholbachpopey, https://plus.google.com/hangouts/_/7ecpjmkt1j1dfisa4c0fvojhmg if you want to join in18:00
popeybut you need to re-edit the thing on summit as I trashed the youtube urls18:00
dholbachoh ok18:00
popeysorry for trashing them, dpm said I'd be on appdev-2 all day, but happy for you to do this session ☻18:01
robotfueldoes anyone in irc want to join the hangout?18:01
dholbachpopey, no worries18:02
zygahi18:03
karniyo18:03
bregmawhich is the correct URL to join?18:04
dholbachbregma, zyga, karni: want to join?18:04
zygaroadmr: join the fishbowl18:04
dholbachhttps://plus.google.com/hangouts/_/7ecpjmkt1j1dfisa4c0fvojhmg18:04
zygadholbach: I'm a bit tired but if roadmr doesn't want to I can18:04
dholbachas you like it :)18:04
zygaroadmr: ?18:04
roadmrzyga: I'm in the bowl18:05
zygaroadmr: thanks the video was lagging18:05
iBelievedholbach: what's the hangouts link? I missed it.18:06
dholbachiBelieve, https://plus.google.com/hangouts/_/7ecpjmkt1j1dfisa4c0fvojhmg18:06
iBelievedholbach:thanks18:07
dholbachtaking notes here: http://pad.ubuntu.com/uds-1311-appdev-1311-desktop-usability-issues18:09
* karni should have probably provided my initial experience as well ;) but we'll get there18:09
dholbachbregma, you said you had some notes already... would you mind sharing them? (added a work item for it already :-))18:16
bregmasome initial note are at https://docs.google.com/a/canonical.com/document/d/1OvTlzChKhk3374lqAI9j2DRD1fMtyWJLzOGV99_dbTc18:18
dholbachthanks bregma18:22
dholbachgrrrr, the pad is constantly reconnecting18:22
karnipad is giving up on me18:22
iBelieveDoes anyone know if someone under 18 can join? Nothing in the agreements I had to agree to said anything, but I remember another young Ubuntu member writing about about it.18:22
karniiBelieve: what do you mean.. ?18:25
iBelievekarni: does Google require that users be over 18 to join?18:25
bfillerdholbach: most of the system apps already run on the desktop, but with the issues you guys mentioned18:26
karniiBelieve: to join the hangout? I know nothing about that honestly, I'm sorry.18:26
dholbachbfiller, brilliant18:26
iBelievekarni: None of the agreements mentioned anything, but look at this post: http://smartboyhwubuntu.wordpress.com/2013/08/27/google-please-let-me-join-vuds/18:26
bfillerdholbach: gallery, notepad, mediaplayer, camera, browser are all candidates/targets for 14.04 to run better on desktop18:27
karni#ubuntu-community-team18:27
robotfuel'desktop' and  'sdk-app-desktop-integration' are the tags used in bugs for the sdk @ bugs.launchpad.net/ubuntu-ui-toolkit18:28
karnipad is very much no longer functional. 50318:28
iBelievekarni, dholbach: thanks for the link and help.18:29
dholbachrobotfuel, do you know which tag is used for which?18:29
karniaye qtcreator-plugin-ubuntu18:30
* karni thinks what to bring up18:31
iBelieveQUESTION: will right clicks on the desktop be equivalent to long-presses? I've often wanted this feature.18:33
iBelievedholbach: ^^^ has that been discussed at all?18:33
popeypad is back18:33
dholbachiBelieve, I have no idea and we're sort of all consumers of the SDK/UI here, so we don't know either18:34
dholbachiBelieve, this session is mostly about doing research to find out which issues we currently see18:34
bregmaiBelieve, at this point we're still identifying interaction deficits, designers still have to respond on how to address them18:35
karniiBelieve: I like your idea. However, we're focusing more on issues than features in this session. But I'll be happy to bring it up in the future talks.18:35
bfillerdholbach: looks like there is another session about this topic on thursday (utc 15:00) . maybe we could get design and sdk team to participate in that session and review the current list you guys have identified?18:35
bregmabfiller, +118:36
karnibfiller: great idea18:36
dholbachbfiller, awesome, that'd be a good start and short-circuit some of the discussion already18:38
dholbachbfiller, that's "make click apps runnable from unity7 dash"?18:39
bfillerdholbach: no, this one http://summit.ubuntu.com/uds-1311/meeting/22075/appdev-1311-apps-convergence/18:39
dholbachsorry, was looking at the wrong place18:40
bfillerdholbach: and blueprint here: https://blueprints.launchpad.net/ubuntu/+spec/appdev-1311-apps-convergence18:40
karnigreat18:50
karnidholbach: That was a good session.18:54
karniGreat atmosphere, good notes.18:54
dholbachlots of experts18:54
dholbachso yeah - thanks everyone :)18:54
karniThanks all :)18:54
=== ChanServ changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | Click software store status and future development | Url: http://summit.ubuntu.com/uds-1311/meeting/22082/click-software-store-status-and-future-development/
dholbachdoes anyone want to join in on the session? https://plus.google.com/hangouts/_/7acpjs8c7j7bmbi47an0mbfbik?19:02
dholbachalecu, ralsina_: you guys? :)19:03
dholbachcjwatson, are you here for this session?19:03
ralsina_dholbach: omw19:03
dholbachanyone else who wants to join in?19:05
ralsina_alecu: come on in!19:05
cjwatsondholbach: coming19:05
dholbachnotes here: http://pad.ubuntu.com/uds-1311-click-software-store-status-and-future-development19:10
dobeybeuno, alecu: that would be in the updates app no?19:12
alecudobey: or on the details preview after we add the "apps needing update" category19:13
mmccI saw a nice explanation a while back of how to handle sorting by review rating in the presence of few ratings: http://www.evanmiller.org/how-not-to-sort-by-average-rating.html19:21
ralsina_mmcc cool :-)19:21
mmccit's a brief and pretty understandable article. seems like a nice solution that's obviously better than simple sort19:22
dholbachncie19:24
micah2QUESTION: Are there plans to support hybrid devices (like the Lenovo Yoga) that sometimes have a functioning keyboard and sometimes don't? When searching for apps on such a device, would both desktop and tablet apps appear?19:25
dobeymicah2: the point of convergence is that there is no difference between a phone/tablet/desktop app. the difference is how the app is displayed on the device. the devices should work with touch and a keyboard both, just fine19:27
dobeytablets and phones can sometimes have keyboards too19:28
ralsina_dobey: hold tight to that Pre :-)19:28
dobeymy Pre isn't going anywhere19:28
dobeybut it is completely irrelevant to the question :)19:28
micah2dobey: Right. I just want to call attention to cases where someone on a lenovo yoga is looking for software, they should be able to install GIMP when in tablet mode, not necessarily use it, but see it in the software center.19:28
juancarlospacohello19:29
juancarlospacotest19:29
dobeymicah2: this isn't about software-center and .debs; it's about click apps which are only converged apps :)19:29
kiwinote(mmcc: it's worth noting however that until you have enough ratings per app, care should be taken in emphasizing 'top rated' apps too much - the more you focus on top rated apps the more app developers manipulate the system to gain better ratings (and yes this already happens to some extent in the existing app store))19:29
alecuhola juancarlospaco!19:29
juancarlospacothe iframe on the page of the streaming is not loading hehe19:29
ralsina_I am lagged!19:29
micah2dobey: okay, sorry for making it more confusing than it needs to be, just something on my mind.19:30
juancarlospacoI was to ask about binary deltas , but already done19:30
juancarlospacochromium and foresight linux got that working since years, but its not easy19:31
cjwatsonwe can pretty easily repurpose debdelta, which has support for various delta backends etc. and basically seems to be the right design for us19:33
dobeyit's not particularly hard to do it the way solaris, foresight, suse, etc… did it19:33
cjwatsonjust wasn't time to do it for 13.1019:33
asomethinghas there been any thought about GPL compliance for app that ship compiled code licensed GPL? do we need provide a easy way to get a the source?19:36
juancarlospacoconary was written on python it seems, the binary delta based package manager19:39
juancarlospacothis is off topic, but theres a planned way to test apps on Mir on headless ?, ala xvfb19:40
dobeyjuancarlospaco: and RPM isn't python, nor is the package manager i wrote, nor is the solaris one19:40
cjwatsonwe're not going to switch to a new package manager :)19:40
juancarlospacoTrue19:40
dobeyand it is not hard to do with dpkg either19:40
cjwatsonjuancarlospaco: there's emulator work in progress19:40
juancarlospacoCool19:41
dobeyor just test with the x display backend in qt instead?19:42
dholbachbah, and it was the last session of the day - I was just getting warmed up!19:42
dobeyit's headless, so it's not like you actually need to test how mir deals with the hardware, for your own app19:42
dobeydholbach: get mark to join all your sessions so more people will want to join the hangouts :)19:43
dholbachdobey, haha :)19:43
juancarlospacofor test as in unitary test, or selenium api like tests19:43
dobeyjuancarlospaco: right. but i don't think the display backend should matter, as long as you can run the tests19:43
dobeyseveral things are running autopilot tests with xvfb already, for example19:44
juancarlospacoselenium api is 3wc standard, theres a draft for it  :P  it scalated quickly, i suppose you can go phantomjs19:44
juancarlospacoTrue19:44
dobeyright, but selenium has nothing to do with mir19:45
dobeyit's just an API for driving web apps for testing19:45
juancarlospacook, thanks, got to go  :)19:45
=== ChanServ changed the topic of #ubuntu-uds-appdev-2 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1311/appdev-2/ - http://irclogs.ubuntu.com/2013/11/19/%23ubuntu-uds-appdev-2.html
=== dpm is now known as dpm-afk
=== alex-abreu is now known as alex-abreu|afk

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