How scientists developed a drug factory in a pill. A commonly used medical device could help us detect viruses and bacteria in blood, food and other substances. How chemists decoded secrets locked in a 2,300-year-old relic from an ancient war.