Ganesh Ananthanarayanan, Microsoft Research and UC Berkeley