Talking to inanimate objects because humans are worse.
Explaining your problem to an inanimate object or very patient coworker so you can hear how ridiculous it sounds. Surprisingly effective and slightly humiliating. Bonus points if the duck solves it before you do.
"I spent 20 minutes rubber ducking to my coffee mug and realized I’d been querying the wrong table the whole time."