somewhere in the technology sweatshops of the emerging world , hundreds of programmers were inputting thousands of scenarios - about how chess grandmasters made their moves , about when and why police officers drew their guns , about how people chose from dinner menus .