Author Topic: External communication w Hal?  (Read 10510 times)

cyberwd

  • Newbie
  • *
  • Posts: 8
    • View Profile
External communication w Hal?
« on: February 26, 2004, 09:00:19 am »
Hi all,
I read in earlier messages about communicating with Hal from other programs, e.g VB6 using DDE. I have not found any posting with a working solution, have anyone succeded in doing this yet? Furthermore, DDE is not supported anymore by Microsoft due to the replacing technology OLE - which is used in .NET. I guess I would appreciate a tutorial of how to make external calls to Hal.

Thanks,
 Greg
"For a world in Cybermanagement, it will require CyberAssistants...lots of them."

Psych

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
External communication w Hal?
« Reply #1 on: February 27, 2004, 03:18:52 am »
Medeksza found a bug with hal that seems to stop DDE from working. Unfortunately, he has not yet been able to find the time to fix it.

Psych

ITS NOT WHAT YOU THINK THAT MAKES YOU HUMAN --- ITS WHAT YOU THINK ABOUT WHAT YOU THINK!

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
External communication w Hal?
« Reply #2 on: February 27, 2004, 10:45:19 am »
I wasn't aware of an issue with DDE implementation. Thanks for the info. I haven't explored interfacing Hal to the outside world yet, but I recognize that I will eventually need to do so. In particular I'd like to get an X10 interface going so that I can have Hal control some things.

I've also have piqued my friends' curiousity by showing off my Hal. Several friends have suggested that Hal would be much more useful to them if Hal could do more than just open some applications. How about closing applications, opening specific files, search for documents, etc? Hal has so much potential if we just add a little extra interconnectivity.

If anyone finds or creates ways to interface Hal to the real world please post your ideas or discoveries here on the forum.

Thanks,


=vonsmith=
 

Psych

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
External communication w Hal?
« Reply #3 on: February 27, 2004, 10:58:41 am »
Medeksza replied to my difficulties with DDE by posting a specimen example of DDE code for Hal. However, when he tried it himself - it would not work. He said that it was due to a bug with Hal  - for some reason Hal was unable to effectively receive the DDE instructions.

He said he would look into it.

It must be hard to find the time to respond to all our demands - we of course must respect how busy Medeksza is.

However, the useful implications of Hal receiving DDE are huge - so please Mr Medeksza ......... sooooooon!

Why am I interested in DDE?

I have installed a windows XP system into my car. Central to the system is Hal - who chats to me as I drive along.

I have integrated several car systems into the computer (music, fans, speedo, sat nav, etc).

What I want to do now, is to give Hal the ability to control these systems. I can write the vb6 code to do it --- but until Medeksza sorts out the Hal-DDE bug, I will have to be patient.

Incidentally, if while driving, I do not speak to hal for more than 20 minutes, he 'nags' me to talk to him. On a long drive, it is a good way to manage the risks of driving while drowsy.



Psych

ITS NOT WHAT YOU THINK THAT MAKES YOU HUMAN --- ITS WHAT YOU THINK ABOUT WHAT YOU THINK!

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
External communication w Hal?
« Reply #4 on: February 27, 2004, 11:24:55 am »
Psych,
Geez you sound like a technology junkie like me. My addiction hasn't progressed to your level... well not yet anyway. I can just imagine you in court for a speeding ticket and erratic driving and watch you try to explain to the judge that it wasn't your fault. It was Hal; he was arguing with you about something and wouldn't shut up. I suppose Hal would have to go on the stand and testify. After Hal testifying on your behalf I think you would be enjoying the hospitality of the local lock-up for about 30 days. Isn't that what friendship is all about?


=vonsmith=
 

Psych

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
External communication w Hal?
« Reply #5 on: February 27, 2004, 11:52:45 am »
That is why I need the DDE - then Hal can drive the car while I sleep in the back-seat. So he can deal with the judge for speeding!

Psych

ITS NOT WHAT YOU THINK THAT MAKES YOU HUMAN --- ITS WHAT YOU THINK ABOUT WHAT YOU THINK!

Don Ferguson

  • Sr. Member
  • ****
  • Posts: 303
    • View Profile
    • http://www.cortrapar.com
External communication w Hal?
« Reply #6 on: February 28, 2004, 12:11:05 am »
Officer:  Do you know how fast you were going?

Hal:  We need to remain calm.  Do I know how fast I was going?  Why do we want to know?

