I never mentioned it before, but the first company I interned at, a small medical billing software shop, went bankrupt at least in part because the lead dev/CTO was obsessed with breaking the world record for calculating pi on a consumer desktop and directed most of his attention to that task.