News for hackers. Stuff that matters.
Re:Reddit's website uses DRM for fingerprinting by overlordalex on Thursday July 09, 2020 @09:31AM (#23779937)
> Or how about when it says "18 more replies" and I click on it and there's only one reply? Can't javascript count?

This one is actually a reddit quirk. The API reports the number of comments, however doesn't take into account removed comments, or users that have been shadow-banned.

However users notice and complain about this constantly, so it still needs to be improved

Re:Reddit's website uses DRM for fingerprinting by jazzyjackson on Sunday July 12, 2020 @04:12AM (#23809760)
Actually I just noticed this on Facebook too, especially comments on ads it will say "16 comments", but even when I select from the dropdown "All Comments" instead of "Most Relevant" I can count 10 comments.

So it's querying an API to ask how many comments there are, and getting a different result when it actually fetches the comments. So there's two different SQL queries somewhere I get that, but how can they diverge so much, is there a team assigned to "Queries that count comments before showing them" and a different team assigned to "queries that show comments" ?

It's just so frustrating as a developer to see the same broken behavior all over the largest web properties.