Author Topic: httpai!  (Read 5845 times)

0 Members and 1 Guest are viewing this topic.

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
httpai!
« on: July 08, 2006, 12:49:30 pm »
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 =):
Code: [Select]
<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.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: httpai!
« Reply #1 on: July 08, 2006, 03:05:39 pm »
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

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. 

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: httpai!
« Reply #2 on: July 10, 2006, 07:41:24 am »
Sadly this idea reminds me of something Joe would do. Hehe.
Me too.

I'd like a copy!
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: httpai!
« Reply #3 on: July 15, 2006, 03:35:16 am »
Incidentially, you forgot to send BRAIN.DAT along with it. :)
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: httpai!
« Reply #4 on: July 15, 2006, 09:34:19 am »
it creates it 8P
Chucks Blog
JavaOp2 Plugins

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

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: httpai!
« Reply #5 on: July 31, 2006, 07:33:11 pm »
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
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: httpai!
« Reply #6 on: August 06, 2006, 09:33:54 am »
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.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: httpai!
« Reply #7 on: August 06, 2006, 07:54:03 pm »
It's idiocy is nowhere near artificial.
I'd personally do as Joe suggests

You might be right about that, Joe.