MATLAB Answers

9

Contributors metainfo: reputation and more

Asked by Oleg Komarov on 8 Feb 2011
Latest activity Edited by Stephen Cobeldick on 2 Jul 2019
As asked by Vieniava in "How to make a list of user's reputation?", some of us came up with interesting ideas on how to fill an updated list with the reputation scores of the contributors to Answers.
I took the initiative to compile a public list of users with meta info:
  • position (desc ordering by reputation)
  • id
  • nickname (truncated to fit the page)
  • reputation
  • # of comments
  • # of questions asked
  • % accept rate
  • # of posts answered
  • # of accepted answers
The code used to compile the list is available at the bottom.
EDIT
TMW team implemented a page with the metascores: http://www.mathworks.com/matlabcentral/answers/contributors
Please refer to it and congrats to the team!
Use this function to retrieve info from the link above:
function [metainfo, elapsedTime] = metainfo(type,order)
% METAINFO - Retrieve metainfo on contributors to www.matworks.com/.../answers
%
% METAINFO Retrieve data sorted by reputation in descending order
%
% METAINFO(TYPE,ORDER) Specify TYPE and sorting ORDER as
% type : 'reputation'
% 'questions'
% 'answered'
% 'accepted'
%
% order: 'asc'
% 'desc'
%
% Examples:
%
% % Standard call (rep, disc)
% info = metainfo;
%
% % Sort by question answered in descending order
% info = metainfo('an','d');
%
% See also: URLREAD, REGEXP
% Author: Oleg Komarov (oleg.komarov@hotmail.it)
% Tested on R14SP3 (7.1) and on R2009b. In-between compatibility is assumed.
% 28 feb 2011 - Created
tic
% Check # inputs
error(nargchk(0,2,nargin))
% Retrieve inputs
if nargin == 0
type = 'reputation';
order = 'desc';
end
if ~exist(type,'var')
sortTypes = {'reputation','questions','answered','accepted'};
type = sortTypes{strncmp(type,sortTypes,numel(type))};
order = 'desc';
end
if ~exist(order,'var')
orderTypes = {'asc','desc'};
type = orderTypes{strncmp(order,orderTypes,numel(order))};
end
% Build url string
url = ['http://www.mathworks.com/matlabcentral/answers/contributors?'...
'dir=' order '&sort=' type '&page='];
% First read
[page, ok] = urlread([url '1']);
% Catch number of pages to read
if ok
totcon = regexp(page,'>1 - 50 of (\d+)','tokens');
totcon = dataread('string',totcon{1}{1},'%d');
nPages = ceil(totcon/50);
else
error('Cannot read ".../contributors?page=1"')
end
% Loop over contributors pages
metainfo = cell(totcon,7);
metainfo(1:end,1) = num2cell(1:size(metainfo,1));
for p = 1:nPages
if ok
endpos = 50*p;
% Id, Rep
expr = '><a href="\/matlabcentral\/answers\/contributors\/(\d+)';
data = regexp(page, expr,'tokens');
if 50*p > totcon; endpos = 50*(p-1)+numel(data); end
metainfo(1+(p-1)*50:endpos,2) = [data{:}];
% Nickname
expr = ['"Reputation: (\d+)">([\w\ ' reshape([repmat(92,1,137);33:59,61:64,91:97,123:126,161:255],1,[]) ']+)</a></h2>'];
data = regexp(page, expr,'tokens');
metainfo(1+(p-1)*50:endpos,[4,3]) = cat(1,data{:});
% Qcount, Ans, Acc
data = regexp(page, '<span >(\d+)</span>[A-z<>"-\s\/]+','tokens');
metainfo(1+(p-1)*50:endpos,5:7) = reshape(cat(1,data{:}),3,[]).';
else
error('Metainfo import stopped. \nCannot read ".../contributors?page=%d"',p)
end
[page, ok] = urlread([url sprintf('%d',p+1)]);
end
% Convert to doubles
metainfo(:,[2,4:7]) = cellfun(@str2double,metainfo(:,[2,4:7]),'un',false);
elapsedTime = toc;

  8 Comments

