kpreid comments on So, I guess the site redesign is live? - Less Wrong

18 Post author: CronoDAS 22 June 2011 04:51AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (215)

You are viewing a single comment's thread. Show more comments above.

Comment author: kpreid 28 June 2011 03:32:50AM 6 points [-]

Please don't do this. In the event of a network failure, this can leave one unable to retry submitting a comment; I have actually experienced this on sites other than LW.

Instead, assign a unique identifier to each created comment form, and if the server receives two submissions with the same identifier, consider the second one an edit to the first comment. (Even client-side pseudorandom identifiers would be good enough for these purposes.)

Comment author: wedrifid 28 June 2011 07:06:26AM 0 points [-]

Exactly!

(I thought that this was how LW already worked. My impression was that the code for replying to comments still has such a system and it is just the replying to the original post that is broken.)