9

Turns out every user needs to wait 15 minutes between asking a question and accepting an answer on it. If he tries to click "accept" earlier he sees "You can accept an answer in N seconds" which is good... except that I recently tried to accept an answer earlier than after 15 minutes, didn't know about the 15 minutes restriction and clicked again and again until finally I saw "You can accept an answer in 0 seconds".

Now the latter text looks really weird. I guess the system compares the time elapsed as some fraction of seconds but the user interface code normalizes that value to be a whole number of seconds. So I hit an edge case where the comparison code thought that it's "greater than" but the user interface showed a hint related to "is equal".

Could you please fix this edge case? I guess the easiest solution would be to treat 0 <= N < 1 case as N == 1.

2 Answers 2

7

0 seconds is perfectly good English. It's only 1 seconds that's inappropriate.

4
  • 13
    It's not the English that's the problem.. If you can accept in 0 seconds.. why, that's right now! So just let the user accept it!
    – Blorgbeard
    Commented Jul 14, 2010 at 8:37
  • 3
    @Blorgbeard: Is your browser not rendering the humor fields? Commented Jul 14, 2010 at 8:39
  • Oh, I guess not. Damn.
    – Blorgbeard
    Commented Jul 14, 2010 at 9:28
  • 2
    @Blorgbeard 0.4 seconds are only 0 seconds by virtue of rounding.
    – badp
    Commented May 21, 2011 at 11:03
-3

clicked again and again until finally I saw "You can accept an answer in 0 seconds".

For some reason when you said that I was thinking of this.


(source: exotica.org.uk)

We now show "you can accept an answer just now" -- for past or future dates <= 4 seconds.

Considering changing that to "momentarily" for future dates... let me make that so.

7
  • 13
    I guess that picture is of something that is very familiar to you but totally unfamiliar to me and this is why I don't get your perfectly crafted irony. Anyway I don't see why fixing the described behavior is that problematic.
    – sharptooth
    Commented Jul 14, 2010 at 6:48
  • 7
    Should be a comment. Commented Jul 14, 2010 at 7:20
  • 7
    But comments can't have images. Did somebody say "feature request"?
    – Pekka
    Commented Jul 14, 2010 at 8:24
  • 1
    +i: I'm curious, but I don't understand. Commented Jul 14, 2010 at 8:42
  • 3
    @Pekka: I disagree...a link would easily do. Commented Jul 14, 2010 at 9:36
  • 1
    Ended up asking about it at gaming.stackexchange.com/questions/22808 : basically it's talking about button-mashing. Commented May 21, 2011 at 12:03
  • I remember playing that arcade. What a nice memory. :-)
    – avpaderno
    Commented Sep 2, 2011 at 23:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .