Let’s say I write a program A that compiles and runs B with A’s source code as input. If B’s output is “cooperate”, A cooperates. If B’s output is “defect”, A defects.
Now I pit A against itself. Oops, infinite recursion. This isn’t exactly the same as the halting problem, but it rhymes.
I agree. LW doesn’t have many posts about maintaining and improving the brain.
I would also add aerobic exercise to your list, and possibly drugs. For example, caffeine or modafinil can help improve concentration and motivation. Unfortunately they’re habit-forming and have various health effects, so it’s not a simple decision.