But that needs to be put in its proper context. Even if you have a small amount of stock or indirectly benefit from stock prices in some way, it'd be stupid if you let that mentally tie yourself to the stock market.
For instance, shortfalls in taxes do not necessarily need to be made up by "all taxpayers." With progressive taxation, they can be made up by some taxpayers (which will likely consist of most HN commentators, since software engineers are relatively wealthy).
Which is what I believe has been happening for decades. Progressive taxation can help, but I doubt the political will exists to tax capital gains.
A friendly reminder that capital gains is taxed (when it is realized).* I assume that you are actually complaining about closing loopholes that exist for avoiding paying the full rate.
* Obviously this comes with the caveat that the tax code is large with lots of "loopholes" (in quotes because they were mostly intentionally created). Capital gains losses are somehow socialized as tax deductions and the "carried interest loophole" allows certain fund managers to treat capital gains as a different class of income.