MATLAB Answers

madhan ravi
1

is it possible that answers can be accepted?

Asked by madhan ravi
on 13 Oct 2018
Latest activity Commented on by Guillaume
on 17 Oct 2018
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?

  3 Comments

it would be better if any MVP's clarify

Sign in to comment.

5 Answers

Answer by John D'Errico
on 13 Oct 2018
 Accepted Answer

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 Comments

That multiple answers can be accepted within a certain period of time means, that the database is not ACID proof, see https://en.wikipedia.org/wiki/ACID_(computer_science) . This is not state of the art and can cause a corruption of the data beyond inoffensive effects like double accepting. The ACID model was developed in 1983, see e.g. ISO/IEC 10026-1:1992 Section 4.
If an account with a high-reputation is cracked, a distributed attack could flood the database with contradictory information, which are hard to fix automatically.
Useful information @Jan
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.

Sign in to comment.


Answer by Bruno Luong
on 13 Oct 2018

Can you accept this one and the previous one?

  5 Comments

Yea sir but how two answers have been accepted in the link I posted?
Thank you sir @Image Analyst

Sign in to comment.


Answer by KALYAN ACHARJYA on 13 Oct 2018
Edited by KALYAN ACHARJYA on 13 Oct 2018

Sir, Yes it is Possible, I have experienced the same.

  2 Comments

can you elaborate @Kalyan ?
ok lets take our time , no problem

Sign in to comment.


Answer by Bruno Luong
on 13 Oct 2018

Can you accept this one and the next one?

  1 Comment

no I'm not able to accept it

Sign in to comment.


Answer by Bruno Luong
on 13 Oct 2018

I might win 2 points or nothing

  7 Comments

indeed, we are all waiting for you to become one
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!
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

Sign in to comment.