People try to feel superior by discriminating others. It's their method of coping with the facts that no one finds them interesting or even attention worthy and then they try to impose their vulnerabilities on others. They do it to look "cool" (don't even know the definition of their version of cool), to hide their own shortcomings and failures.
Why don't they just cool off someplace else, play some squash, make their life PRODUCTIVE, give your living a meaning.
Best way to handle them: do not acknowledge them as humans. Think of them as some blabbering NPCs who are there just muttering illegible nonsense. Pay no mind to them. Strive to achieve success. That'll be the slap on their faces.