5 ms·
Not sure how everybody does it but I usually feel lost navigating in big threads like this one with ~3000 comments https://news.ycombinator.com/item?id=25706993
by trungdq88 6y ago
Not sure how everybody does it but I usually feel lost navigating in big threads like this one with ~3000 comments https://news.ycombinator.com/item?id=25706993 https://news.ycombinator.com/item?id=25706993
So here is my attempt to solve it with flamegraph. What do you think?
You can load another thread by appending #thread_id to the end. For example, here is the graph for this very thread:
https://trungdq88.github.io/hn-big-threads/index.html#25713858 https://trungdq88.github.io/hn-big-threads/index.html#257138...
I'm not sure why GitHub doesn't load the page when the "index.html" part is missing, but I have to go now so I don't have time to check it, maybe later.
- boulos 6y agoCool idea! I also enjoy the double entendre of “flame graph” here for the flame war that you chose :). It’s not clear to me that I’d label the “functions” with the username. I’m not sure what other very short summary you might use, but I’d prefer something content related rather than poster.
- trungdq88 6y agoThanks :) I choose to use the username because in big threads, most of the bars are very thin. There isn't much room to show anything anyway...
- dave_sullivan 6y agoThis is pretty cool, it is easier to scan around comments and threads more quickly. Reddit could use this.
- bryanrasmussen 6y agoI do not think visually, I tend to think in very structured complex sentences, as such being able to interpret what this image means is extremely difficult for someone who thinks in the way I do.
- dilap 6y agoI almost love it; clicking on a comment zooms in the graph, which loses context and is not what I usually want. But I think if you just made it so that hover loaded the complete comment either as a popup or actually down below, and click zoomed the context, this would be perfect, and by far my favorite way to browse large comment threads (on any website).