Rosetta Code:Village Pump

From Rosetta Code
This is the new place for Rosetta Code community activity. To start a new "thread", just append a "/" to the end of the URL of this page and give your thread a short title. On the new topic page add
{{Vptopic
|topic=Title
|summary=Summary of the topic
}}
substituting your topic title for "Title" and a summary for "Summary of the topic".
 SummaryModification dateThis property is a special property in this wiki.
Village Pump/Why not give a separate page to each language for each taskI am new here, sorry if this question have been already discussed.

Why don't give a separate page for each implementation for each task?

Then you can discuss each implementation separately, watch only implementations in your favorite languages ignoring the others, include all implementations for a given language on one page. --Alexei Kopylov 16:03, 10 November 2017 (UTC)
22 May 2018 14:38:37
Village Pump/Small BAsicMicrosoft Small Basic doesn't appear in the language section17 May 2018 18:58:35
Village Pump/Add link anchors to Language Category pagesSuggestion to add Anchors to specific language examples24 January 2018 17:09:18
Village Pump/CAPTCHA problemswiki reporting socket error when attempting to test CAPTCHA responses.25 December 2017 09:06:36
Village Pump/Whoa! 10000 examples!Rosetta Code reaches 10000 entries14 November 2017 06:19:21
Village Pump/Did I implement this new task correctlyRE: Implementing new tasks24 August 2017 22:01:42
Village Pump/Image uploadsRelating to upload of images to Rosetta Code22 July 2017 19:39:33
Village Pump/Category IntersectionsFinding pages in the intersection of two or more categories12 June 2017 20:26:26
Village Pump/Syntax highlightingDiscuss issues related to the Syntax Highlighting system here. The old page got huge, and it became hard to discern what problems were current.13 May 2017 14:21:43
Village Pump/LibRC, A Library for RosettaCode CodeI wish to take all the code segments on RosettaCode that can be libified and turn all of it into a one-stop shop library for anyone to use. (The only problem is I don't know some of the languages on here and so need contributors!)29 September 2016 12:33:06
Village Pump/Repairing invisible formulae58 tasks still have formulae that have accidentally been made invisible to most browsers, mostly during a campaign of under-tested cosmetic edits over the last six months. Volunteer repair work welcome. The full list is at http://rosettacode.org/wiki/User_talk:Hout24 September 2016 11:38:02
Village Pump/CSS problem with Progress languageThe CSS for the Chamelion Theme has a conflicting CSS directive9 July 2016 01:43:47
Village Pump/tasks descriptions onlyHow to get a list of programming tasks *without* solutions21 May 2016 04:55:15
Village Pump/Please appoint more Moderators!The number of active bureaucrats / moderators appears to be 1. 2!30 March 2016 07:46:27
Village Pump/Adding transclusion pluginSuggestion to add an existing mediawiki plugin, Transclusion, to address other village pump topics5 December 2015 06:03:51
Village Pump/RC extraction Tool and TaskExtracting material from RC specific to one language26 October 2015 12:03:08
Village Pump/Sort popular pump pagesA Python implementation of pump sorting code.25 October 2015 06:09:18
Village Pump/Phix geshi filenew syntax file25 October 2015 01:03:32
Village Pump/SMW Examples by language and conceptDiscussion and planning for using SMW to organize/tag examples by language and concepts demonstrated by that example7 October 2015 20:56:14
Village Pump/Crafting short checklistsChecklists improve airline safety and reduce mortality in thoracic surgery. They could facilitate excellence on Rosetta Code, but would need to be short.14 September 2015 23:12:35
Older topics...

Hi, sorry to post this here but I don't know a better place. I wanted to create a new proposed task "Create statically-validated API" but it's impossible to create a page without solving a captcha, and the browser I use doesn't show the captcha (I was able to create this account using a phone browser, but that's no good for entering much text or code). Maybe someone can move it to the right place? (Added: I also had to de-link the urls to bypass the captcha).

By the way I find this site a huge pain to use because of the captchas. Email verification for account creation is likely to be enough.

create statically-validated API[edit]

This is a challenge proposed by Tony Morris here:

blog.tmorris.net/posts/understanding-practical-api-design-static-typing-and-functional-programming/

It is only for statically-typed languages and the challenge is to implement a Tic-tac-toe API that supports operations like starting a game, making a move, and seeing who won, where invalid arguments (such as asking who won an unfinished game) are rejected by the compiler as compile-time type errors. So it is mostly a test of how expressive the language's type system is.

A Haskell solution (not by me) is here:

github.com/tismith/tictactoe-haskell/blob/master/Tictactoe.hs

Further discussion and links to some other solutions:

github.com/data61/fp-course/blob/master/projects/TicTacToe/TicTacToe.markdown