News for hackers. Stuff that matters.

Ask HN: Has HN Had an Upgrade?

I've noticed a couple of stories with a huge number of comments and the site is running fine. In the past I've had to logout when the comment count gets too high. What has changed?
( 35 comments | 2 points | on HN )
Re:Ask HN: Has HN Had an Upgrade? by comfypotato on Wednesday March 01, 2023 @05:53AM (#34980937)
On the contrary, I’ve had more problems with the site in the last week than ever before.

Maybe it was the threads you were talking about. Maybe it was said upgrade process.

It was probably coincidence. Personally I doubt anything has changed.

What are you considering a lot of comments? The largest I’ve seen since I’ve been here was the Roe v. Wade overturn post, and it was around 1000. The site’s acting no different for me now than it did then.

Re:Ask HN: Has HN Had an Upgrade? by roxgib on Wednesday March 01, 2023 @05:56AM (#34980959)
I've noticed the same. Never seen it get overloaded before, but it's happened several times over the past week.
Re:Ask HN: Has HN Had an Upgrade? by luckylion on Wednesday March 01, 2023 @06:02AM (#34980996)
I thought that's a soft-lockout that's supposed to tell you to stop trying to comment on a topic. If you're persistent and really want to, you can after a minute or two, but if it's not that important, you go "meh, I guess not" and go on your merry way.
Re:Ask HN: Has HN Had an Upgrade? by comfypotato on Wednesday March 01, 2023 @12:55PM (#34985717)
If my understanding is correct, they disable the “reply” to limit more comments. On every comment beyond a certain depth, reply is disabled for some time immediately following the comment.
Re:Ask HN: Has HN Had an Upgrade? by nik736 on Wednesday March 01, 2023 @05:55AM (#34980954)
Logout because of too many comments? What browser and OS are you using?
Re:Ask HN: Has HN Had an Upgrade? by bluehatbrit on Wednesday March 01, 2023 @06:14AM (#34981081)
In the past it's sometimes been requested by dang on particularly popular threads so they can serve the page from cache. Here's one example [0], it's from 2016 but is just an illustration. I'm not sure I've seen it suggested for some time though.

0: https://news.ycombinator.com/item?id=12909752#12911870

Re:Ask HN: Has HN Had an Upgrade? by eps on Wednesday March 01, 2023 @06:14AM (#34981083)
HN backend sometimes is laggy preparing user-specific view of threads.
Re:Ask HN: Has HN Had an Upgrade? by qingdao99 on Wednesday March 01, 2023 @06:37AM (#34981226)
User-specific? Why isn't the page excluding the header part cached separately, or am I missing something?
Re:Ask HN: Has HN Had an Upgrade? by foldr on Wednesday March 01, 2023 @06:45AM (#34981281)
Presumably basic stuff like showing whether or not you've upvoted a comment and showing your own comments differently to other people's.
Re:Ask HN: Has HN Had an Upgrade? by tuukkah on Wednesday March 01, 2023 @07:06AM (#34981426)
It would be cheaper to render those afterwards client-side given a list of comment ids that the logged-in user has upvoted.
Re:Ask HN: Has HN Had an Upgrade? by proto_lambda on Wednesday March 01, 2023 @07:11AM (#34981468)
That would require users to run client-side scripts for basic site functionality.
Re:Ask HN: Has HN Had an Upgrade? by yardstick on Wednesday March 01, 2023 @07:19AM (#34981535)
Upvoting is a client-side script already.
Re:Ask HN: Has HN Had an Upgrade? by proto_lambda on Wednesday March 01, 2023 @07:21AM (#34981554)
Are you sure? With JS disabled, the vote arrows are simple links for me that work as expected.
Re:Ask HN: Has HN Had an Upgrade? by jraph on Wednesday March 01, 2023 @08:07AM (#34981939)
It's both! :-)

That's a perfect example of graceful degradation / progressive enhancement.

A JS event on the html element cancels clicks on those links and handles them in JS with AJAX so the page is not reloaded.

Re:Ask HN: Has HN Had an Upgrade? by tuukkah on Wednesday March 01, 2023 @07:51AM (#34981794)
Render server-side (or on the edge) for those who don't run client-side scripts.
Re:Ask HN: Has HN Had an Upgrade? by qingdao99 on Wednesday March 01, 2023 @08:55AM (#34982408)
Can that be detected by the site? (in a non-hacky way)
Re:Ask HN: Has HN Had an Upgrade? by tuukkah on Wednesday March 01, 2023 @09:32AM (#34982805)
Yes, by including code that if run, alters what happens. For example, you can add JavaScript code that handles the "comments" links on the front page in the new way (fetch the data and render it). For those browsers that don't run the code, everything will continue to work in the old way (links will cause a request to the server, which will render the comments).
Re:Ask HN: Has HN Had an Upgrade? by petodo on Wednesday March 01, 2023 @06:59AM (#34981371)
> In the past I've had to logout when the comment count gets too high.

Never experienced this in years.

Everything seems same as always. Still unreadable flagged/downvoted comments, still too small font, stil Downvote button, still Flag button without requiring public reason.

Re:Ask HN: Has HN Had an Upgrade? by Maken on Wednesday March 01, 2023 @07:20AM (#34981549)
You need high karma to have access to the down-vote button.
Re:Ask HN: Has HN Had an Upgrade? by petodo on Wednesday March 01, 2023 @08:05AM (#34981912)
I know you need karma above 500 for downvote button (I have it), I am complaining about existence of this button, it should be removed for everyone, it doesn't really help anything besides silenting opposing views/opinions going against HN hivemind.
Re:Ask HN: Has HN Had an Upgrade? by lampshades on Wednesday March 01, 2023 @09:03AM (#34982483)
But if the downvote was removed we wouldn’t be able to disagree with the thought of removing it.
Re:Ask HN: Has HN Had an Upgrade? by booleandilemma on Wednesday March 01, 2023 @07:10AM (#34981459)
Your account is 78 days old.
Re:Ask HN: Has HN Had an Upgrade? by petodo on Wednesday March 01, 2023 @08:06AM (#34981915)
People switch accounts you know, I had to switch account after people set up downvote bots on my account when I had downvoted comments within minute from posting.
Re:Ask HN: Has HN Had an Upgrade? by jraph on Wednesday March 01, 2023 @08:10AM (#34981976)
> account after people set up downvote bots on my account

What's the motivation behind such thing? Why bother setting up bots for downvoting accounts?

(FWIW I often get upvoted within seconds of posting)

Re:Ask HN: Has HN Had an Upgrade? by petodo on Saturday March 04, 2023 @01:04AM (#35018623)
silent the views you disagree with by making them unreadable and it's rather trivial to set up for folks here

this stopped happening immediately after I created new account, if HN would be transparent and showing who flagged or downvoted your comment and everyone would need to provide publicly visible reason for doing it we wouldn't have this discussion

Re:Ask HN: Has HN Had an Upgrade? by lampshades on Wednesday March 01, 2023 @09:04AM (#34982492)
I’ve had multiple accounts going back to at least 2013. People make new accounts all the time.
Re:Ask HN: Has HN Had an Upgrade? by petercooper on Wednesday March 01, 2023 @08:09AM (#34981969)
Following on from the main question, it would be neat to know what the current state of play with HN's architecture and hardware is as of 2023. We've heard lots of bits and pieces from over the years but, well, curiosity always has the better of me.
Re:Ask HN: Has HN Had an Upgrade? by tiffanyh on Wednesday March 01, 2023 @08:33AM (#34982177)
dang probably moved HN off AWS back to M5 hosting.
Re:Ask HN: Has HN Had an Upgrade? by voisin on Wednesday March 01, 2023 @08:51AM (#34982351)
Off topic, but I’d love for HN to have larger buttons on mobile. Particularly the up/down vote buttons. I have to zoom in to press which makes it the only site I regularly interact with that requires this.
Re:Ask HN: Has HN Had an Upgrade? by cyberge99 on Wednesday March 01, 2023 @08:59AM (#34982443)
I literally just did exactly this to your comment. Bigger button or touch area for mobile would be fantastic.
Re:Ask HN: Has HN Had an Upgrade? by pupppet on Wednesday March 01, 2023 @10:30AM (#34983414)
Yes! And the button hit-area is a little strange, even zoomed in. Half the time I'm not even sure I hit the right arrow.
Re:Ask HN: Has HN Had an Upgrade? by readthenotes1 on Wednesday March 01, 2023 @04:11PM (#34988398)
I'm a contrarian by Nature so I will play devil's advocate and point out that having a little obstacle to your vote is a step in the direction of making sure you really mean it.

I say that after zooming in to give you an upvote of course

Re:Ask HN: Has HN Had an Upgrade? by FractalHQ on Thursday March 02, 2023 @10:07AM (#34996549)
Oh wow I thought everyone used third party client apps on mobile..! My experience with Octal on iOS has been really nice. The lack of a dark reader extension on iOS makes the regular site even harder to stomach but perhaps I should give it another chance.
Re:Ask HN: Has HN Had an Upgrade? by abdulstevenson on Wednesday March 01, 2023 @08:52AM (#34982368)
I've noticed buggy behaviour too, my comments are being flagged
Re:Ask HN: Has HN Had an Upgrade? by DeathArrow on Wednesday March 01, 2023 @09:09AM (#34982550)
Maybe they upgraded from Samsung Galaxy A52 to A53. :D

Joking aside, even if the site has a massive number of users, it seems pretty efficient to me and I don't think it needs a ton of resources.