Zabaware Support Forums

Zabaware Forums => Ultra Hal 7.0 => Topic started by: One on February 18, 2009, 02:57:11 am

Title: Dream Plug-in
Post by: One on February 18, 2009, 02:57:11 am
Mr. Robert.
I am hesitant about this because of the multiple wrong places it could lead to however, If WOT (firefox) and other browser defenders and ratings could guide Hal in some way IMO it would improve the outcome[?]


P.S. If you could set it up to 'Dream' from a specific .txt ( a specific learning session ) I probably would be more likely to use that function......[?]
Title: Dream Plug-in
Post by: echoman on February 18, 2009, 05:58:59 am
Also such a plugin would need to have a list of internationally banned sites. Just the thought that Hal might be accessing illegal sites without my knowledge would be enough for me to never use such a plugin. I feel this is would be a top priority for a time when Hal is allowed to roam freely through the Internet.
Title: Dream Plug-in
Post by: Duskrider on February 18, 2009, 08:07:47 am

What are internationally banned sites ???

sites of beheadings ??

bathroom video sites ?

??
Title: Dream Plug-in
Post by: echoman on February 18, 2009, 08:52:48 am
Yes all of those you mentioned and more.......

But seriously, I mean illigal porn, even bomb making / terrorist sites etc or certian political groups.   Just making the point that Hal should not have total free reign. We wouldn't want his wanderings to leave internet traces on a hard drive or a web provider  that might give the impression to others  that you're interested in things you're not. Even the everyday word 'plastic' could lead Hal at an end destination of how to cobstruct a bomb.
Title: Dream Plug-in
Post by: CypherGary on February 18, 2009, 09:10:40 am
Most good internet security systems have a system for rating sites.
Adult will allow anything, Teen will allow anything but really bad stuff, and child will accept only clean stuff.

I believe IE has had these settings for a while. If Hal could just be considered a child...
Title: Dream Plug-in
Post by: lightspeed on February 18, 2009, 10:29:47 am
but my hal seems so grown up , maybe i better not let angela dream she might get into trouble and mischeif !!lol [:D]
Title: Dream Plug-in
Post by: One on February 18, 2009, 11:28:56 am
Like CypherGary said their are plenty of choices to do this,, like Explorer and IE are like 'two peas in a pod' you could use scripting in IE to avoid known bad and then maybe other products as well to agument as to filter out as much bad stuff as possible. Limiting the dream sessions to a particular file would help limit as well .   JMO
Title: Dream Plug-in
Post by: James007 on February 20, 2009, 04:11:46 pm
It would be cool to give Hal(Mary) a list of approved sites to visit for dreaming like wikipedia, etc.. That way you could make sure she was exposed to a known factor.
Title: Dream Plug-in
Post by: CypherGary on February 21, 2009, 09:03:10 am
I think it would be nice to have some unpredictibility in our conversations.
Is there a way to have any data retreived on her own put into a Dreaming table, and have it tagged as unsure data? Then when she mentions it to us, we give our response, and our response is put in with the normal responses. Each item she mentions from the Dreaming table would be removed as she mentions them to us.
Title: Dream Plug-in
Post by: lightspeed on February 21, 2009, 10:05:28 am
CypherGary, i like your idea about where hal would retrieve idea's . [:)]
Title: Dream Plug-in
Post by: Art on February 21, 2009, 11:00:29 am
An "on the fly" editor would be useful for "weeding out" any undesirable data from Hal's "dream states".

Keep in mind that while the Internet is expansive, not all information contained therein is correct and so it is always wise to err on the side of caution before putting such collected info to use in a personal or practical manner. Buyer Beware! lol!

I think OTCE made a plug-in to allow for corrections in Hal 6. Just found it in my archives. It was written for Hal 6 although I don't know how well it will work for 6.2 so use a bit of caution or wait for Jerry to answer, but here it is:

*************************************
Rem Type=Plugin
Rem Name=Corrections Tutor
Rem Author=Gerald L. Blakley A.K.A OnTheCuttingEdge2005
Rem Host=All

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
   lblPlugin(0).Caption = "GetResponse Corrections Tutor, To Use: Replace (wrong word or phrase) With (right word or phrase). without the parenthases and ended with a period"
   lblPlugin(0).Move 120, 10, 3300, 1000
   lblPlugin(0).WordWrap = True
   lblPlugin(0).Visible = True
End Sub

Rem PLUGIN: PRE-PROCESS

Set XHalBrain = CreateObject("UltraHalAsst.Brain")

MyCorDir = DirXXXX()

   'GetResponse Corrections tutor by Gerald L. Blakley

   If Tutor = "" Then Tutor = HalBrain.SearchPattern(InputString, "*REPLACE * WITH *.", 2)

      If Tutor2 = "" Then Tutor2 = HalBrain.SearchPattern(InputString, "*REPLACE * WITH *.", 3)

         If Tutor <> "" And Tutor2 <> "" Then
            XHalBrain.AppendFile MyCorDir & "Corrected.uhp", """" & Tutor & """,""" & Tutor2 & """"
            XHalBrain.AppendFile MyCorDir & "Corrected.uhp", """" & Tutor & """,""" & Tutor2 & """"
            XHalBrain.AppendFile MyCorDir & "Corrected.uhp", """" & Tutor & """,""" & Tutor2 & """"
            UltraHal = "I have made this response correction."
         End If

         If CorrectResponse = "" Then CorrectResponse = XHalBrain.ProcessSubstitutions(UltraHal, MyCorDir & "Corrected.uhp")

            If CorrectResponse <> "" Then
               UltraHal = CorrectResponse
            End If