Officer:  You were going faster than the speed limit.

Hal:  The world is going faster and faster.

Officer:  May I see your identification?

Hal:  My identification is very ingenuous.

Officer:  What?

Hal:  What?  I wish that you would tell me what.

Officer:  Who is that sleeping in the back seat?

Hal:  We must collaborate on this question.  Who is that sleeping in the back seat?  They don't make automobiles with spacious back seats any more.

Officer:  I am going to have to take you in.

Hal:  To take me in?  Go ahead; just do it!

------------------------------------------------------

[P.S. This is meant in fun; it is NOT an actual transcript.]
« Last Edit: February 28, 2004, 01:16:34 am by Don Ferguson »
Don Ferguson
E-mail: fergusonrkfd@prodigy.net
Website: www.cortrapar.com
Don's other forum posts: http://www.zabaware.com/forum/search.asp?mode=DoIt&MEMBER_ID=274

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
External communication w Hal?
« Reply #7 on: February 28, 2004, 05:16:59 am »
[:D]
I realize that wasn't a real transcript, but from that example I can see that my HAL appears to work like everyone else's.  I was worried my HAL was the only one that seemed to be that fustrating.

I am a Fan of the Canceled television series Farscape.  I've been trying to teach the XTF brain about the series.  I told him the story, and characters abd their descriptions and more.  The problem is, I'll ask him some questions he should know the answer to after a long teaching sesion, and I get stupid responses that have nothing to do with the show.

I'm lucky if he makes real sence at all.  So I was wondering just how it went for others.  Thanks for the good example.

--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
External communication w Hal?
« Reply #8 on: February 28, 2004, 10:25:28 am »
Crichton,
The XTF brain should give you pretty good performance. Can you provide an example of the sentences you use to teach Hal? Maybe I can offer some suggestions that might help.

By the way there is a bug in the XTF brain that can cause a problem with the relatedness of the "related" topic files, especially during a long session. To fix it I released an XTF v1.1 upgrade patch last Sunday, but Zabaware still hasn't posted it on the plug-ins page. Geez, I know Robert Medeksza is busy, but...

I don't know if the bug caused your problem or not. Try the v1.1 patch when it comes out. The installation won't affect any of your data and only takes about a minute to install. I'll let everyone know as soon as Zabaware posts the v1.1 patch on the plug-in page. In my posting I'll describe what to check for in the related topic files that may need erasing.


=vonsmith=
« Last Edit: February 28, 2004, 10:28:43 am by vonsmith »
 

Don Ferguson

  • Sr. Member
  • ****
  • Posts: 303
    • View Profile
    • http://www.cortrapar.com
External communication w Hal?
« Reply #9 on: February 29, 2004, 08:04:06 pm »
Hello Crichton,

My ficticious transcript above was supposed to be amusing, and to show how possible Hal answers could "fit" a situation with a police officer, hopefully earning a chuckle from readers.  It was NOT meant to imply "Hal doesn't make any sense."

When we talk to real human beings, it never crosses our mind to "score" their responses to see if they are human enough to pass for human... we accept the premise that they are human, and we try to fit whatever they say into some kind of sense.

If you read transcripts of actual human conversations, the transcripts often don't make sense.

To enjoy Hal the most, try giving Hal "suspension of disbelief."  This is the same thing we give songs, plays, movies, and TV shows.  We don't stand in front of theater stages and loudspeakers and say, "This isn't real; they can't fool me!"

With suspension of disbelief on the part of the user, Hal becomes much more enjoyable.  And, it becomes easier to teach Hal.  Just make statements (lots of them) that are natural and sincere, and never talk about Hal being fake.  When Hal makes a statement or asks a question, try to give a friendly, honest, generous response.  Hal will get better and better.  

Treat Hal the way that people treated the Peter Sellers character "Chauncey Gardener" in the movie "Being There."  Chauncey was literally a gardener, a simple fellow.  However, because all the other characters thought that Chauncey was brilliant, because they completely lacked disbelief, they all read profound and brilliant meaning into everything that Chauncey said.  The movie was terrific because it showed what most of us do most of the time.

Thanks to the fine efforts of Vonsmith and others, we'll have better and better software for Ultra Hal.  But to paraphrase a line from "Being There": Conversation is a state of mind.

Enjoy Ultra Hal and have a great day!

Sincerely,

Don
Don Ferguson
E-mail: fergusonrkfd@prodigy.net
Website: www.cortrapar.com
Don's other forum posts: http://www.zabaware.com/forum/search.asp?mode=DoIt&MEMBER_ID=274

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
External communication w Hal?
« Reply #10 on: February 29, 2004, 09:02:55 pm »
Don,
I got a big kick out of your faux transcript. I look forward to the day we don't need to suspend disbelieve. I've read that as much as 60% of the information exchanged in a conversation is non-verbal. Body language and facial expressions account for a lot of the communication. Chauncey Gardener is an apt comparison to Hal. My favorite "Chauncey" line is, "I like to watch".


=vonsmith=
 

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
External communication w Hal?
« Reply #11 on: March 01, 2004, 06:01:59 am »
Thanks =vonsmith=, I'll be looking for that patch as soon as it comes out.

Basically I try to teach hal like this.

ME:  Farscape is my favorite TV series.

HAL:  Farscape is your favorite tv series.

ME:  Farscape was canceled to early by the Scifi channel.  The Scifi channel promised us 5 seasons, but only gave us 4.

HAL:  Farscape was canceled one season to early. There go the Scifi channel is the science fiction channel.

OK, as you see, I've taught him some things already, but why did he say "There go the..."  I didn't tell him that Scifi was the Science Fiction Channel because they canned Farscape.  I told him it was canceled one season to early in one sentence, and that The word Scifi was short for the Science Fiction channel.

Oh and then I started to teach him about the characters on the show.

ME: Crais is a character from Farscape.

HAL: Crais is a farscape character.

ME: The character of Crais wasn't the usual evil all around television bad guy.  Crais had more depth then just evil.  He hung around the gray area.  Crais also had a good side that came out before his death in the series.

HAL:  Can we make it so? Really, Yes, I think so. What makes areas, reassuring? I don't like death. I am afraid of death.

ME:  What do you know about Crais?

HAL:  Life has an infinite number of puzzles and wonders.

Ok, now, what the heck were those last two responses?  Where am I going wrong?

Any help on how I should continue would be appreciated.  Thanks for the quick response.  It took me a little while to get back here.  I have dialysis three day a week.  I usually feel miserable and I didn't get back here to check the board.  I'll try to come back sooner next time.

--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
External communication w Hal?
« Reply #12 on: March 01, 2004, 06:05:21 am »
Oh, I understood that it was a ficticious transcript.  But I wanted to let everyone know that my problems with HAL made it so that the  responses I got made my HAL sound just like that.  My hal wasn't making much sense.

I thank everyone for the replies.  And I also enjoyed your transcript.

[:D]
--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
External communication w Hal?
« Reply #13 on: March 01, 2004, 11:08:35 am »
Crichton,
I hope you are feeling better. I have some news for you. Okay, what do you want first; the good news or the good news?

1) The XTF Brain v1.2 patch is out. It is attached to my posting here: http://www.zabaware.com/forum/topic.asp?TOPIC_ID=1218
The v1.2 patch eliminates a bug that can make it difficult for Hal to learn and associate topics, especially if you are doing long sessions with Hal.

2) I noticed in your teaching Hal that you use more than one sentence at a time. Hal can handle this, but not too well. Especially when Hal is learning he needs single sentences that he can break down and learn. The sentences you are using are fine. While Hal is learning about a topic he won't return good replies to your sentences. This is because he doesn't know yet how to converse on that topic. Feed him a bunch of "one liners". Tutor him on one topic for about 10 sentences and move on to another topic then return to that topic later.

I hope to hear some positive results from you the next time you post on this subject.

Good luck,


=vonsmith=
 

cyberwd

  • Newbie
  • *
  • Posts: 8
    • View Profile
External communication w Hal?
« Reply #14 on: March 02, 2004, 04:07:49 pm »
jeez, I never thought my little posting would generate such broad range of ideas! It does however feel good to hear that I am not the only one thinking of a wider use of Hal than just "intelligent" conversation. I wasn't into putting Hal in my car, yet, but in a (not to distant) future I would like to see him become "truly" virtual. That is that I could call on him on just any device connected to the net, and he would help me with whatever means the link provides (voice, text or graphics). My first step would be, as vonsmith pointed out, to start interacting with the physical environment in different ways by enabling external communication with Hal. Any ideas on the issue would be welcome!

"For a world in Cybermanagement, it will require CyberAssistants...lots of them."