is it possible that answers can be accepted?

2 Ansichten (letzte 30 Tage)
madhan ravi
madhan ravi am 13 Okt. 2018
Kommentiert: Jan am 16 Mär. 2023
https://in.mathworks.com/matlabcentral/answers/51645-how-to-find-out-if-a-number-is-even-or-not#comment_620508 if you click the link you will notice that two answers are accepted , found it quite interesting . Does anybody know how the system works?
  6 Kommentare
Dyuman Joshi
Dyuman Joshi am 16 Mär. 2023
I am unable to find the solution (or any comment as well) from the user whose name is shown in highlight on the top as the accepted answer (Thomas, Level 6) on the problem.
Weird.
Jan
Jan am 16 Mär. 2023
If the system is state of the art, the data base of the forum runs on several computers. Then databases can be ACID proof (atomicity, consistency, isolation, and durability, see e.g. here), but Matlab answers is not, obviously. If two events are triggered within a certain amount of time, the different servers cannot consider the side effects. In this case accepting an answer should block further acceptings, but it needs some time to distribute the new state.
Well, ACID proof distributed databases are available for decades now.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

John D'Errico
John D'Errico am 13 Okt. 2018
Being an MVP does not give you the privilege to doubly accept an answer. Read the help for Answers. It tells you what privileges are accrued with increasing rep.
https://www.mathworks.com/matlabcentral/answers/help?s_tid=gn_mlc_ans_hlp
As I recall, occasionally two answers can get accepted, if two acceptances are registered at the same time, before the database knows what has happened. The OP can always accept an answer immediately. Once accepted, that locks other answers out from being accepted.
If the OP has not accepted an answer within 7 days, then all answers are opened up for acceptance, by users with sufficient site rep. (500 rep is all that is needed, based on the rep privileges listed in the help.) I gather this is when a double acceptance can rarely occur, if then TWO answers are accepted within a sufficiently short span of time.
  6 Kommentare
madhan ravi
madhan ravi am 17 Okt. 2018
Useful information @Jan
Guillaume
Guillaume am 17 Okt. 2018
Yes, double acceptance of answers is a bug. I know that Walter Roberson reports these to MathWorks when he spots them so they're aware of it. I doubt they'd want to make the decision on which of the two should be the correctly accepted one, so both will probably stay accepted.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (4)

Bruno Luong
Bruno Luong am 13 Okt. 2018
Can you accept this one and the previous one?
  5 Kommentare
Image Analyst
Image Analyst am 13 Okt. 2018
Timing issue.
madhan ravi
madhan ravi am 14 Okt. 2018
Thank you sir @Image Analyst

Melden Sie sich an, um zu kommentieren.


KALYAN ACHARJYA
KALYAN ACHARJYA am 13 Okt. 2018
Bearbeitet: KALYAN ACHARJYA am 13 Okt. 2018
Sir, Yes it is Possible, I have experienced the same.
  2 Kommentare
madhan ravi
madhan ravi am 13 Okt. 2018
can you elaborate @Kalyan ?
madhan ravi
madhan ravi am 13 Okt. 2018
ok lets take our time , no problem

Melden Sie sich an, um zu kommentieren.


Bruno Luong
Bruno Luong am 13 Okt. 2018
Can you accept this one and the next one?

Bruno Luong
Bruno Luong am 13 Okt. 2018
I might win 2 points or nothing
  7 Kommentare
Guillaume
Guillaume am 17 Okt. 2018
I'm afraid nothing magical happens once you become an MVP other than having that little badge attached to your name. You don't get any more privilege than the ones granted by achieving the required reputation.
Achieving 2000 reputation (way before MVP) puts you on an editor mailing list where mathworks may very occasionally ask for feedback.
The little MVP badge is nice though!
madhan ravi
madhan ravi am 17 Okt. 2018
Amazing though, I have to admit that I have been sick for a couple of days was able to manage it only because I am part if this community. Cheers

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by