If I had to press a button to choose between my daughter or all the strangers on HN and their dogs, I would press it and wouldn't even blink.
If it were a stranger's daughter, though, I'd probably ask some questions about the daughter, and if I can't determine that there's something about her that would be worth a million strangers, she would have the same value as an average stranger, so I would opt to save a million strangers.
If I had to choose between a stranger and all dogs on Earth, I would ask some questions about the human, and, absent any red flags, I would choose the human, simply out of the need to preserve my own species, even if I think there's more than enough of us and having dogs around would probably make a lot of people's life better than that one person.