I can't stand when people show up randomly.
Why don't you like people showing up unexpectedly?
I just get so angry. I work 3rd shift, so they always wake me up.
I don't blame you. I like people to at least call first, and to not expect me to be available late at night or early in the morning.
I wonder if that advice would really work.
If you really need to sleep, then perhaps pretending to not be home could be a solution.  However, it would be best to just be honest with the people who are visiting, and let them know that you need to know in advance before they come, and that they should only call at certain times.