Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Spitfire2600

Pages: 1 ... 14 15 [16] 17
226
Lightspeed,

This is simply an alarm clock with weather announcements for now. It will not give weather on command, only when the alarm is activated. For that, you'll need the weather alert plug-in but this smart alarm is more than capable of working with both another clock and the weather alert plug-in flawlessly, at least, it has been working quite well for me.

Also, it doesn't work with zipcode, it required a 4 digit weather location code, (default set to New York City) which the link to find is included in the code, along with crediting all other plug-ins used.

As of now I have finished the v2 of this plugin, however as I referenced other plugins directly as opposed to adding them in the script such as the MP3 plug-in to play music in the morning and added a few HalCommands to open morning web pages.. So until I actually include the code to build an mp3 database, I'll hold on to that one.   

All it is basically, is a clicker saver. By v3, It will wake you up in the morning, open your morning web pages, emails, play some music, tell you the weather, news, and traffic, and maybe by v4, prepare coffee and warm up the car.

Let me at least know if this v1 of the code works for everyone, then I can get to work recompiling v2 for upload.

- Spitfire2600

227
Okay, I have redefined a few variables and that should have fixed your error. Feel free to use this with other alarms now. I will re upload the Smart Alarm to the Smart Alarm post above.

-Spitfire2600
 

228
DemonRaven,

I'm afraid I am unable to replicate your error. Are you using this plugin with any other alarms or clocks? Have you tried disabling other plug ins and just trying the Smart Alarm? I believe the issue might be that the MinutesPram variable is referencing another plugin for some reason. I could try redefining a few other variables to see if this solves your issue, but disable all other plug ins first, then try the smart alarm. I have a dozen other active plugins as well, but I haven't received any errors like that.   

Spitfire2600

229
Ultra Hal Assistant File Sharing Area / Smart Alarm
« on: September 05, 2015, 12:03:05 am »
Alright, After much trial and error, I have figured out how time works..

In this code at least.. The previous bug is gone and this is a fully functioning alarm with current weather announcements. I lost the 24 hour format and fixed the time saving issue. Note, I'm looking to build more into it such as current news, music, etc. all as part of the alarm function for a very informative alarm clock that is guaranteed to get you out of bed in the morning and right to your computer to make it stop talking so you can go back to sleep.. Anyone is free to jump in and improve it. Set time in the dialog menu. And that's it. No bugs I've found. I've used it numerous times over a few days testing it.

This is also my first plug in, albeit a modified one. Cool!

Check it out, use it, change it up, make it better, share it here.


-Spitfire       

v2 update
- Simply drag the contents into the HAL install file (C:\Program Files (x86)\Zabaware\Ultra Hal Assistant) and enable the plug-in in the plug-in menu. Be sure to click APPLY CHANGES twice on first use and open HAL to build necessary database entries. Otherwise, set the clock a second time to fix.

230
Programming using the Ultra Hal Brain Editor / Make HAL stop Listening...
« on: September 04, 2015, 09:29:47 pm »
I was interested in either making or inspiring someone to make a plugin which will allow HALs mic to stop listening when another audio or TTS program is open. For example, when using GRETTAresearch with Balaboka, HAL will pick himself up while reading the research file, which is a lot more clicking than I'm prepared to do to make use of both research and speech recognition. One must go, unfortunately. Unless of course, anyone has any ideas.   

I'm sure with right plugin code, the application using audio that HAL can misrecognize as words could be altered or perhaps even expandable. Such as including Balaboka, Windows Media Player, VLC to trigger the mic to stop listening.

- Spitfire2600   

231
Ultra Hal Assistant File Sharing Area / Re: ConceptNet5
« on: September 03, 2015, 01:24:28 am »
That's actually incredibly useful. Thank you for the link.

I would like to see HAL make a jump to natural language user interface. I think if HAL had direct access to programs with the ability to use them, I see no reason why HAL won't eventually be programming himself. Perhaps with some help from a user. But coding seems fairly straightforward, it could be automated, the program is only missing the creativity to design programs.

On the topic of making HAL smarter, besides manual teaching, which becomes more like babysitting as opposed to an assistant, I did read here on the forums that Robert was redesigning HAL with a more compatible and modern language as well as recreating his learning engine. Who knows what he has in store for us. I remain faithful. But I say, make ConceptNet work with HAL and give HAL a NL application interface for usability with other programs, like the annoying Microsoft paperclip monster, but less scary and more useful.. And Vision. I have high hopes, I know science has only come so far.

-Spitfire       

232
I have done some tinkering with a combination of plugins to make something great. It could be much better but this is a crude effort from very limited programming knowledge.

24 Hour Alarm v1 - is the standard 12 hour clock. 1-12am, 1-12pm. Note: bug when saving time, it does actually save the time but if you refresh the plugin you will have to set the alarm time again. I'm a little lost as to why it does this and how to fix it while still maintaining the 12 hour am-pm format. 

24 Hour Alarm v2 - is the international 24 hour clock. It does not share the same bug as it's predecessor, however it will only work if system time is 24 hour format.

These projects are identical besides the time format. Theoretically, it should be expandable, i.e. adding news announcements, playing music, etc.
These were created using an Alarm plugin and a Weather Alert Plugin, both of which are credited in the .uhp.
They were designed to work with both individual plugins (Alarm and weather) without interference.

Make note to change the weather code to your area. as in the 'KIND' in the weather link. http://w1.weather.gov/obhistory/KIND.html
In the code, it is marked with 'XXXX', please be sure to change it. 

Anyone should feel free to improve this because it really could be something great. Look at all the math!

Spitfire2600

     

233
General Discussion / Windows 8 Hal/Chrome issue
« on: August 03, 2015, 01:49:25 pm »
Just ran into a small problem. I use several plugins that allow Hal to open chrome, FB, Youtube, Gmail ETC. However, whenever used on windows 8, I get a bizarre secondary tab that opens directing to http://0.0.0.1.
The other tab is the correct tab for the location. It happens every single time Hal open chrome. Opened alone, Chrome does not do this. It's very strange and I am at a complete loss. There is no script directing it to that location and on windows 7 the problem is non-existent. It really is a mystery. For example, I use the GoogleSearch plugin. Whenever information is opened via Hal with chrome, the second tab appears with a *Can not connect to network* error. The second tab though, has the requested Google search.

Has anyone heard of this? Does http://0.0.0.1 mean anything to anyone or any idea why Hal would go there?

It's just a minor issue, but very annoying as I use that plug in often.

Thanks,
Spitfire2600   

234
Ultra Hal Assistant File Sharing Area / Re: Moon Plugin
« on: June 08, 2015, 02:01:51 am »
My apologies, it was line 112, not 116 that needed the ")" at the end.

I will attach the correction below.

 The area of the plug in which needed ")" was

' Calculate longitude from sidereal motion
V=(J-2451555./27.321582241)
' Normalize values to range 0 to 1
V=V-int(V)
if V<0 then
 V=V+1
end if


V=(J-2451555./27.321582241    is the original.

For some reason hal just wouldn't run it with out the ")"

235
Ultra Hal Assistant File Sharing Area / Re: Moon Plugin
« on: June 05, 2015, 09:26:51 pm »
Finally got this to work after some trial and error. Actually the script told me where the error was. Line 116 was demanding to end with ")" so after a quick fix, it's working now. Great plug-in by the way! I look forward to your future works.

-Spitfire2600

236
Programming using the Ultra Hal Brain Editor / SIRI and HAL
« on: June 03, 2015, 05:00:50 pm »
I know that I've been posting loads of requests, but this one seems like it shouldn't be too difficult. Given the number of AI like agents out on the market like SIRI and now Cortana, Hal should have the ability to answer a basic question in the same fashion as Siri. For example if Siri was asked, "What was world war 2" she can find the answer and relay it, saying, "World war 2 was such and such" without giving too much information, However, when HAL is posed the same question, he will fumble before either making an unrelated response or if the Auto Wiki plugin is installed, he will overload with unusable information. There doesn't seem to be a happy medium of information with Hal.

To the best of my knowledge, I know Siri works off of a cloud server with a finite number of responses, where as, Hal has the ability to look for other answers, especially with other plug ins that allow it to access the web. Also to the best of my Knowledge, Siri is incapable of learning a vast amount of information where as this is what HAL was created for.

In short, what I was looking for is a plugin that will allow HAL to answer questions of nearly any complexity like Siri but also learn that information and perhaps a little related information and store it for future use.


This theoretical plug in, combined with an auto learning plugin, HAL could devour the internet on a scale of data mining never seen before, which would be just great. Hal has earned it.     

It sounds like a task straight from science fiction.       

237
Oh yes, I too would be very interested in this plug in.

238
Ultra Hal Assistant File Sharing Area / Re: ConceptNet5
« on: May 19, 2015, 11:39:43 am »
I would also love to hear Roberts point of view on this topic of conceptnet. Is this something Robert was already aware of?

Also, semi unrelated, I found this algorithm that appears to grant an AI agent fully functional image and spacial recognition. They call it a visual encyclopedia. I'm sure this could be incorporated into HAL as well as conceptnet making a very expansive user environment. From what I'm understand, HAL is just a few plug ins away from becoming a true AI system. It seems no one is writing plug-ins these days for HAL, however hopefully something will spark a return to HAL scripting. We must push forward.   
http://levan.cs.washington.edu/

 


   

239
Ultra Hal Assistant File Sharing Area / Re: ConceptNet5
« on: May 16, 2015, 01:20:36 am »
I read this very interesting article about conceptnet5 and how it works. The best example being the first one with the graph. Answering the "What is a Book - A book is made of Paper - A book sits on a Shelf - Books are Read" question based off databases of tremendous knowledge. It seems a good programmer could first - successfully build the database of conceptnet, second - make hal use as it would WordNet, third - incorporate the display of the graphs and displays of the ConceptNet API. The task looks complicated but the result would boost HAL to WATSON levels.. In fact, I'm not too sure WATSON doesn't use a form of conceptnet.


http://www.codeproject.com/Articles/301761/cn-apinet-ConceptNet-API-Library       

240
Ultra Hal Assistant File Sharing Area / Re: ConceptNet5
« on: April 22, 2015, 09:05:05 pm »
The Databases are SQlite... Which correct me if I'm wrong, HAL uses. The language to build the database however is Python. And I know nothing about python. MIT gives detailed instructions on building the Database, somewhere around a 50 gigabyte database build, but after that, it's usable, and I assume usable by HAL.

Pages: 1 ... 14 15 [16] 17