I subcontract out my sleep to villages in developing countries, through an Eco-Trade Network.
Vieniava, I was wondering the same thing.
Does the above code still worK?
I still get the following error message:
>> [metainfo, elapsedTime] = metainfo('reputation','asc')
??? Error using ==> reshape
Product of known dimensions, 3, not divisible into total number of elements, 200.
Error in ==> metainfo at 82
metainfo(1+(p-1)*50:endpos,5:7) = reshape(cat(1,data{:}),3,[]).';

Sign in to comment.

79 Answers

Answer by Walter Roberson
on 2 Mar 2011
 Accepted Answer

Congratulations to Matt Fig for making it to 500 before I made it to 1000! He increased from 388 to 501 in about a day and a half, during which time I only increased from 901 to 966.
Numerical projections last night based upon answer acceptance rates were that it would take another 1310 questions answered each before he caught up, so clearly his solutions have been found vote-worthy.

  5 Comments

So it turns out Steven Lord was right, that reputations do not "wrap" at 65536...
Congratz! Next test at max uint32 ;-)
Next test is at max int32 :-)

Sign in to comment.


Answer by Stephen Cobeldick on 25 Feb 2019

Congratulations to John D'Errico for reaching 10,000!
And with only 1520 accepted answers too... impressive.

  7 Comments

Big congratulations, John! What an amazing milestone.
Thank you. Reputation is not my goal on Answers. Solving problems is the goal in my eyes, and I do my best to not let reputation cloud my thinking in any way. Anyway, rep just happens when you are not looking.
(Answers Dev) Congratulations! Thank you so much for your efforts in Answers!

Sign in to comment.


Answer by Sven
on 5 Feb 2012
Edited by Sven
on 1 Mar 2014

Recent news:
... and BAM! Walter hits 25,000! Congratulations are in order again. It's impressive to see, but depressing to compare :)
Timeline:
that was 10,000 on 2012-02-05
and then 15,000 on 2012-07-21
and then 20,000 on 2013-03-02
and then 25,000 on 2013-11-09
The countdown to 100,000 continues...
Original:
Has it been noted yet that Walter has reached five figures in reputation? Wow!
Congratulations on 10000 Walter!
Cheers, Sven.

  61 Comments

Well a lot of Walter's answers have actually been in places where they could earn no points, such as in a comment to someone else's answer, or in a comment to the poster up at the top. So changing that could get you back up to your normal warp speed pace.
I took some time off to play some random computer games.
Jan
on 3 May 2019
For some years I've voted for any working solution and nice Matlab code. I admit that I have reduced my voting frequency without a good reason.

Sign in to comment.


Answer by Rena Berman on 10 Apr 2017

(Answers dev) Congrats to Star Strider who passed 20,000 points!

  4 Comments

Show 1 older comment
Congratulations
Thank you, all!
Jan
on 30 Nov 2017
@Star Strider: After I've read this in your profile message:
MATLAB Answers: Third participant to achieve 20,000 Reputation
(09 Apr 2017)
I thought of inserting this in mine:
MATLAB Answers: First participant to achieve 20,000 Reputation
after Star Strider (02 Oct 2017)
Unfortunately I'm not funny, therefore I left it. ;-)

Sign in to comment.


Answer by Rena Berman on 2 Oct 2017

(Answers dev) Congrats to Jan Simon who passed 20,000 points!

  6 Comments

Congratulations, Jan!
+1 for Jan Simon!
Super! You Jan and Walter - my MATLAB's mentors!

Sign in to comment.


Answer by Rena Berman on 29 Jan 2018
Edited by Rena Berman on 29 Jan 2018

(Answers Dev) Congratulations to Star Strider for reaching 25000 points and the Grand Master badge!! Thank you so much for all of your efforts in MATLAB Answers!

  4 Comments

Show 1 older comment
Well done!
Congratz Star!
Thank you!

Sign in to comment.


Answer by Rena Berman on 19 Oct 2018

