Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

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#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.



Cool 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.


Thanks :)

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...


I 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).


Thanks for the feedback. I realized most HN comments are not that long, so I updated the page to show all the comment in the tooltip (instead of only 100 first chars previously).


nice, thx!


I 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.


This is pretty cool, it is easier to scan around comments and threads more quickly. Reddit could use this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: