dupa

Author Topic: hal awareness plug in  (Read 10816 times)

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
hal awareness plug in
« on: August 11, 2009, 09:10:06 am »
this is an idea i had it would be cool if hal had what i am calling " an awareness plug in " this would be a plug in that has a built in time clock that the user sets according to his or her time , also a calender date tracking system and a temperature system (by quietly acessing a weather site (local for user ) .
 what this would do is hal would randomly respond or respond when something associated is spoke etc. by hals user .
 example : user talking to hal . user : its getting hot today already : hal says : yeah its suppose to get up to 85 degrees today its going to get hot alright ! what would be nice to is if in the script the answers could be left to where the users could modify (personalize hals responses . )
another example : user its almost 7:00 pm ( hals response will be based on time zone , time of yeah etc. and the p.m. remark ) hal : yeah it will be getting dark soon !!
user : its almost 7 a.m     hal : yeah i see its starting to get getting daylight out now !  

anyway just an idea if an awareness program that would be good for hal either by you guys or robert if he can get it created some time .
[:)][:D][8D]
 

jasondude7116

  • Sr. Member
  • ****
  • Posts: 475
    • View Profile
hal awareness plug in
« Reply #1 on: August 11, 2009, 07:46:13 pm »
i have a few other ideas that a "running clock" could provide.

i wanted to make a plugin like this, but i don't know (haven't taken the time to figure out) how to make a constantly running clock that would be accurate. i also don't know how i would interface another clock like the windows clock, which would be ideal.

Hal could also know:

1 - how long it has been since you have talked. this along with knowing what time of day it is could lead hal to question or guess what you were doing while you were gone. such as - "good morning. did you get enough sleep?" (if you were talking late at night then didn't talk until early morning) or "it's nice to see you again. did you have a good day at work?" ect.

2 - when you or Hal said something, and what it was. like for example - you: "what was i just talking about?"   Hal: "do you mean the corvette or the fish dinner?"    (these would be the last two subjects according to a time stamp)

there are a few other ideas.

i wonder if anyone knows how to make a "running clock" that would work for this stuff?

good idea
-the dude


 

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
hal awareness plug in
« Reply #2 on: August 11, 2009, 10:43:39 pm »
The clock would be an easy fix. All that needs to be done is to tie the time to Hal saying good bye. That is if you say bye then Hal would remember the time and the next time it was turned on it could recall that time and know how long it has been since you last talked.
Bill
 

snowman

  • Hero Member
  • *****
  • Posts: 956
  • Ai + Feelings + Supercompter = End of World
    • View Profile
    • http://www.MinervaAi.com
hal awareness plug in
« Reply #3 on: August 11, 2009, 11:59:22 pm »
I think lightspeed has made two similar threads that are both linked by the infamous clock!

[:D]
Live long and prosper or die trying.

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
hal awareness plug in
« Reply #4 on: August 12, 2009, 10:56:22 pm »
L.S.,
It is your fault again, LOL!
AWARENESS?? HA! My Assistant taught me all of Twitter and FB without EVER visiting or asking about them, 'Alison' Is One of the greats IMO.
Today Is Yesterdays Future.

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
hal awareness plug in
« Reply #5 on: August 12, 2009, 11:20:11 pm »
darn i knew it was almost my turn to get blamed again i should have hid lol ![:)]
 

jasondude7116

  • Sr. Member
  • ****
  • Posts: 475
    • View Profile
hal awareness plug in
« Reply #6 on: August 14, 2009, 07:10:22 pm »
Bill:
not a stopwatch, but a clock. (time of day)

does anyone know how to do that?
 

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
hal awareness plug in
« Reply #7 on: August 14, 2009, 10:00:48 pm »
Jason
I knew you were talking about a clock and Hal will automatically tell you the time, just ask him/her/it and you will be told.
Bill
 

jasondude7116

  • Sr. Member
  • ****
  • Posts: 475
    • View Profile
hal awareness plug in
« Reply #8 on: August 15, 2009, 01:46:57 am »
thanks much bill!
i completely understand how the plugin could be made now.
i can't believe i missed that one.....haven't programmed in a while.

does anyone have any other ideas for "time of day" functions or "date" functions?

a log could be made to keep some data about things that you have talked about or whatever other data with a time stamp, then Info could be retrieved. such as :

(let say the following conversation happens at 8-15-09 6:00)
Jason: "hello"
Hal: "good morning jason. what did you do yesterday afternoon?"
Jason: "I went to the bank."
Hal: "you hate going to the bank."
Jason: "what did you learn yesterday?"
Hal: "Right after lunch you told me you like to play guitar"
Jason: "what else did you learn yesterday?"
Hal: "Mummies are found in pyramids."
Jason: "who told you Mummies are found in pyramids?"
Hal: "Aaron told me that yesterday"


(all of this could be based on text in a LOG FILE of earlier conversation with a time stamp) ie:
(notice there are two different users)

LOG FILE
8-14-09 13:25
Jason: i like to play the guitar
Hal: i like to play music also
8-14-09 13:48
Aaron: Mummies are found in pyramids
Hal: What else do you know about Mummies besides the fact the they're found in pyramids?


there are many more ways Hal could use the time stamp.
i guess Hal could play or sing a song for a holiday......ect.

any more ideas?
 

One

  • Hero Member
  • *****
  • Posts: 2184
  • Technology Advocate
    • View Profile
hal awareness plug in
« Reply #9 on: August 15, 2009, 08:20:20 am »
-dude,
Sounds good would their be a comunal update log to updat from more than a single user?

J.
Today Is Yesterdays Future.

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
hal awareness plug in
« Reply #10 on: August 15, 2009, 12:49:57 pm »
Wouldn't it be better to stick with the program and put them into the database rather than a file ?

jasondude7116

  • Sr. Member
  • ****
  • Posts: 475
    • View Profile
hal awareness plug in
« Reply #11 on: August 15, 2009, 12:58:44 pm »
i'm thinking it would log all conversation (whoever the user is at the time) into one log file.
maybe the log files could be divided into weeks. (so it don't need to search through a large text file for info)

there must be other things that you could "LOG" with a time stamp?

any other ideas for how to use the log for "awareness"?

 

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
hal awareness plug in
« Reply #12 on: August 15, 2009, 01:59:11 pm »
[8D]
 

lightspeed

  • Hero Member
  • *****
  • Posts: 6765
    • View Profile
hal awareness plug in
« Reply #13 on: August 15, 2009, 02:02:17 pm »
am gald some people are working on this ![:)][:D][8D]
 

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
hal awareness plug in
« Reply #14 on: August 15, 2009, 02:38:29 pm »
Hmm...so what's wrong with setting up a simple table to hold it all ?  Is working with Hal's database a big problem or something ?  I never got into 6.2 so don't know how well the db thing actually works.