(Answers dev) Congrats to our newest MVP, Fangjun Jiang, who achieved 5000 points and the Ace badge! (The MVP status change will be reflected on November 1st.) Awesome!

  1 Comment

Congratulations Fangjun Jiang! Welcome to the club :)

Sign in to comment.


Answer by Rena Berman on 28 Nov 2018

(Answers dev) Congratulations to Madhan Ravi our newest (and probably fastest) rising star to get editor status at 3000 reputation points! Thank you so much for your efforts in answers!

  6 Comments

Thank you everyone!
Rik
on 29 Nov 2018
Congrats with this milestone. If you keep this up you'll overtake Walter within a year or two ;)
Thank you , I don't think so Rik there are many milestones and sir Walter is a Matlab Legend (GOAT) - the patience and the humbleness that he has is extraordinary!

Sign in to comment.


Answer by the cyclist
on 23 Nov 2015

I'd forgotten about this thread, but I serendipitously ran across it with good timing. I'll toot my own horn a bit, and mention that I passed 5000 reputation, and also sneaked back in to the Top 10 contributors.
I'll take the opportunity to thank all the mega-contributors. While I know I have some expertise in certain corners of the MATLAB universe, I'm regularly humbled when I see the knowledge that other people have!

  0 Comments

Sign in to comment.


Answer by Star Strider
on 4 Jul 2017

Congratulations to Guillaume who achieved 10000 Reputation Points today!

  1 Comment

Well, belated congratulations as I spot this comment now!

Sign in to comment.


Answer by Rena Berman on 25 Oct 2017

(Answers dev) Congratulations to Stephen Cobeldick who passed 10,000 points and earned the Master Badge!

  10 Comments

What other superpowers does it offer ?
Points are convertible to bitcoin
... just kidding, .. wait a minute --> tada.
Congratulation, Stephen! +1.

Sign in to comment.


Answer by Rena Berman on 26 Oct 2017

(Answers dev) Congratulations to Andrei Bobrov who also passed 10,000 points and earned the Master Badge!

  7 Comments

Thank you very much, my Friends!!!
Congratulations, Andrei!
KL
on 27 Oct 2017
Congrats Andrei and Congrats Stephen!

Sign in to comment.


Answer by Rena Berman on 3 Oct 2018

(Answers Dev) Congratulations to Stephen Cobeldick for reaching 15,000 points in Answers! Thanks for all of your efforts in MATLAB Answers!

  5 Comments

(Answers dev) You are most welcome!
Congratulations, Stephen! This is an amazing milestone. Thanks for your outstanding contributions to the community.
Jan
on 6 Oct 2018
@Stephen: In addition you have 25'000 real life points for all the programmers who learned how to avoid eval. You saved a lot of my time also, because I can post a link to your famous thread instead of starting the next fruitless discussion. :-) Thanks again!

Sign in to comment.


Answer by Rena Berman on 15 Oct 2018

(Answers Dev) Congratulations to KSSV who has passed 10,000 points and got the Master badge!!! Thank you for all of your efforts in MATLAB Answers!

  4 Comments

Show 1 older comment
Congratulations to KSSV for achieving this milestone. We have a new Master.
Well done KSSV! Thanks for being part of the Answers community.
Well done! It was a lot of work to get there!

Sign in to comment.


Answer by Oleg Komarov on 12 Feb 2011

EDITED: deleted content (old and replaced by Contributors page)

  11 Comments

Looks like I'm slowing down -- barely 300 more reputation points earned in the last two weeks. Matt is accelerating, though!
Walter, sleeping too much lately :D!
Jan
on 4 Oct 2015
@Walter: Sorry, I stopped voting for answers because I got the feeling, that voting is old-fashioned in this forum.

Sign in to comment.


Answer by Oleg Komarov on 13 Feb 2011

EDITED: deleted content (obsolete code, replaced in first post)

  2 Comments

Nice function, but the charData output runs into trouble if the user name is longer than 29 characters - as is true for user #1695138.
Yes, I know. I was working on a semidefinite version of a single function...but really don't have time (especially to test it) to update now.

Sign in to comment.


Answer by Matt Tearle
on 4 May 2011

