Playing with AI ideas

  • 11 Replies
  • 347 Views
*

cymbod

  • Roomba
  • *
  • 14
    • Cymbod
Playing with AI ideas
« on: February 07, 2019, 11:31:24 am »
Hello, artificial intelligence has caught my imagination, so I am playing around with concepts.

I code in perl 5, which is a language I like because it is stable and the freedom it gives me to design/code. 

This forum seems to be one of the best out there on AI, and so here I am to learn and share ideas.


*

Korrelan

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1195
  • Look into my eyes! WOAH!
    • YouTube
Re: Playing with AI ideas
« Reply #1 on: February 07, 2019, 11:58:34 am »
Welcome Cymbod.

There are loads of great projects and insights in the archives.

 :)
It thunk... therefore it is!... my project page.

*

cymbod

  • Roomba
  • *
  • 14
    • Cymbod
Re: Playing with AI ideas
« Reply #2 on: February 07, 2019, 12:08:23 pm »
Hi Korrelan.  Thanks for the welcome.  I am slowly exploring this forum, and I will head over to the archives. 

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6514
  • Mostly Harmless
Re: Playing with AI ideas
« Reply #3 on: February 07, 2019, 12:38:58 pm »
Hello and welcome  :)

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Global Moderator
  • *********************
  • Deep Thought
  • *
  • 5257
Re: Playing with AI ideas
« Reply #4 on: February 07, 2019, 06:42:47 pm »
Nice to have you with us Cymbod! Enjoy your journey!  O0
In the world of AI, it's the thought that counts!

*

8pla.net

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1123
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Playing with AI ideas
« Reply #5 on: February 07, 2019, 07:41:11 pm »
Perl is one of the best choices for A.I.
Great regular expressions support,
and cgi/bin runs fast over the web.

Seen a few good A.I. projects in Perl. 
RiveScript used Perl to clone Alicebot.

Loebner Prize judge program was
originally written in Perl.

And, there have been other good
A.I. projects in Perl too, such as
the Eliza perl module.

Perl is good... Good choice.  O0
My Very Enormous Monster Just Stopped Using Nine

*

cymbod

  • Roomba
  • *
  • 14
    • Cymbod
Re: Playing with AI ideas
« Reply #6 on: February 08, 2019, 08:12:33 am »
@ 8pla.net I love Perl 5, it is unfortunate it is no longer taught in many schools and colleges.

@ Freddy and Art Thanks for the welcome  :)

*

Hopefully Something

  • Mechanical Turk
  • *****
  • 191
  • So where are these cookies?
Re: Playing with AI ideas
« Reply #7 on: February 08, 2019, 09:39:32 am »
Oh shoot! Where are my manners? Nice to have you join, cymbod.

Question from someone who knows next to nothing about programming. Do pearl and other more professional programming languages have the same inefficient time consuming format, and unforgiving attitude towards errors as the basic, and c++ that those poor teachers are attempting to teach me in college? Or have they managed to file off the rough edges in more modern languages?

*

cymbod

  • Roomba
  • *
  • 14
    • Cymbod
Re: Playing with AI ideas
« Reply #8 on: February 08, 2019, 06:36:51 pm »
@ Hopefully Something. Hi, thanks, this is a great site.

Perl 5 is good in that it does some checks on the code as it runs the code, and then gives a rough idea where and what the problem is. I try to keep my coding simple and well commented, coding and testing the code in small stages.  Not only can what I coded crash, but it can create unexpected results, or even compromise security through bad coding. 

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Global Moderator
  • *********************
  • Deep Thought
  • *
  • 5257
Re: Playing with AI ideas
« Reply #9 on: February 09, 2019, 04:09:47 pm »
@ 8pla.net - Congrats!!
Only 1111 more to go to reach that elusive 2222 ! O0
In the world of AI, it's the thought that counts!

*

8pla.net

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1123
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Playing with AI ideas
« Reply #10 on: February 09, 2019, 04:59:44 pm »
Bingo!

Post# 1111

  :D



My Very Enormous Monster Just Stopped Using Nine

*

8pla.net

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1123
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Playing with AI ideas
« Reply #11 on: February 10, 2019, 04:44:39 am »
Getting back on topic...  Let's write some Perl code.

Code: [Select]
#! usr/bin/perl
print "Say something...";
chomp ($something = <>);
if ("$something" =~ /HELLO/gi) {
    print "Hello there!\n";
}
else {
    print "You said, \"$something\" just now!\n\n";
}

Program Output:



#> perl bot.pl

Say something... Hello

Hello there!

You said, "Hello" just now!



_________________________________________________
« Edit Notes: Slight adjustment to the Perl code.
« Last Edit: February 10, 2019, 11:39:57 pm by 8pla.net »
My Very Enormous Monster Just Stopped Using Nine

 


Take a tour, have your fortune told
by Art (Bot Conversations)
Today at 02:33:46 pm
XKCD Comic : Launch Conditions
by Tyler (XKCD Comic)
Today at 12:01:01 pm
OPEN AI - TOO DANGEROUS TO RELEASE TO THE PUBLIC
by Don Patrick (General AI Discussion)
Today at 11:42:49 am
What were you thinking?!
by toborguy (General AI Discussion)
February 20, 2019, 08:54:13 pm
Introduction
by LOCKSUIT (General Robotics Talk)
February 20, 2019, 06:03:31 pm
XKCD Comic : Physics Suppression
by Tyler (XKCD Comic)
February 20, 2019, 12:00:58 pm
XKCD Comic : Error Bars
by Hopefully Something (XKCD Comic)
February 20, 2019, 05:26:29 am
XKCD Comic : Night Shift
by Tyler (XKCD Comic)
February 19, 2019, 12:00:39 pm

Users Online

80 Guests, 0 Users

Most Online Today: 138. Most Online Ever: 259 (February 07, 2019, 07:00:00 am)

Articles