Talk:Rosetta Code/Rank languages by popularity: Difference between revisions

Content added Content deleted
m (→‎wanted (no longer):   a complete list: updated the number of computer programming languages used on Rosetta Code based on the number of members.)
m (added whitespace.)
Line 1: Line 1:
==More task clarification requested==
==More task clarification requested==

My example (zkl) has been marked as incorrect. It uses the members field as the count. As does UnixPipes example (if I read it correctly). I checked my answer against the UnixPipes one and got the exact same results. I also note other examples yield the same results. What am I missing?
My example (zkl) has been marked as incorrect. It uses the members field as the count. As does UnixPipes example (if I read it correctly). I checked my answer against the UnixPipes one and got the exact same results. I also note other examples yield the same results. What am I missing?


Line 14: Line 15:
: Other pitfalls are that some programming languages are in different (letter) cases (Maple, MAPLE;   Gdl, GDL;   NewLISP, NewLisp;   etc.);   several languages use unicode character(s), others use different names, and still others aren't "registered" in Rosetta Code properly (such that they aren't recognized as a programming language).   Another big stumbling block is that most examples don't properly handle the ranking of tied languages. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:49, 12 March 2014 (UTC)
: Other pitfalls are that some programming languages are in different (letter) cases (Maple, MAPLE;   Gdl, GDL;   NewLISP, NewLisp;   etc.);   several languages use unicode character(s), others use different names, and still others aren't "registered" in Rosetta Code properly (such that they aren't recognized as a programming language).   Another big stumbling block is that most examples don't properly handle the ranking of tied languages. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:49, 12 March 2014 (UTC)
::It really does seem like this task needs additional verbiage such that it can be solved/implemented against the description rather than other implementation and "hidden" knowledge.
::It really does seem like this task needs additional verbiage such that it can be solved/implemented against the description rather than other implementation and "hidden" knowledge.


==task clarification==
==task clarification==
Line 22: Line 24:


: Note:   this is done by REXX. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:03, 30 September 2013 (UTC)
: Note:   this is done by REXX. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:03, 30 September 2013 (UTC)



==incorrect sample==
==incorrect sample==
Line 35: Line 38:
Regarding the sample output (as part of the task description) appears to be incorrect (as shown on March 24<sup>th</sup>, 2014.
Regarding the sample output (as part of the task description) appears to be incorrect (as shown on March 24<sup>th</sup>, 2014.
<br>It doesn't show the &nbsp; PARI/GP &nbsp; language entry (it's currently ranked 28th at 394 entries) and it was ranked approximately the same at that time by the REXX entry that was also executed at around the same time frame. &nbsp; Could it be that the solidus is goofing things up in the program? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:14, 24 March 2014 (UTC)
<br>It doesn't show the &nbsp; PARI/GP &nbsp; language entry (it's currently ranked 28th at 394 entries) and it was ranked approximately the same at that time by the REXX entry that was also executed at around the same time frame. &nbsp; Could it be that the solidus is goofing things up in the program? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:14, 24 March 2014 (UTC)



==Incorrect examples==
==Incorrect examples==

ALL examples, except Python "Working Solution" are not working. Please fix. --[[User:Guga360|Guga360]] 03:49, 29 July 2009 (UTC)
ALL examples, except Python "Working Solution" are not working. Please fix. --[[User:Guga360|Guga360]] 03:49, 29 July 2009 (UTC)
:How, exactly, are all other solutions "not working"? Please elaborate. --[[User:Glennj|glennj]] 10:12, 2 August 2009 (UTC)
:How, exactly, are all other solutions "not working"? Please elaborate. --[[User:Glennj|glennj]] 10:12, 2 August 2009 (UTC)
Line 57: Line 62:


I noticed about a handful of programming examples that "only" grabbed 500 languages. &nbsp; Now, when they were first entered (for the most part), there weren't 500 languages, but now there are over 500 languages. &nbsp; At least two examples were added after there were 500 languages. &nbsp; Are these (or should these) examples be considered as incorrect? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:16, 15 January 2014 (UTC)
I noticed about a handful of programming examples that "only" grabbed 500 languages. &nbsp; Now, when they were first entered (for the most part), there weren't 500 languages, but now there are over 500 languages. &nbsp; At least two examples were added after there were 500 languages. &nbsp; Are these (or should these) examples be considered as incorrect? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:16, 15 January 2014 (UTC)



==ALGOL 68==
==ALGOL 68==
Line 228: Line 234:
:::::::* ZX Spectrum Basic
:::::::* ZX Spectrum Basic
:::::::* &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:54, 16 May 2020 (UTC)
:::::::* &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:54, 16 May 2020 (UTC)



== Ruby example question ==
== Ruby example question ==
Line 238: Line 245:
(ary.length/n + 1).times {|i| yield ary[i*n,n]}
(ary.length/n + 1).times {|i| yield ary[i*n,n]}
end</lang>
end</lang>



== Redundant task? ==
== Redundant task? ==
Line 267: Line 275:


