To create a representative sample, you need knowledge on your population. For survey on the general population of a given country or state, the census data is used. You know what percentage of your population is in a given age bracket, their occupation, their gender, their family situation, etc. and you build a sample with the same proportions.
When working on embedded, C, Postgres, or pretty much anything that is completely UIless we get most of our information from short to the point blogs, with 1/3 or less from SO.
When working on web (php, node, css/js/popular framework) or mobile we pretty much exclusively use SO. The blogs and documentation here are full of stupid terms and too much text.
The other cases I was thinking of were Python and R. Both of which I found were SO heavy, and whose blogs seemed awfully similar to the front end stuff.