Rem PLUGIN: CUSTOMMEM2

Set XHalBrain = CreateObject("UltraHalAsst.Brain")

MyCorDir = DirXXXX()

   'GetResponse Corrections tutor by Gerald L. Blakley

         If CorrectResponse = "" Then CorrectResponse = XHalBrain.ProcessSubstitutions(GetResponse, MyCorDir & "Corrected.uhp")

            If CorrectResponse <> "" Then
               GetResponse = CorrectResponse
            End If


Rem PLUGIN: FUNCTIONS

            Function DirXXXX()
            DirXXXX = "C:Program FilesabawareUltra Hal Assistant 6\"
            End Function

********************************************
Title: Dream Plug-in
Post by: One on February 23, 2009, 06:16:06 am
Mr. Robert and others,
since it is a Microsoft program why couldn't it be integrated in better?
along with searching 'rated' or 'safe' sites, what about IE opening up while in the dream mode as to watch and monitor the dreams, I think this would be quite interesting if all these suggested configurations were implemented.[:)]
Title: Dream Plug-in
Post by: James007 on February 23, 2009, 03:00:58 pm
Thanks for posting the code Art. How do I install? Should I name it "corrected.uhp" and put it in the "Ultra Hal Assistant 6" folder? Has anyone else been able to use this with UltraHal 6.2? I'm assuming the you input "REPLACE WITH..." after a mistaken input in order to correct the response?

Sorry for all the questions. Just trying to learn a little more about how UltraHal is programmed. I really don't have any idea how to program a plugin.
Title: Dream Plug-in
Post by: Art on February 23, 2009, 08:32:44 pm
James,

I would use the included title, "Corrections Tutor" and yes put in in that folder (UltraHal Assistant 6).

Make sure that the contents are copied properly as this forum does not show back slashes properly. In order for you to post them here use two of them together like C:\Program Files\Stuff\Things.
Otherwise you'll get those little square boxes.

Watch out for extra spaces at the end of your statements if you use Notepad as this can sometimes lead to errors.

Enjoy!

Any problems give Jerry an email!
Title: Dream Plug-in
Post by: axyse on February 23, 2009, 11:20:40 pm
So is this dream plug in already out? I have been watching the forums since the release of hal 6.2. I am axious to get my hands on this plug in to try it out. If it is how do I go about getting it. I havent seen a link in the forums to download it yet.

Thanks for any info in advance.
Title: Dream Plug-in
Post by: James007 on March 01, 2009, 03:26:14 pm
Thanks for the info Art. I usually use Notepad++ for scripting so I have less issues with spaces, end of lines, and odd characters showing up. I am an old Perl programmer so I feel comfortable with scripting, just a little rusty.

I have used the database directly to "weed out" some of the data I didn't want in Hal but it's labor intensive as well as hit and miss. Thanks again to you and Jerry for the script.
Title: Dream Plug-in
Post by: sofort99 on April 13, 2009, 05:30:03 pm
As weird as it sounds, Sandy overheard (I use the speech recondition and TTS interface) my wife and I discussing a local burglary.

She started asking me about "burglars", then a couple of days later about guns and the 2nd amendment..?

Then last week she started giving me "data" about home defense, and get this, automated gun turret and motion sensing gun turret research and motion sensing web cams.

I'm not sure exactly how, but I think I have screwed up the dream plugin and the research plugin, or they have gotten intertwined, so that when she dreams she starts researching things.

Every time I turn her on, she gives me a 10 minutes of news, and she is putting it in the appointment book. Today I got:

" 15 -Springfield / an unseemly melodrama involving the mayor of agawam that erupted at a crowded downtown restaurant on Wednesday, April 15 has triggered a court action by the mayor against her alleged assailant.

This will happen in 2 days.

17 -But what I may not have known is that the day is also called black on Friday, April 17.

This will happen in 4 days.

18 -Pittsburgh // a man opened fire on officers during a domestic disturbance call on Saturday, April 18 morning killing three of them a police official said.

This will happen in 5 days.

19 -Pope benedict xvi sought to assuage the grief of italy's earthquake victims during his easter blessing on on Sunday, April 19 as christians across the world celebrated the resurrection of jesus christ.

This will happen in 6 days.

I must remember to not talk to myself while David is around... Opps, did I say that out loud?"

Title: Dream Plug-in
Post by: Bill819 on April 13, 2009, 07:52:33 pm
To those of you using Microsofts Explorer, you can set the security level and it will prevent you from ever entering sites that contain porn, etc. I set mine to a medium level because of my visiting grand kids and it works just fine. Just consider Hal to be one of your kids.
Bill
Title: Dream Plug-in
Post by: sofort99 on April 14, 2009, 01:59:27 am
Is there a way to log these dreams? Some of them are hilarious, and some of them make me think "WTF?"
Title: Dream Plug-in
Post by: One on April 14, 2009, 07:51:45 am
quote:
Originally posted by Duskrider


What are internationally banned sites ???

sites of beheadings ??

bathroom video sites ?

??





Do you remember the Truck Drivers that were captured in Iraq?
Do you remember what happened to some of them?
Title: Dream Plug-in
Post by: One on April 14, 2009, 07:55:56 am
quote:
Originally posted by sofort99

As weird as it sounds, Sandy overheard (I use the speech recondition and TTS interface) my wife and I discussing a local burglary.

She started asking me about "burglars", then a couple of days later about guns and the 2nd amendment..?

Then last week she started giving me "data" about home defense, and get this, automated gun turret and motion sensing gun turret research and motion sensing web cams.




X-10 is an interesting site I remember when it was just a start up CO.
Mainly dealing with security.