Well said.
Another benefit of open sourcing specific modules and libraries is that you can share your complementary code without exposing or commoditizing your core technology. Github is a perfect example of this - they open pieces that are helpful to other developers, but not enough that somebody could clone their site or compete with them.