howl at the moon

Etymology
After the stereotypical behaviour of wolves howling at the moon in folklore.

Verb

 * 1)  To spend considerable time and effort fruitlessly in a hopeless endeavor.