: And the downside is that the current XPath implementation relies on [http://sax.sourceforge.net/ SAX], and maintenance has gone so bad there that you can basically only use this J implementation on 32 bit J6.02. The underlying problems of standards decay and implementation decay has a lot of causes, but the bottom line might be that any technical solution relies partially on popularity for support and thus will fail sooner or later. I guess that means I (or, ok, someone else - but if you want something done right you need to take responsibility for accomplishing it) should come up with another J implementation. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 00:11, 10 April 2016 (UTC)
: And the downside is that the current XPath implementation relies on [http://sax.sourceforge.net/ SAX], and maintenance has gone so bad there that you can basically only use this J implementation on 32 bit J6.02. The underlying problems of standards decay and implementation decay has a lot of causes, but the bottom line might be that any technical solution relies partially on popularity for support and thus will fail sooner or later. I guess that means I (or, ok, someone else - but if you want something done right you need to take responsibility for accomplishing it) should come up with another J implementation. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 00:11, 10 April 2016 (UTC)



==wanted (no longer): &nbsp; a complete list==
==wanted (no longer): &nbsp; a complete list==
Line 563: Line 572:
<br><br>(The bold font was added by me.) &nbsp; Note that it didn't say &nbsp; '''implementations''', &nbsp; but &nbsp; '''members'''.
<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. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] 19:45, 26 January 2013 (UTC)
<br>I think that's what most people (most likely) thought that's what was wanted, but there ya have it. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] 19:45, 26 January 2013 (UTC)



==case of names of programming languages==
==case of names of programming languages==
Line 656: Line 666:
<br><br>Also added the unicode translation of &nbsp; '''╨£╨Ü-61/52''' &nbsp; (Cyrillic &nbsp; '''МК-61/52)''' &nbsp; into &nbsp; '''MK-61/52'''. -- [[User:Gerard Schildberger|Gerard Schildberger]] 20:24, 15 February 2013 (UTC)
<br><br>Also added the unicode translation of &nbsp; '''╨£╨Ü-61/52''' &nbsp; (Cyrillic &nbsp; '''МК-61/52)''' &nbsp; into &nbsp; '''MK-61/52'''. -- [[User:Gerard Schildberger|Gerard Schildberger]] 20:24, 15 February 2013 (UTC)
<br><br>REXX code for other unicode versions of programming languages have been added since then. -- [[User:Gerard Schildberger|Gerard Schildberger]] 19:45, 30 March 2013 (UTC)
<br><br>REXX code for other unicode versions of programming languages have been added since then. -- [[User:Gerard Schildberger|Gerard Schildberger]] 19:45, 30 March 2013 (UTC)



== Task suggestion for update ==
== Task suggestion for update ==
Line 669: Line 680:


:::Hi [[User:Paddy3118|Paddy3118]] - regarding Python I tried the current code but Rosetta Code returns "Access Denied" based on my "browser signature". It must see it as a bot. It's not my IP as Awk works using the same API call. Also had a "Segmentation Fault" when running the C code. Just posting in case you want to try if different results. -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk:3havj7t3nps8z8wij3g9|talk]]) 21:43, 27 May 2015 (UTC)
:::Hi [[User:Paddy3118|Paddy3118]] - regarding Python I tried the current code but Rosetta Code returns "Access Denied" based on my "browser signature". It must see it as a bot. It's not my IP as Awk works using the same API call. Also had a "Segmentation Fault" when running the C code. Just posting in case you want to try if different results. -- [[User:3havj7t3nps8z8wij3g9|3havj7t3nps8z8wij3g9]] ([[User talk:3havj7t3nps8z8wij3g9|talk]]) 21:43, 27 May 2015 (UTC)



==limit=5000==
==limit=5000==

The jq example uses limit=5000:
The jq example uses limit=5000:
<lang sh>'http://rosettacode.org/mw/index.php?title=Special:Categories&limit=5000'</lang>
<lang sh>'http://rosettacode.org/mw/index.php?title=Special:Categories&limit=5000'</lang>
Line 679: Line 692:
[[User:craigd|CraigD]] Wed, 29 Jul 2015 06:51:52 GMT: I noticed a problem while looking at the Nim example; there is a request limit of 500, while there are over 500 languages. Should this be bumped?
[[User:craigd|CraigD]] Wed, 29 Jul 2015 06:51:52 GMT: I noticed a problem while looking at the Nim example; there is a request limit of 500, while there are over 500 languages. Should this be bumped?
:{"warnings":{"categorymembers":{"*":"cmlimit may not be over 500 (set to 5000) for users"}
:{"warnings":{"categorymembers":{"*":"cmlimit may not be over 500 (set to 5000) for users"}



==why task change==
==why task change==
Line 754: Line 768:


FWIW, the Tcl solution uses <tt>regsub {^Category:} $name {}</tt> to get rid of the prefix, which seems safer than dropping the first 9 chars. I suggest Racket either do the same, or skip entries it cannot parse.
FWIW, the Tcl solution uses <tt>regsub {^Category:} $name {}</tt> to get rid of the prefix, which seems safer than dropping the first 9 chars. I suggest Racket either do the same, or skip entries it cannot parse.



== Surprising how many languages have no samples ==
== Surprising how many languages have no samples ==