A gadget 3000 years in the making