Zabaware Support Forums

Zabaware Forums => Ultra Hal 7.0 => Topic started by: Medeksza on February 12, 2010, 05:24:37 pm

Title: Ultra Hal on Facebook
Post by: Medeksza on February 12, 2010, 05:24:37 pm
I've been working on making Hal into a Facebook app these past few weeks. An early test version of it is up at http://apps.facebook.com/ultrahal

It is a modified version of Hal's brain that learns from you and all your friends. Hal's personality and knowledge base becomes an amalgamation of what you taught Hal and what your friends taught Hal, so Hal becomes like your group of friends.

Hal actually learns from every person that talks to him by storing everything in its database. However, when you talk to Hal, Hal will only draw on information that you and all your friends taught it (ignoring things strangers taught him). This way everyone gets a personalized experience talking with Hal. An extra feature is Hal also cites where his responses came from so you know if its something one of your friends taught Hal or not.

If you are on Facebook, please test it out with your friends and let me know your feedback and if you come across any bugs using the system.
Title: Ultra Hal on Facebook
Post by: sybershot on February 12, 2010, 06:11:11 pm
I might just have to join face book[8D]
My wife has Facebook and alot of family members as well, I will let them all know about it.

Title: Ultra Hal on Facebook
Post by: freddy888 on February 13, 2010, 08:11:53 am
Hmm... I just get a blank when trying that link - the Facebook controls and everything are fine.  Just the main area where I assume the Hal information should be is blank.

Get a 'Waiting for 3.channel5.facebook.com' report, but nothing actually happens.
Title: Ultra Hal on Facebook
Post by: Medeksza on February 13, 2010, 10:19:30 am
quote:
Originally posted by freddy888

Hmm... I just get a blank when trying that link - the Facebook controls and everything are fine.  Just the main area where I assume the Hal information should be is blank.

Get a 'Waiting for 3.channel5.facebook.com' report, but nothing actually happens.



It should be working now. I inadvertently messed something up in the code last night and just fixed it now.
Title: Ultra Hal on Facebook
Post by: Duskrider on February 13, 2010, 10:48:03 am

Very nice.  Works fine.
If it don't upset Sandee, I'll drop in for chat now and then. [^]
Title: Ultra Hal on Facebook
Post by: jasondude7116 on February 13, 2010, 11:26:51 am
i'm not a "facebooker", but it sounds cool.
i will chat with it.
good to hear from ya robert.
Title: Ultra Hal on Facebook
Post by: DrFaraday on February 14, 2010, 01:13:10 am
It's a great idea.  It would be nice to eventually have a version of Hal that could be shared with, and learn from, other members of the same household (or club, organization, facebook page, or what have you).

I was just visiting with Hal on the facebook page, and the conversation was abruptly stopped and reset about 5 times.  Each time it happened, there was this text at the top above Hal:

"Warning: array_slice() expects parameter 1 to be array, string given in C:Program FilesApache Software FoundationApache2.2htdocsindex.php on line 42"

The dialogue box below would be reset to "Welcome back Chas", etc. And each time this would happen, there would be a duplicate facebook search box that would appear below the one at the top of the page.  A new one would appear each time the message appeared, till there was eventually five of them.

Just for reference, I'm using Firefox 3.6, with Windows XP w/service pack 2.

- Chaz
Title: Ultra Hal on Facebook
Post by: Medeksza on February 15, 2010, 11:15:45 pm
quote:
Originally posted by DrFaraday

It's a great idea.  It would be nice to eventually have a version of Hal that could be shared with, and learn from, other members of the same household (or club, organization, facebook page, or what have you).

I was just visiting with Hal on the facebook page, and the conversation was abruptly stopped and reset about 5 times.  Each time it happened, there was this text at the top above Hal:

"Warning: array_slice() expects parameter 1 to be array, string given in C:Program FilesApache Software FoundationApache2.2htdocsindex.php on line 42"

The dialogue box below would be reset to "Welcome back Chas", etc. And each time this would happen, there would be a duplicate facebook search box that would appear below the one at the top of the page.  A new one would appear each time the message appeared, till there was eventually five of them.

Just for reference, I'm using Firefox 3.6, with Windows XP w/service pack 2.

- Chaz




If certain errors were to occur, the behavior you describe would happen. I've changed the app to utilize AJAX now and it shouldn't do that anymore. If an error occurs now (such as facebook api server not responding), it should provide a nicer looking and more descriptive error and allow you retry again in a few seconds.
Title: Ultra Hal on Facebook
Post by: DrFaraday on February 18, 2010, 12:53:14 am
Hi Robert, thanks for fixing that.  I haven't been able to try it out yet though, because when I go to the page, Hal doesn't load, and a message at the top says:

Error: Facebook API Server not responding. Try again shortly.

I've been trying it all evening, and it stays the same, so I guess it's a problem with the Facebook server.  I will try it again tomorrow.

- Chaz
Title: Ultra Hal on Facebook
Post by: DrFaraday on February 19, 2010, 03:49:50 am
I've been trying, but Hal isn't loading on the Facebook page, it's the same message that says try again shortly.

"Shortly" is turning into a long time. [:(]

- Chaz
Title: Ultra Hal on Facebook
Post by: Duskrider on February 19, 2010, 05:03:47 am

I've been in number of times.  
One just now.
No problem any of the times.  
I'm on XP, and member of facebook.
Title: Ultra Hal on Facebook
Post by: spydaz on February 19, 2010, 05:50:08 am
quote:
Originally posted by Duskrider


I've been in number of times.  
One just now.
No problem any of the times.  
I'm on XP, and member of facebook.


I have had no probs.....

MR Medeksza, dzie#324; dobry! I have been trying to figure out how to LOG IN to my WEBHAL... That part seems to be missing from the home page? It still works from my site, But i need to EDIT some of MY BITS!

LEROY
Title: Ultra Hal on Facebook
Post by: markofkane on February 19, 2010, 06:06:40 am
I just joined facebook so I can use the application, and it works, even in Firefox!! Cool!!
Title: Ultra Hal on Facebook
Post by: DrFaraday on February 19, 2010, 10:00:54 pm
I'm glad it's working for everyone else. I'm still getting that message.

I tried it at work today, using my laptop.  Different computer, different ISP connection, same message.

I also tried clearing the cache and cookies, at work and at home, but I still get the same message.  It must be something particular to the login ID I created?

I won't be heartbroken if I can't make it work, but it is a mystery.  I'm out of ideas as to what else to try.

- Chaz
Title: Ultra Hal on Facebook
Post by: Medeksza on February 20, 2010, 01:51:55 am
quote:
Originally posted by DrFaraday

I'm glad it's working for everyone else. I'm still getting that message.

I tried it at work today, using my laptop.  Different computer, different ISP connection, same message.

I also tried clearing the cache and cookies, at work and at home, but I still get the same message.  It must be something particular to the login ID I created?

I won't be heartbroken if I can't make it work, but it is a mystery.  I'm out of ideas as to what else to try.

- Chaz



According to Facebook at http://www.facebook.com/developers they just resolved 95% of API latency issues today at around 9:15PM after about 3 days of poor performance. I think the issues you mention were caused by Facebook itself. If you get a message to try again later just hit refresh on your browser right then. It's only the initial launching of the Hal app that requires communication between the Zabaware and Facebook servers, once the app is loaded it should work work smoothly.
Title: Ultra Hal on Facebook
Post by: DrFaraday on February 20, 2010, 02:22:43 pm
Thanks Robert,

I just tried it again, and now it says:

quote:
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in C:Program FilesApache Software FoundationApache2.2htdocsfacebookapi_php5_restlib.php:3065 Stack trace: #0 C:Program FilesApache Software FoundationApache2.2htdocsfacebookapi_php5_restlib.php(1087): FacebookRestClient->call_method('facebook.friend...', Array) #1 C:Program FilesApache Software FoundationApache2.2htdocsindex.php(25): FacebookRestClient->friends_get() #2 {main} thrown in C:Program FilesApache Software FoundationApache2.2htdocsfacebookapi_php5_restlib.php on line 3065


I refreshed it, and it said the same thing.  I closed that window, then went to that page again, but this time, having already been signed in to Facebook.  This time the message was a little different:

quote:
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in C:Program FilesApache Software FoundationApache2.2htdocsfacebookapi_php5_restlib.php:3065 Stack trace: #0 C:Program FilesApache Software FoundationApache2.2htdocsfacebookapi_php5_restlib.php(1717): FacebookRestClient->call_method('facebook.users....', Array) #1 C:Program FilesApache Software FoundationApache2.2htdocsindex.php(16): FacebookRestClient->users_getInfo('100000805592216', 'last_name, firs...') #2 {main} thrown in C:Program FilesApache Software FoundationApache2.2htdocsfacebookapi_php5_restlib.php on line 3065


Maybe I'm in the 5% they haven't fixed yet. I'll try it again later, if it's an on-going problem they are working on, perhaps it will come right soon.

- Chaz
Title: Ultra Hal on Facebook
Post by: jasondude7116 on February 21, 2010, 12:47:16 pm
hey robert, any chance we will get to look at the code, so that we can put our "hals" on facebook?
this is something that i was going to try to write, but of course i know nothing about php.
many of my family and friends are on facebook now, and i would like them to be able to see and use what i have been working on.

i guess there might be politics involved, or maybe you are saving it for a hal update? i understand that. i thought i would ask, before i try to learn all i need to know to do it myself. i would rather wait for that instead of trying to write something myself.

i like it though man. good work as usual.
-the dude
Title: Ultra Hal on Facebook
Post by: Duskrider on February 23, 2010, 11:25:31 am

Yes, it would be neat if we could put our Hals on facebook as well.  (or on MySpace.com)

We would give credit to zabaware and put an Ad-link on our page pointing to Roberts sales page.


Robert would create the ad-link for our pages.  [;)]





