I think that shouting and yelling cycling specific jargon at pedestrians is rude. I use a bell and it works for most situations, unless somebody is deaf or has ear buds with volume cranked up to the max.
As for drivers I prefer to make eye contact, I hate cars with very dark tinted windows, I can't see who is hiding behind it and I can't tell if they even see me.