News for hackers. Stuff that matters.
Re:Ask HN: Why do browsers still support pop up dialogs and ... by sametmax on Sunday May 22, 2016 @05:29PM (#11750365)
Comments and charging for money don't have the same objectives at all. I can understand that a dev can decide to allow the rare situation for rare duplicate comment that you can easily delete because it saves work and is not a big deal. While with other's people money, you can't do that. It's all a question of balance.
Re:Ask HN: Why do browsers still support pop up dialogs and ... by dredmorbius on Sunday May 22, 2016 @07:54PM (#11750853)
Solving one solves the other.

While I executed my QED here deliberately, I've left more than a few duplicate comments on laggy connections and/or bogged-down browser sessions.

Other elements of HN's design and workflow make detecting this difficult. Rather than returning the user to the comment they'd just posted, or its parent, you're returned to the discussion root.

Catching typos, incorrect tags (I keep having to remember that _this_ doesn't emphasise content), etc., would be far easier if the renderd comment was presented.

Solving this as a browser / HTML built-in would be most ideal.

HTML though isn't stateful. By design.