Talk:RC POP.OUT

From Rosetta Code

language popularity

The REXX (program) that generates the output only lists those languages that have an entry.

Languages with no entry (no solutions) are not listed. -- Gerard Schildberger (talk) 02:01, 5 December 2013 (UTC)


Why was this Rosetta Code task definition/requirements changed?

The following text was deleted:

Sort most popular programming languages based in number of members in Rosetta Code categories.
(from http://www.rosettacode.org/mw/index.php?title=Special:Categories&limit=5000)

This change/deletion changes the very definition of what's being reported. -- Gerard Schildberger (talk) 00:55, 28 May 2015 (UTC)

Gerard Schildberger, would it make sense to include the zero-solution languages? That way we can compare with solutions from other languages and compare where the differences are. For example my current Awk solution is only giving 484 languages with > 0 solutions, but 574 total (the difference being the 0 solution languages). I'd like to see what your zero-solution languages are to help debug the problem. -- 3havj7t3nps8z8wij3g9 (talk) 19:25, 27 May 2015 (UTC)
(See my comments at the copied/quoted part of a talk page near the bottom of this talk secion.)   The REXX programming language entry shows the number of members (as per the Rosetta Code task), not the number of solutions.

Hello again. I looked into this further and it appears the problem may be with the REXX code? For example Category:80386 Assembly has 1 page, but REXX is reporting 4 pages. Probably the most reliable solution is to use the API to report how many pages are available. This shows the first 500 languages with corresponding page totals:

rosettacode.org/mw/api.php?action=query&generator=categorymembers&gcmtitle=Category:Programming%20Languages&gcmlimit=500&gcmcontinue=&prop=categoryinfo&format=txt

Then check the gcmcontinue code at the top to cycle through each additional 500 results until complete. The Awk solution does this. -- 3havj7t3nps8z8wij3g9 (talk) 20:59, 27 May 2015 (UTC)

As mentioned in the talk page for the Rosetta Code task   Rank languages by popularity,  

{The text below was copied wholesale from the talk section ==wanted: a complete list==   (at the very end of that section):}

----- start of copied (quoted) material. -----

According to its task page A+ has no tasks implemented. It seems as if a language with no tasks impelemented is treated as if it has three
rank: 441 (3 entries) A+
--Nigel Galloway 14:51, 26 January 2013 (UTC)
Using the number of members in a category is biased because most language categories have three subcategories ("X examples needing attention", "X Implementations" and "X User") which are also included in the count. Many (all?) languages that are listed with 3 members (like A+ or B) in the ranking actually don't have any task implemented. --Andreas Perstinger (talk) 13:18, 12 March 2014 (UTC)

I took the task's requirements quite literally:

Sort most popular programming languages based in number of members in Rosetta Code categories
(from http://www.rosettacode.org/mw/index.php?title=Special:Categories&limit=5000)

(The bold font was added by me.)   Note that it didn't say   implementations,   but   members.
I think that's what most people (most likely) thought that's what was wanted, but there ya have it. -- Gerard Schildberger 19:45, 26 January 2013 (UTC)

---- end of copied (quoted) material. ----

-- Gerard Schildberger (talk) 00:55, 28 May 2015 (UTC)


User:Gerard Schildberger, the list is one on popularity, per the title. The criteria may have been better worded, as always, but what's expected is popularity. As the 2013 discussion points out, the categories shouldn't be included as they don't measure popularity. -- 3havj7t3nps8z8wij3g9 (talk) 01:42, 28 May 2015 (UTC)

limit=5000

The jq example uses limit=5000: <lang sh>'http://rosettacode.org/mw/index.php?title=Special:Categories&limit=5000'</lang> This (together with the single-page query Category:Programming_Languages) seems like the simplest approach. Is there a problem with that? --Peak (talk) 21:09, 27 May 2015 (UTC)


Please note that all the above sections are the talk/discussion section for the (only) output section of the REXX language entry for the Rosetta Code task:   Rosetta Code (computer programming) task:     Rank_languages_by_popularity.   You may want to transfer this last particular section to the talk/discussion section of that Rosetta Code task. -- Gerard Schildberger (talk) 23:56, 27 May 2015 (UTC)

Moved to Talk:Rosetta_Code/Rank_languages_by_popularity#limit.3D5000 -- 3havj7t3nps8z8wij3g9 (talk) 00:02, 28 May 2015 (UTC)
"Struck"     <strike> ··· </strike>     (after being moved)   by:   -- Gerard Schildberger (talk) 00:25, 28 May 2015 (UTC)