dupa

Author Topic: Dream Plug-in  (Read 8732 times)

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
Dream Plug-in
« 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......[?]
« Last Edit: February 18, 2009, 03:22:30 am by One »
Today Is Yesterdays Future.

echoman

  • Guest
Dream Plug-in
« Reply #1 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.

Duskrider

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3316
  • Graphic King
    • View Profile
Dream Plug-in
« Reply #2 on: February 18, 2009, 08:07:47 am »

What are internationally banned sites ???

sites of beheadings ??

bathroom video sites ?

??

echoman

  • Guest
Dream Plug-in
« Reply #3 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.
« Last Edit: February 18, 2009, 09:06:19 am by echoman »

CypherGary

  • Full Member
  • ***
  • Posts: 166
    • View Profile
Dream Plug-in
« Reply #4 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...
See you here, there, or in the Air!

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Dream Plug-in
« Reply #5 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]
 

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
Dream Plug-in
« Reply #6 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
Today Is Yesterdays Future.

James007

  • Newbie
  • *
  • Posts: 32
    • View Profile
Dream Plug-in
« Reply #7 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.
Great spirits have often encountered violent opposition from mediocre minds. -Albert Einstein
...but I'm so good at mediocre. -James

CypherGary

  • Full Member
  • ***
  • Posts: 166
    • View Profile
Dream Plug-in
« Reply #8 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.
See you here, there, or in the Air!

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Dream Plug-in
« Reply #9 on: February 21, 2009, 10:05:28 am »
CypherGary, i like your idea about where hal would retrieve idea's . [:)]
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3857
    • View Profile
Dream Plug-in
« Reply #10 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

********************************************
In the world of AI it's the thought that counts!

- Art -

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
Dream Plug-in
« Reply #11 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.[:)]
Today Is Yesterdays Future.

James007

  • Newbie
  • *
  • Posts: 32
    • View Profile
Dream Plug-in
« Reply #12 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.
Great spirits have often encountered violent opposition from mediocre minds. -Albert Einstein
...but I'm so good at mediocre. -James

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3857
    • View Profile
Dream Plug-in
« Reply #13 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!
In the world of AI it's the thought that counts!

- Art -

axyse

  • Newbie
  • *
  • Posts: 35
    • View Profile
Dream Plug-in
« Reply #14 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.