A thought or idea that is so radical or messed up that it causes a headache. To study for hours until you have a headache.
Seeing the five year old writing computer code on a graduate level "hurts my head".