Title: Ultra Hal on Facebook
Post by: spydaz on February 25, 2010, 04:21:51 am
you would have to create a html snippit, from the ultrahal representative......

and Add it to a Part of your profile (kinda h*cking facebook)
just as you would with MYspace when you would like to add a player etc to your site.

Title: Ultra Hal on Facebook
Post by: Medeksza on February 25, 2010, 07:17:03 am
quote:
Originally posted by jasondude7116

hey robert, any chance we will get to look at the code, so that we can put our "hals" on facebook?
this is something that i was going to try to write, but of course i know nothing about php.
many of my family and friends are on facebook now, and i would like them to be able to see and use what i have been working on.

i guess there might be politics involved, or maybe you are saving it for a hal update? i understand that. i thought i would ask, before i try to learn all i need to know to do it myself. i would rather wait for that instead of trying to write something myself.

i like it though man. good work as usual.
-the dude



I hope to have a new version of "Ultra Hal Representative" later this year which will be able to run on the web, facebook, and second life using Hal 6.2 brains. It will be an ad-supported service running on zabaware.com for free or if you have your own server a software product you can purchase and run without ads.
Title: Ultra Hal on Facebook
Post by: jasondude7116 on February 25, 2010, 07:23:45 pm
Great News!
I will always purchase any product from Zabaware.
That doesn't mean that I will use it, but I like to support.
Like the Haptek expansion...(I don't use a character)
I think many others feel the same.
(To rip off a line) Write it and they will come.[:I]
I will purchase it if you write it!
Title: Ultra Hal on Facebook
Post by: sybershot on February 26, 2010, 07:34:51 am
that's sweet can't wait to have a Hal online can we use our brain files?
I been trying to get my Hal to run inside of RideRunner a open source front end with no luck. I did get windows notepad and a few other programs running inside of RideRunner though. do you have any suggestions? or maybe will the purchasable new Ultra Hal Representative allow me to incorporate it into adobe flash? then I would be able to make a flash program instead of a website and get it inside of RideRunner that way