Talking about how many people can be sustained by earth is talking about the wrong thing. It only leads and HAS only lead to the eugenetics part. Because it's always poor people in different countries who gets sterilised.
The real topic is that capitalism and consumerism is 100% unsustainable, right from the start. That is the real debate to be had. That this world is not about human well-being and happyness, but about GDP and growth, making a tiny number of people wealthy at the expense and misery of the majority.
Unfortunately this site - Hacker News - and everything related to it, Ycombinator, Paul Graham, is only fueling the capitalist game.
You talk about "sustainable population", there's nothing not to understand about this. Sustainable implies it's now unsustainable, but that notion isn't true.
Why do people insist on making this an eugenics talking point?
The number of people is not the problem.
Would 15 billion people be too many? 20 billion? Are we to imagine that Earth could support an infinite number of people? Because that seems like magical thinking to me. Though a different lifestyle (vegan, low energy consumption, etc.) would probably allow the current number to get by fine.