It's not so much generosity, but a social matter of course that people help each other. It's nice to be appreciated. But one usually also benefits from the help of others and shows them appreciation. It actually only becomes generous when you give far more than you receive. As an open source developer, I receive at least as much as I give.