I had a neighbor who had a dog that barked incessantly and to a point where it was almost a 24 hour ordeal for me. I rarely got a full night's sleep because to the dog's barking all night and all day. I talked to the dog's owner and told him that for the last 10 years I'd put up with the dog's barking and have been sleep deprived all that time. Dog owner said he didn't know what he could do about it after all, "dogs bark, that's what they're supposed to do and how dare you come and complain to me! You should mind your own business"
Out of desperation and at my wit's end, I purchased an ultrasonic anti barking device and put it to use immediately. After a couple of weeks, dog owner relocated the barking dog and has not gotten another. "Stupid fixed".