News for hackers. Stuff that matters.
Re:How can C Programs be so Reliable? (2008) by mikeash on Thursday December 05, 2013 @03:54PM (#6857144)
Wait, HN is good? The community is interesting, but I've never been particularly impressed by the implementation. In particular, the "feature" where "More" links and such randomly expire after a while just screams "shoddy implementation" to me.
Re:How can C Programs be so Reliable? (2008) by AceJohnny2 on Thursday December 05, 2013 @04:29PM (#6857397)
The thing is, the "more" links are specific to each user and generated page. They're not just "page 3 at the time you click on the link", but the actual next 30 links following the 30 it's previously shown you. As a result, it needs to store state for each of these links it's created (IIRC, the fnid is a reference to the closure containing that state). For obvious memory management purposes, these need to be expired after some time.

I agree that it's an odd implementation choice though. I guess it made sense when HN was smaller and it could grant more ressources to each user. Nowadays, Reddit's simpler system (with risks of duplicates or missing rising links as you go deeper) would probably make more sense.

Re:How can C Programs be so Reliable? (2008) by mikeash on Thursday December 05, 2013 @04:49PM (#6857522)
I understand that it's a tough problem and can totally understand solving it by just making the links quit working like that. But that sort of thing doesn't strike me as "good", even if it is highly pragmatic.
Re:How can C Programs be so Reliable? (2008) by pkolaczk on Friday December 06, 2013 @07:30AM (#6860750)
And why not store that state on the client? 30 serialized ids is not that much.
Re:How can C Programs be so Reliable? (2008) by aryastark on Thursday December 05, 2013 @04:29PM (#6857399)
Yeah, I really can't believe that hasn't been fixed by now.

Not only that, but it's impossible to follow discussions here. You have to go through your comment history to find threads you reply to.

Re:How can C Programs be so Reliable? (2008) by elwell on Thursday December 05, 2013 @05:12PM (#6857699)
The UI is in some way (i think) intentionally poor. For example, when you want to reply to a comment it takes you to a new page, and then you still have to click on the textarea to focus it. I think they don't want people to be able to comment quickly.