14:39:48 RRSAgent has joined #dap 14:39:48 logging to http://www.w3.org/2017/01/26-dap-irc 14:39:50 RRSAgent, make logs world 14:39:50 Zakim has joined #dap 14:39:52 Zakim, this will be DAP 14:39:52 ok, trackbot 14:39:53 Meeting: Device and Sensors Working Group Teleconference 14:39:53 Date: 26 January 2017 14:51:11 Andrey_Logvinov has joined #dap 14:51:15 fjh has changed the topic to: das agenda https://lists.w3.org/Archives/Public/public-device-apis/2017Jan/0008.html 14:51:20 Agenda: https://lists.w3.org/Archives/Public/public-device-apis/2017Jan/0008.html 14:51:41 Chair: Frederick_Hirsch 14:51:55 Present+ Frederick_Hirsch 14:52:13 Topic: Welcome, scribe selection, agenda review, announcements 14:53:47 Present+ Dominique_Hazael-Massieux 14:59:48 Present+ Andrey_Logvinov 15:01:20 ScribeNick: dom 15:04:29 Present+ Tobie_Langel 15:04:35 anssik has joined #dap 15:04:36 Present+ Anssi_Kostiainen 15:04:53 The WG Note marking the shelving of Network Service Discovery has been published: https://www.w3.org/TR/2017/NOTE-discovery-api-20170112/ 15:05:04 Now have weekly digest of GitHub activity (thanks Dom) 15:05:05 https://lists.w3.org/Archives/Public/public-device-apis/2017Jan/0007.html 15:05:42 reminder public-device-apis-log mail list is very useful 15:05:47 https://lists.w3.org/Archives/Public/public-device-apis-log/ 15:06:31 Topic: Minutes approval 15:06:35 Approve minutes from 12 January 2017 15:06:35 https://lists.w3.org/Archives/Public/public-device-apis/2017Jan/att-0004/minutes-2017-01-12.html 15:06:36 proposed RESOLUTION: Minutes from 12 January 2017 are approved 15:06:51 RESOLVED: Jan 12 2017 minutes approved https://lists.w3.org/Archives/Public/public-device-apis/2017Jan/att-0004/minutes-2017-01-12.html 15:06:56 Topic: Generic Sensor API 15:07:07 FJH: lots of issues closed on generic sensor, great progress 15:07:13 ... could you summarize the status? 15:07:26 Tobie: I've been catching up on a lot of the conversations we've had in the couple of weeks 15:07:38 ... assessing input and learning from implementations 15:07:45 ... and figuring out the best route forward 15:08:05 ... I rewrote a big bunch of the spec, closing a bunch of issues 15:08:29 q+ to ask about garbage collection and permissions 15:08:33 ... there was so much to consider at the same time that doing it piecemeal would have been a lot of work without clear added value except for papertrail 15:08:52 ... in the process of doing that, and thanks to Alex and Michail's input 15:09:09 ... I identified a number of open questions / issues which I've put in-line in the spec 15:09:23 ... will maybe move them to github, but not sure that's the best option yet 15:09:28 ... this leaves us with: 15:09:48 ... * a number of areas in the spec that need editorial work (cleanup, better examples, etc) 15:10:18 ... * a bunch of very specific questions around very specific issues, mainly regarding how the data from the sensors passes through the JS boundaries and when 15:10:41 ... what I've learned from the Chromium implementation is an interesting strategy to coupling it with requestAnimationFrame 15:11:14 ... which seems to make a lot of sense and solves a number of problems, as well as clear open questions e.g. re 120Hz polling 15:11:36 ... with e.g. the possibility in a later version of the spec to buffer readings prior to delivery 15:11:58 ... I need to check that this actually solves the use cases that we were providing with 15:12:15 ... and see with implementors if that strategy makes sense and if it is applicable across platforms 15:12:29 ... it helps answer questions also around periodic reporting mode 15:12:43 ... and be more precise about how we spec the tiny details of how this actually work 15:12:48 ... that's for the high level stuff 15:13:04 Level 1 open issues now down to 9: https://github.com/w3c/sensors/milestone/2 15:13:08 ... I also did a lots of small changes to the spec to address some of the security / privacy issues 15:13:13 ... but there still needs to be clean up 15:13:19 q? 15:13:42 FJH: what's the outcome on garbage collection? what about permissions? 15:13:46 Tobie: good questions 15:13:52 q+ to ask about TAG, time to review 15:13:58 ... I need to open an issue around "bring your own buffer" 15:14:16 ... with regard to permissions, Anssi noted that we're kind of out of sync with the permission spec 15:14:22 ... I have a bunch of concerns around permissions 15:14:35 ... mainly that the spec isn't moving very fast nor answering a bunch of questions we have to answer 15:14:48 ... and it's not at the top of the priority list of its lead editor Jeffrey 15:15:22 ... the spec is at a stage where it's good enough for them 15:15:31 ... it sort of works for us but not in the best possible way 15:15:41 ... I'm also waiting for feedback from the Chromium security team 15:16:02 ... which will provide valuable feedback esp from the UI implementation perspective 15:16:30 ... With regard to garbage collection, the big revamp of the spec fixes this - 15:16:52 ... one missing piece is for values that need to be passed by reference, have a "bring-your-own-buffer" mechanism 15:17:00 ... which I want to align with other specs that have similar needs 15:17:23 ... I think we have that need e.g. for motion sensors with matrices/quaternions 15:17:42 FJH: it might be useful to make an explicit note on GC design in the spec 15:17:48 Tobie: good point 15:17:52 q? 15:18:07 FJH: what about the TAG? 15:18:08 q- 15:18:23 Tobie: The TAG had reviewed and sent a bunch of comments on the spec 15:18:33 ... we should probably ping them once the spec stabilizes again 15:18:58 q? 15:19:28 ... I want to improve the spec based on the implementations experience which will be a massive boost to the spec quality in terms of precision 15:19:38 ... I would like that in before getting the TAG to review it again 15:19:57 ... also, I'm much more confident in writing this more precisely with my WebIDL editor experience 15:21:44 https://tabatkins.github.io/bikeshed/#cli-echidna 15:22:51 FJH: should we publish an updated WD? 15:23:00 Tobie: probably 15:23:09 Dom: +1 ; publish early & often 15:23:17 +1 15:23:21 ... see https://tabatkins.github.io/bikeshed/#cli-echidna in how to publish with bikeshed 15:23:30 Anssi: [blasting standardization pace] 15:23:50 well now Anssi is back, so the progress will be speed up 15:23:57 s/be // 15:24:22 +1 to publish an updated WD as soon as possible 15:24:37 publish updated WD now 15:24:39 Tobie: there is a pattern of use of reading data in requestAnimationFrame which lets us have higher frequency than rAF without having some of the issues of having too much data 15:25:24 ... the distinction between capturing data at a given frequency vs reading that data from JS 15:26:34 ... is a nice way to think about this problem space 15:26:46 ... the work is now to put that into spec form 15:26:49 Q? 15:27:43 Dom: what's our timeline for new TAG review and then possibly CR transition? 15:27:57 Tobie: it will depends on the feedback on permission/security from Chrome team 15:28:15 ... and input from implementors on the overall design 15:28:21 ... and feedback on high level frequency 15:29:17 Dom: another way to look at this is what's the plans from implementors? 15:29:37 Anssi: next step for Chromium will be origin-trials - no committed timeline at the moment 15:29:48 ... also, we need to synchronize the spec with implementation 15:29:51 note origin trials means only white listed sites can use the API 15:30:18 Michail: there are still pretty gaps with the onchange behavior 15:30:45 ... I also noticed the new state called "connected" 15:31:03 tobie: yes, I had to add this - there was implementation feedback that the default sensor could not be figured out synchronously 15:31:31 ... the object needed a special state 15:31:45 s/connected/unconnected/ 15:31:54 Andrey_Logvinov has joined #dap 15:31:57 ... if there are better ideas of a name, I'd be interested 15:32:06 Michail: undefined? 15:32:25 s/Michail/Mikhail/ 15:32:45 ... I've also more questions on the state machine - this state can never be reached again? 15:32:46 s/Michail/Mikhail/g 15:33:07 Tobie: I'm not super attached to the current state machine if there are reasons to do that 15:33:21 Mikhail: if you call start, and there is no sensor what's the next state? 15:33:26 Tobie: it should be "errored" 15:33:44 ... first state is not connected to hardware, then connecting, then connected 15:33:57 ... if at any point there is a fatal error, you move to errored 15:34:03 ... otherwise, if you stop it, you move to idle 15:34:13 ... (connected but not polling) 15:34:34 Topic: Concrete Sensors 15:34:43 Gyro adapted https://github.com/w3c/gyroscope/pull/10 15:35:08 Anssi: Mikhail started adapting the gyro API to the updated generic sensor 15:35:28 Mikhail: I moved the reading to the sensor interface itself 15:35:46 Anssi: tobie, will you be adapting Ambient Light to the new Generic Sensor? 15:35:52 Tobie: good idea 15:36:03 ... I can also look at the Gyro pull request to make sure it's aligned 15:36:29 Anssi: from what I understand from Mikhail, the adaption was fairly straightforward 15:36:58 Mikhail: the procedure for reading in Generic Sensor is using internally a Map - what does it mean in practice? 15:36:58 https://infra.spec.whatwg.org/#ordered-map 15:37:13 Tobie: I think that this matches the buffer you have in the implementation 15:37:24 ... it's probably one single map per sensor per origin 15:37:35 ... that just stores the data that is read from the sensor itself 15:37:42 ... and it is updated at every rAF 15:37:51 ... and all the concrete sensor instances just get the value from it 15:38:03 ... it's an abstract object 15:38:05 s/rAF/received animation frame/ 15:38:10 ... I'm relying on the Infra spec 15:38:21 s/received animation frame/requestAnimationFrame 15:38:38 ... it's an abstract data structure that all the instances tap into 15:38:52 ... probably need to do a diagram of how this all works 15:40:58 Mikhail: will open some other detailed issues 15:41:07 ... the feeling I have is the more precise we are, the better, but we also need to avoid being too specific - we need to find where the put the cursor in specificity and would love to get your feedback on that 15:41:15 tobie: or make pull requests 15:41:34 Topic: Wake Lock 15:41:51 FJH: Dom was to ping that TAG to get an updated review 15:41:55 ... and maybe discuss some of the respec issues 15:42:16 Dom: ping them, not heard back yet 15:42:39 FJH: Anssi, is there a way you could help Andrey with the new warnings from respec? 15:42:45 https://github.com/w3c/respec/wiki/data-dfn-for 15:43:09 see also https://github.com/w3c/respec/wiki/WebIDL-Guide 15:43:26 Anssi: the pointer above explains the issue 15:43:42 ... ReSpec is more agressive in requiring prose for each and every WebIDL item 15:43:54 Dom: feel free to ping me Andrey if you're still not finding your way 15:44:03 s/ping them/pinged them/ 15:45:02 moving forward with implementation would be useful to learn, depends on if TAG feedback would result in rework 15:45:22 Andrey: does it make sense for me to move with implementation? or should we wait for feedback? 15:45:34 Dom: implementation experience would be helpful for the spec 15:46:01 ... but it depends on how much implementation efforts you can afford without certainty 15:46:48 suggest we get a slot on the TAG agenda for Wake Lock 15:46:55 best way to get attention 15:47:03 FJH: would be good if this could move up earlier rather than later on the TAG agenda 15:47:15 action: fjh to ask TAG to put Wake Lock on agenda 15:47:15 Created ACTION-784 - Ask tag to put wake lock on agenda [on Frederick Hirsch - due 2017-02-02]. 15:47:16 Dom: not sure how to do that - maybe ask nicely from chair to chairs? >:) 15:47:43 https://github.com/w3ctag/spec-reviews/issues/126#issuecomment-257137369 15:48:21 Topic: Battery & Vibration 15:48:35 FJH: Battery - we're waiting for more implementation - but how long should we wait? 15:48:56 Anssi: the current status is that Mozilla unshipped it, but Chrome and other derivative browsers are shipping it 15:49:21 http://caniuse.com/#search=battery 15:49:27 expand with show all 15:49:31 ... Chrome, Opera, Opera Mobile, Android Browser, Chrome Mobile, UC, Samsung Internet ships it 15:50:24 ... given the mobile focus, Firefox dropping it is not having much impact from a market share perspective 15:50:33 https://crbug.com/661792 15:50:43 ... For Chromium, there is an open issue opened by lukasz 15:50:53 ... which has been assigned to Tim Volodine 15:51:08 ... latest update in December 15:51:20 ... as a result, I think it's still a bit premature to make a decision 15:51:52 ... there may be integration with permission API as the result, which may allow Firefox to ship it again 15:52:46 dom: two views of future, only Chromium & derivatives ship, then do not fulfil 2 implementations expectation, have to decide if that is good enough, or stop the spec 15:52:58 dom: another view is that more work brings Firefox back 15:53:17 dom: agree, don’t need to make assessment now, but probably need to think through our approach 15:53:18 https://developer.microsoft.com/en-us/microsoft-edge/platform/status/batterystatusapi/ 15:53:31 Anssi: Edge has it "under consideration" 15:53:48 https://developer.microsoft.com/en-us/microsoft-edge/platform/status/batterystatusapi/?q=sort%3AVotes%20edge%3A%27Under%20Consideration%27 15:54:18 Dom: when should we re-evaluate this? 15:54:44 anssi: the issue doesn't seem very high priority from the Chromium perspective (P3) 15:56:00 Dom: maybe check back in a month or two and re-evaluate then? 15:56:08 FJH: I'd say 2 or 3 months 15:56:25 Topic: Vibration 15:56:36 s/Battery & Vibration/Battery 15:56:44 Anssi: no particular update, just editorial work 15:57:05 Topic: AOB 15:57:18 [adjourn] 15:57:31 Thanks everyone 15:57:34 RRSAgent, draft minutes 15:57:34 I have made the request to generate http://www.w3.org/2017/01/26-dap-minutes.html dom 15:58:19 Topic: Adjourn 15:58:27 s/AOB/Other Business/ 15:59:23 Present+ Lukasz_Olejnik 15:59:44 Present+ Mikhail_Pozdnyakov 15:59:50 rrsagent, generate minutes 15:59:50 I have made the request to generate http://www.w3.org/2017/01/26-dap-minutes.html fjh 16:00:14 s/FJH/fjh/g 16:00:59 s/[adjourn]// 16:01:04 rrsagent, generate minutes 16:01:04 I have made the request to generate http://www.w3.org/2017/01/26-dap-minutes.html fjh 17:56:59 zkis has joined #dap 18:06:50 Zakim has left #dap 18:09:38 Andrey_Logvinov has joined #dap 18:49:42 Andrey_Logvinov has joined #dap 19:39:58 zkis has joined #dap 20:58:53 Andrey_Logvinov has joined #dap 22:23:59 zkis has joined #dap