Bali is plagued with annoying, aggressive, barking dogs that act like they are going to attack you. I was walking with a German tourist, there, and some dogs started to bark and snap at us. He reached down to pick up a rock and the dogs turned and ran. Since then , when ever a dog runs out and acts like it’s going to attack me I reach down, pick up a rock and start to throw it at it. I’ve never not had a dog run away. It’s like magic. Some kind of world wide knowledge embedded in dog’s genes make them run when it looks like a human is going to throw something at them.