News:

So the widespread use of emojis these days kinda makes forum smileys pointless, yeah?

Main Menu

httpai!

Started by chuck, July 08, 2006, 12:49:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chuck

Just another thing like the chatterbot plugin for javaop2, except it runs a mini webserver which you can chat to the bot through.
Simply java -jar httpai.jar brain port. Made it to learn sockets in java, and it has served me well. Post here if you want a copy. =)

Example output (Save it as index.html and double click =):

<html>
<head><title>HTTPAI 1.0</title></head>
<body>
<h1>Chat with me!</h1>
<hr />
(You) Dumb idiotic bot<br />
(Bot) OK SO HOW ARE YOU<br />
<br />
<form method="GET" action="/index.html">
<input type="text" name="textarea" />
</form>
<hr />
</body>
</html>
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Newby

Sadly this idea reminds me of something Joe would do. Hehe.
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Joe

Quote from: Newby on July 08, 2006, 03:05:39 PM
Sadly this idea reminds me of something Joe would do. Hehe.
Me too.

I'd like a copy!
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Joe

Incidentially, you forgot to send BRAIN.DAT along with it. :)
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


chuck

Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Joe

First off, the AI isn't all that intelligent. :)

Second, if anyone wants to try this out, the port is :8080. It took me somewhere around an hour and a half fooling around with paths and extensions and reading disassembled Java code (sorry) to figure it out. :P
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


chuck

Guess i shoulda mentioned its a quick hack thats been slightly polished :P

And its an AI: Artifical Idioticy

:P
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Joe

It's idiocy is nowhere near artificial.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.