Could stackoverflow.com work for other fields?
bbgm: Perhaps.  The advantage with programming is that there is a lot of general knowledge that goes beyond languages, etc and even at the language level you have sufficient number of people with general interest.  Where you can replicate that it should work.  In the sciences I am not so sure. You tend to get too specific and there isn't a general enough dialogue you can have in most communities.