Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Does Clicking on 'Dead' Comments Freeze your Browser Too?
4 points by aragonite on May 2, 2024 | hide | past | favorite | 5 comments
I've been experiencing an issue where clicking on 'dead' comments on HackerNews causes my browser to freeze for about 5-10 seconds, and my CPU fan turns noticeably louder during this time. This happens consistently and I've tested it across multiple browsers with the same result.

For example (assuming it's not a problem peculiar to my machine) you should be able to see this behavior for yourself by going to this link:

https://news.ycombinator.com/item?id=40222213

and trying to expand the comment by "Brian_K_White" by clicking the ”[17 more]” link.

Is anyone else experiencing this issue, or is it just on my end?




I pushed a fix for a comment-collapsing bug earlier today, so I wonder if I broke something.

My fix happened to made some iterative code recursive. Recursive code plus CPU fan rather suggests a stack overflow, doesn't it... I'll look into it.

Edit: I've reverted the change so you can happily expand your [17 more]. Will see if I can fix better.

Edit 2: should be fixed better now.


Many thanks dang — everything is working smoothly now!


I have the same problem for expanding any comment.


It expanded immediately for me. Chrome, Mac.


Many thanks!

This is so strange. The freezing happens both on my desktop (Chrome, Firefox, Tor) and my phone (Chrome Android).

Might be something peculiar with my setup...

Edit: I've now tested it on Windows, Android and iPhone and seen the same freezing behavior, both from residential and CGNAT IPs.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: