I'm going to get angry at people when they talk too much about completely irrelevant things
Why would you get angry at such people?
It can be so annoying to listen to them talking too long about nonsense.
I get your point, but it's mean to insult other people and their interests. You should learn to be more interested in what people have to say.
I don't see what's wrong with it. If someone is talking too long, then they deserve to catch some anger.
If someone is talking excessively, it's probably because they assume you'll be interested in what they have to say. If you're not interested, then it's your responsibility to convey that in a tactful manner, otherwise they won't know when they're testing your patience.