logoalt Hacker News

LukeShu • today at 1:17 AM • 3 replies • view on HN

On the topic of HN bugs:

When you click "hide" on a post on the homepage, it loads a new 30th entry for the page. This works great on page 1, but on other pages it always loads entry "30" instead of "60" for page 2 or "90" for page 3. So if I'm on page 2 and hide 3 posts, then the bottom of the page is 58/59/60 and all 3 are duplicates of what should be 30 on page 1.


Replies

dang • today at 1:54 AM

Oof. That would have been a bug for a long time.

Will look into fixing.

Edit: ok you guys, be my ChatGPT. Say you have page 2 loaded and you hide a story. What story should replace it at the bottom? Keep in mind that the story rankings may have shifted around quite a bit since you loaded the page you're looking at.

I remember puzzling over this when we first implemented /hide and that was many years ago. (Edit: July 2016 in fact)

Edit: the original bug is fixed at least. Let's not let the better be the enemy of the proper.

➕ show 5 replies
Alex3917 • today at 1:31 AM

On that note, it would be great to get an option in settings to hide the 'flag' and 'hide' links when on mobile, at least on the front page. 95% of the time I click either one on mobile it's by accident.

93po • today at 1:39 AM

please god dark mode too

➕ show 3 replies