code in the air. s = gps.getspeed(); d = gps.getdirection(); send(5sec, s + d); phones execute code...
TRANSCRIPT
![Page 1: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/1.jpg)
Code In The Air
![Page 2: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/2.jpg)
Code In The Air
s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);
Phones execute code based on location
![Page 3: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/3.jpg)
Code In The Air
s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);
s = gps.getSpeed();d = gps.getDirection();send(10sec, s + d);
s = gps.getSpeed();d = gps.getDirection();send(30sec, s + d);
s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);
s = gps.getSpeed();d = gps.getDirection();send(30sec, s + d);
s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);
s = gps.getSpeed();d = gps.getDirection();send(10sec, s + d);
s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);
Remotely program through a web service
![Page 4: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/4.jpg)
Applications
Crowd sourcing
![Page 5: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/5.jpg)
Applications
phone.setVibrate();alert(“send taxes”);tweet(“reached office”);
Crowd sourcingLocation based
![Page 6: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/6.jpg)
Applications
“this restaurant sucks”
Crowd sourcingLocation basedSocial/Collaborative
![Page 7: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/7.jpg)
Applications
Crowd sourcingLocation basedSocial/CollaborativeDeveloper Platform
![Page 8: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/8.jpg)
Research Challenges• Can we reduce the coding effort by 100x?
l = getLocation();s = getSpeed();r = roadSegment(l);sum[r] = sum[r] + s; count[r] = count[r] + 1avgSpeed[r] = sum[r] / count[r];
• Developer writes simple server side code – Algorithms automatically partition code to run on phones
• How do we scale to thousands of phones?
• Security, Privacy and Incentives
l = gps.getLocation();s = gps.getSpeed();send(l, s);
![Page 9: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location](https://reader036.vdocuments.us/reader036/viewer/2022062408/56649efb5503460f94c0d668/html5/thumbnails/9.jpg)
Contact
• Professors– Hari Balakrishnan ([email protected])– Sam Madden ([email protected])
• Grad students– Lenin Ravindranath ([email protected])– Arvind Thiagarajan ([email protected])