Hacker News new | ask | show | jobs
by KajMagnus 28 days ago
That's how GitHub discussion works :- ) (or did you know?)

Look here: https://github.com/jj-vcs/jj/discussions/ — by default, sorted by last activity. But you can also sort by newest, or by votes.

For comment threads, look at e.g.: https://github.com/jj-vcs/jj/discussions/5509?sort=old — sorted by time, by default. But you can also sort by upvotes.

***

The forum software I'm developing, https://www.Talkyard.io, is also threaded, and can sort by time or by votes. (Both discussion topics and replies.)

F.ex. go here: https://forum.talkyard.io/-9qb49/solving-problem-first-comme... and scroll down to the replies section and click `Oldest first` to change order.

In addition to oldest/newest/"best", you can sort top level comments by time descending, and deeper comments by time _ascending_ or by votes — creating a kind of "micro blog feed" where each top level comment is the most recent "micro blog post" — but replies don't have to share the same sort order. "Newest, then popular" and "Newest, then oldest" I call these sort orders.

Also click the "Recent posts" in the upper right corner, to see the most recent comments sorted by time descending.

***

Anyway. There's people who think the hybrid approach you mentioned is an good idea.

1 comments

Thanks! I don't tend to use the GitHub discussion very much (just commenting on a few Issues) so I didn't know!

The Talkyard example is interesting - how does it differ to the algorithms Reddit uses to sort by "Best" or "Hot" when looking at comments (I think Best is the default now too, not Top, so presumably it takes recency etc. into account somehow).