That's a very good question. I know a few companies here in Auckland that give their employees some days per year to work on volunteer projects. Maybe that could be extended to longer periods?
Another alternative is to use industry veterans. We have few from programming background, but I believe that might change in a few years?