This question seems very strange, because it’s really not difficult to understand how it works. You submit, people vote if they like it, but mostly ignore it, and occasionally flag it. Stories that generated interests rise, sometimes to the point where they end up in the front page. Stories that generate too much unwanted interest (e.g. that look too much like flame wars, or like never-ending discussions that go nowhere) sink to the bottom. There are corner cases and you won’t get the exact algorithm, partly because human moderators intervene as well.
If there is one thing to note, it’s that obvious self-promotion is not good. Technical details are more interesting than sales pitches.