Perhaps another challenge might be to translate the Machine Learning tutorials here (http://burakkanber.com/blog/machine-learning-in-other-languages-introduction/) from Javascript to Unicon.
Steve -------------------------------------------- On Fri, 1/31/14, David Gamey <david.ga...@rogers.com> wrote: Subject: [Unicon-group] 1st Rosettacode challenge To: "UniconGroup" <unicon-group@lists.sourceforge.net> Date: Friday, January 31, 2014, 1:01 PM Folks, Rosettacode is a programming chrestomathy site that hosts solutions to hundreds of "tasks" in hundreds of programming languages. Unicon is well represented thanks to the efforts of several of our volunteers. In an effort to better represent Unicon on Rosetta and to possibly provide readers of this list with an interesting distraction, I propose the first of what I hope will be a regular programming challenge. The Playfair cipher is a diagram substitution cipher invented in the late 1800's. It uses a 5 x 5 block of letters constructed from the alphabet using a prearranged key such as a word or phrase. Typically either I and J are used interchangeably or Q is omitted to make the square. An example (from memory and by hand) using the key: First Unicon Rosetta Code Challenge Made unique and caps yields: FIRSTUNCOEADHLG Made into a block with the rest of the alphabet: FIRST UNCOE ADHLG BKMPQ VWXYZ Messages must be padded to an even number of characters. So "Try it" becomes "TR YI TX" Enciphering uses different rules for letter pairs forming a rectangle, a row, or a column. TR (a row) enciphers as FS YI (a rectangle) enciphers as WS TX (a rectangle) enciphers as RZ Any old language can encode these rules as a matrix/array look-up problem. I suspect there are several clever Uniconish ways to do this. And that is the challenge. Find an interesting Uniconish solution to the Playfair task. The official task page http://rosettacode.org/wiki/Playfair_cipher Wikipedia article on Playfair http://en.wikipedia.org/wiki/Playfair_cipher If you need help with the wiki formatting of following the Unicon template there are lots of examples. Also Steve or I could help out as well. If you haven't checked out the site, it's well worth it. Unicon on Rosetta http://rosettacode.org/wiki/Unicon Tasks that haven't been completed in Unicon can be found at http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_Unicon Have fun. David -----Inline Attachment Follows----- ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group