Talk:RC POP.OUT: Difference between revisions

Content added Content deleted
m (→‎limit=5000: struck (out) after being moved.)
(→‎language popularity: added comments to talk sections.)
Line 4: Line 4:


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


Why was this Rosetta Code task definition/requirements changed?

The following text was deleted:
<pre>
Sort most popular programming languages based in number of members in Rosetta Code categories.
<br>(from http://www.rosettacode.org/mw/index.php?title=Special:Categories&limit=5000)
</pre>

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


:[[User:Gerard Schildberger|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. -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk:3havj7t3nps8z8wij3g9|talk]]) 19:25, 27 May 2015 (UTC)
:[[User:Gerard Schildberger|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. -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk: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.) &nbsp; 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:
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
::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. -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk:3havj7t3nps8z8wij3g9|talk]]) 20:59, 27 May 2015 (UTC)
Then check the gcmcontinue code at the top to cycle through each additional 500 results until complete. The Awk solution does this. -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk:3havj7t3nps8z8wij3g9|talk]]) 20:59, 27 May 2015 (UTC)

: As mentioned in the talk page for the Rosetta Code task &nbsp; ''Rank languages by popularity'', &nbsp;

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

:::: <big> ----- start of copied (quoted) material. ----- </big>

-----

:According to [http://rosettacode.org/wiki/Category:A%2B 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+
:--[[User:Nigel Galloway|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. --[[User:AndiPersti|Andreas Perstinger]] ([[User talk:AndiPersti|talk]]) 13:18, 12 March 2014 (UTC)

-----

I took the task's requirements quite literally:
<br><br>''Sort most popular programming languages based in number of '''members''' in Rosetta Code categories''
<br> (from http://www.rosettacode.org/mw/index.php?title=Special:Categories&limit=5000)
<br><br>(The bold font was added by me.) &nbsp; Note that it didn't say &nbsp; '''implementations''', &nbsp; but &nbsp; '''members'''.
<br>I think that's what most people (most likely) thought that's what was wanted, but there ya have it. -- [[User:Gerard Schildberger|Gerard Schildberger]] 19:45, 26 January 2013 (UTC)

:::: <big> ---- end of copied (quoted) material. ---- </big)

-- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 00:55, 28 May 2015 (UTC)


<strike>
<strike>

==limit=5000==
==limit=5000==
The jq example uses limit=5000:
The jq example uses limit=5000: