I'm pretty sure people say "herp" or "derp" when they're belittling another person's intelligence (i.e. it's for calling other people stupid, in case you didn't understand that because you're a derp.)