Talk:RC POP.OUT: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
Line 6: Line 6:


:[[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)

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. -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk:3havj7t3nps8z8wij3g9|talk]]) 20:59, 27 May 2015 (UTC)

Revision as of 20:59, 27 May 2015

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)

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)

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)