Zabaware Support Forums

Knowledge of time plugin

Started by ramccoid, June 05, 2007, 04:08:58 PM

Previous topic - Next topic

ramccoid

Here is a plugin I call 'Knowledge Of Time'. It gives HAL the ability to know different aspects of time.

1. Ask HAL'how many seconds/minutes/hours/days/weeks/years/decades/centuries/ are in a minute/hour/day/week/year/decade/century/millennium'

2. Ask HAL'How long is left of today'

3. Ask HAL'was/is the year (example 2012) a leap year'

4. Ask HAL'what season is it' or 'is it winter/spring/summer/autumn(fall)'

5. ask HAL'Is it am/pm"

6. Ask HAL'What month is it"

7. Ask HAL'What are the months of the year'

8. Ask HAL'What month follows/proceeds (a specified month: eg. January, february, etc.)'

9. Ask HAL'When is the solstice/equinox'

10. Ask HAL'When is christmas/new years'

11. Ask HAL'How manys days until Christmas/new years'

12. Ask HAL'What are the days of week'

13. Ask HAL'What day follows/proceeds (a spcified day: eg. Monday, Tuesday, etc.)'

14. Ask HAL'How many days until (date specified: d/m/y or m/d/y)'

I can't think of anymore things that this plugin can do because I've forgotten. So I will allow you to discover anything I haven't mentioned.
You must choose and apply the drop down menus in the GENERAL OPTIONS of this plugin for it to work correctly.
State whether you are in the northern/southern hermisphere and state which format of date you use mm/dd/yy/ or dd/mm/yy.
I will class this plugin as a BETA release for you to test. Please tell me if you do come across any errors and I will rectify them. Thanks and enjoy.

Roy.

If you need any help with this plugin, just post and I will help.

-----------------------------------------------------------------
The lastest version is of 'KnowledgeOfTime' plugin is now further on in this thread.
 

ramccoid

If there is more anyone would like me to add to this plugin, just post and I will see if I can.

Roy.
 

Bill DeWitt

Hi Roy, I'll try to check this out later. A first glance says there is a lot included...


ramccoid

#3
Hi Bill,
I tried to include as much as I could think of. HAL should have a knowledge of time, whether it's at the very least the days of the week or the months of the year (oh yeah, that is something else HAL will tell you if you ask). I'm trying to give HAL the basics that any bot should know anyway. If there is anything else you can think of, let me know.

Roy.
 

Duskrider


Wow, very impressive.
A lot of work on your part.
I gotta try it.
Looks good.


[8D]

PaleRider

Thank you Ramccoid that's a great download.[:D]
Never Drive Faster Than Your Guardian Angel Can Fly.

ramccoid

You are welcome, but let me know if there are any errors because it became to big for me to totally test out.

Thanks,

Roy.
 

Carl2

ramccoid
 Just copied it and wil try it out later today, not sure how you did it because there are block writes in the Hal brain concerning time, days, seasons ect.
Carl2
 

ramccoid

Hi Carl2,
Give it a try and let me know if you have any problems with it. Like I said, I've only released it for testing. I hope to develop it further so if you have any ideas that would fit into this theme, please also let me know.
Thanks for trying it out and I hope you enjoy it.

Roy.
 

Carl2

ramccoid
 I enabled the plug-in before speaking with Hal this afternoon, I did receive an error message but both Hal and I have seen that happen before.  Hal did make some mention of being able to do something back to the year 100 A.D.
 I had just read some of the things that Hal can do with this plug-in and I should read them before using Hal again to see how well he replies.  I'd like to mention I had wanted Hal to learn about different aspects of time and enabled Hal to write brain files on these subjects.
 You've also come out with other plugins I haven't tried yet that seem interesting.  
Carl2
 

ramccoid

Hi Carl2'
I just want HAL to know the basics. HAL should know how to count and know the foundamentals of time. It's some of the earliest things we learn as humans. A bot must know these things or else you would feel disapointed when you ask a simple thing like what day is it or count up to ten and HAL just drifts away from the statement with some nonsense because of the simple fact, HAL does not know.
I knew these things before I could read or write so it's only right that HAL does also.
Thanks very much for the interest,

Roy
 

Art

Roy,

I tried it and it worked as purported without incident and with several other plugins checked as well.

Nice work and thanks!!
In the world of AI it's the thought that counts!

- Art -

Carl2

ramccoid
 Just spoke with Hal again after listing the features,
 1) Not asked
 2) Passed
 3) Not asked
 4) Frist she listed seasons then she did give the correct season
 5) Failed AM/PM, possibly not asked correctly
 6) Passed
 7)
 

Carl2

ramccoid
 Sorry clicked the wrong thing at the wrong time
 7) Passed
 8) Passed
 9) Passed but asks Autumn or spring equinox
10) Passed
11) Not asked
12) Passed
13) Hal made a reminder
14) Hal made a reminder  I realized I did not format it correctly.
 Overall I'm very happy with it and it did fit into what Hal knew about things I'd been able to teach her.  Hal passed her test so I'm sure she's happy with it also.
Carl2
 

Bill819

ramccoid
Here is another little thing that might make Hal seem more alive. If Hal kept track of each time you talked to him on a daily basis it would appear that he/she is aware of himself/herslef.
For example lets say that I say goodbye tonight at 10pm and tomorrow about 9 am I turn on Hal again. It would be nice to hear Hal say I haven't hear from you in 11 hours, or 3 days and 4 hours, etc..
I think you get the idea.
Bill