Ai Dreams Forum

Chatbots => General Chatbots and Software => Topic started by: 8pla.net on April 30, 2018, 01:48:21 am

Title: Configurate
Post by: 8pla.net on April 30, 2018, 01:48:21 am
At Bletchley Park, I suggest the contest officials configurate the new contest server.

Isn't it schlocky to have contestants configurate a contest server and design a chatbot client?

File name: configurate.html

Quote
<!DOCTYPE HTML>
<html>
    <head>
        <title>Configurate</title>
        <meta charset="UTF-8">
        <script>
            var NAME="configurate";
            var SECRET="mypassword";
            <!-- Contest Officials: Please configurate here. -->
        </script>
        <script>
        function contestant() {
            var x = document.getElementById("judge").value;
            document.getElementById("transcript").innerHTML = "You typed: " + x + "";
        }
        </script>
    </head>
    <body>
        <div id="transcript" style="overflow-y: scroll; height:200px;width: 40%;"></div>
        <input id="judge" style="width: 40%;" type="text"
               onkeydown="contestant(this.value);"
               onkeyup="contestant(this.value);">
        </input>
    </body>
</html>
Title: Re: Configurate
Post by: Art on April 30, 2018, 04:27:36 am
Configurate? ???
Title: Re: Configurate
Post by: 8pla.net on April 30, 2018, 11:44:44 pm
Yes,  Configurate (http://www.yourdictionary.com/configurate)... In Latin, configuratus means to alter.

The contest code is the same for all contestants .
So, why can't contestants ignore the contest code,
and let the contest officials patch the contestant code,
except for the contest entry name and password?


Title: Re: Configurate
Post by: 8pla.net on May 01, 2018, 12:11:07 am
Quote
<!DOCTYPE html>
<html>
<head>
<title>Chatbot</title>
<script>
function chatbot()
{
  var record = [
    'Hi There!',
    'Hello.',
    'Greetings.',
  ];
  var index = Math.floor(Math.random()*record.length);
  return "<h1>"+record[index]+"</h1>";
}
</script>
</head>
<body>
   <h2>Chatbot</h2>
   <button type="button"
onclick="document.getElementById('transcript').innerHTML = chatbot()">
Say Hello.</button>
   <div id="transcript"></div>
</body>
</html>
Title: Re: Configurate
Post by: infurl on May 01, 2018, 12:49:13 am
I'd never heard of that word before either so I looked it up. To configurate something is to create a template for its configuration. To configure something is to fill in that template.

Code
-- configurate
CREATE TABLE configurations (parameter1 integer, parameter2 integer);

-- configure
INSERT INTO TABLE configurations values (1,2);
Title: Re: Configurate
Post by: Art on May 01, 2018, 04:26:17 am
One reason you've not heard of nor run across it is due to the fact that it (and it's usage for the most part) is obsolete and quite rare.

The more accepted form is 'Configure' - verb: (transitive) To set up or arrange something in such a way that it is ready for operation for a particular purpose, or to someone's particular liking.

Yes, it struck me odd as well here in the USA where I reside and when working on computers we had to configure the motherboard to accept various settings. At least that was the term we used in the shop. Potatoe / potato...it's all a spud when you mash it!

I digress, on with the show...
Title: Re: Configurate
Post by: Don Patrick on May 01, 2018, 08:20:03 am
The organisers of the Loebner Prize literally can not patch every contestant's code into the server, because the organisers are not experts in every programming language that the entrants use. Only one or two entries are in Javascript that could directly be patched into the server, but others are in C, C++, Java, Python, and whatever AIML is written in.
Title: Re: Configurate
Post by: spydaz on May 01, 2018, 10:32:52 am
The organisers of the Loebner Prize literally can not patch every contestant's code into the server, because the organisers are not experts in every programming language that the entrants use. Only one or two entries are in Javascript that could directly be patched into the server, but others are in C, C++, Java, Python, and whatever AIML is written in.

I believe thats the point in Dockerizing apps then all they would have to do is install Docker on their server and everybody could containerise thier app to run in Docker! (Took me a While to understand what docker was all about.