Various congratulations are in order.
  1. Walter's 1500th answer
  2. Walter breaking 2500 rep
  3. Matt Fig's 500th answer
  4. Paulo breaking 1000 rep (OK, jumping the gun, but it's imminent)
  5. Jan's 100th accepted answer
  6. Jan breaking 800 rep
  7. Andrew stealing 5th place
  8. Sean's 300th answer
  9. My 300th answer, but most important of all...
  10. My rep reaching the appropriate value of 666. Mwahahahaha!!!!

  5 Comments

Congrats to Paulo for (factually) reaching 1001!
yay! thanks Walter although the number still means nothing to me besides that I'm spending too much time here :(
7. Wait - stealing? I paid the admins good money!

Sign in to comment.


Answer by Walter Roberson
on 3 Aug 2011

Congratulations to Jan Simon for reaching 1517 reputation, and thus becoming our newest Community Editor in Waiting!

  1 Comment

Jan
on 4 Aug 2011
Thanks, Walter. Now I'm not waiting just seconds for the characters to appear, but also hours, days, weeks and month until this problem is fixed. Now I'm waiting for something more?! Nevertheless, I like MATLAB Answers.
I'm not sure if a fixed limit is really helpful. I think the TMW team should decide this dynamically.

Sign in to comment.


Answer by Daniel Shub
on 4 Mar 2012

I am not sure but I don't think Andrei, Kaustubha, or IA got their props for making it to editor.
Congratulations to Sean de for passing Matt and moving into 4th.
I cannot tell if Jan's jump was earned or magical, but well done getting past 5000.

  4 Comments

Show 1 older comment
I hear angels singing ...
I don't know what props are unless you're talking about regionprops(). I also don't know that I'm an editor - I've never gotten notice of that and don't see any special links on any Answers page for "us editors." I'm #10 on the list - how high do you need to get to get special privileges?
Props: 'Slang term for "accolades", "proper respect", or "just dues".'
Editor: last time I checked, they had to enable each person individually. Not just by setting a flag either: it seemed to require a downtime.
There is no special sign or sigal marking editor status: the main way to know that you have it is that suddenly there is a Delete control for _all_ content. Oh yes, and also a big black button with glowing black lettering that says, "Do not click this!" (Urrr, sorry about that last system crash!)

Sign in to comment.


Answer by Daniel Shub
on 12 Dec 2012

Azzi Abdelmalek is the first to cross the old editor boundary (1500 rep) and now is in excess of 1600 rep. Well done.

  1 Comment

Congratulations to Azzi, who has just passed 12345 !

Sign in to comment.


Answer by Jan
on 20 Dec 2012

Dear Walter,
10'000 answers are a large and great piece of work!
Thanks.

  5 Comments

Jan reached 1000 Accepted Answers. I remember that was a difficult milestone to reach, representing a lot of work.
Jan
on 18 Jan 2013
Yeah. I've written 2460 not accepted answers. Some of them belong to threads I've posted multiple answers in, some of them are simply wrong (and Walter found the problems frequently - thanks!), some of them have been off topic because I always try to see the deeper sense behind a question, some of them are ignored, but in most cases other answers have been better.
Did somebody found out how to inject SQL code in the interface to solve questions like: Number of my unaccepted and unvoted answers, or ratio of comments to questions to comments to answers ?
Don't they do that kind of thing in the Trendy forum? (BTW I meant Accepted answers.)

Sign in to comment.


Answer by Image Analyst
on 8 Jun 2014

Congratulations to per who passed 2000 points a few days ago. And congratulations to Star Strider who just surpassed 2000 points last night.
Not only have they given excellent and extremely thorough answers with an extraordinarily high acceptance rates, but they're also enthusiastic fighters in the war against spam in this forum. These extra points will help combat spam since they can now edit the questions to delete the spam content. Another 1000 points and they'll be able to delete the spam entirely, so keep it up Star and per. Hopefully Greg Heath, James Tursa, dpb, Cedric Wannaz, and Roger Stafford will also move up soon.

  44 Comments