dupa

Author Topic: Covid-19 updater complete  (Read 613 times)

cyberjedi

  • Hero Member
  • *****
  • Posts: 614
  • The Mighty Hal Machine
    • View Profile
Covid-19 updater complete
« on: March 14, 2020, 04:55:28 pm »
RE: COVID-19 AKA Corona virus

Hope all is well.
Im writing a plugin for the Corona Virus so Hal will update us on the spread of this virus. Hal 6-7
Its basically done now, Having some results but buggy ATM
Will be releasing it here any day now.
Just searching the rite RSS Feed now.....

Really want to do a shout out to my wife who works at Quest Diagnostics to isolate and Kill this fricking thing.
Very brave women, not sure i would have the wavo's to handle this thing. Says a lot too.
Plan to catch her at lunch and take some shots of her all gear'ed up, i dont have access to her building,card key access sorta thing. Gotta sneak attack lmao. ill bring her lunch monday night... hehe
Never say no to free food,,,hehe

On another note, Over the years ive heard all kinda jokes, quips, otherwise foolishness  said about my little bunker......
Well , here we are.. At the end of the day, Mhmmmmmmm, I told u so. We will not be getting COVID-19... most likely survive it anyway but who wants to stick around for that. That's like sticking around while the police execute a search warrant. lolol
Im planning to buy 1200 lbs of MRE's and the water is well fed, so i guess u know. In preparation for job losses, Duke Energy has told all its customers it will NOT be turning power off due to lack of payment, till further notice, Way to go DUKE..... (Bows with respect)
Electricians rule
Stay safe, stay out away from crowds, Not scared, just serious about it.


Best from my family to all of Zabaware, we are family
cyber jedi





 





« Last Edit: March 15, 2020, 12:31:45 pm by cyberjedi »

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3552
    • View Profile
Re: Covid-19
« Reply #1 on: March 15, 2020, 09:47:30 am »
Nice one Cyber and a big applause to your wife and other health care workers!

Those who fail to plan, plan to fail.
In the world of AI it's the thought that counts!

- Art -

cyberjedi

  • Hero Member
  • *****
  • Posts: 614
  • The Mighty Hal Machine
    • View Profile
Covid-19 updater complete
« Reply #2 on: March 15, 2020, 11:24:41 am »
Re: Covid-19
Because of the malware being used in this (virus) nightmare ,ive supplied both copy/paste and download options here
Just kick back and enjoy HalNews
Read time is about 5 min, but hey, its the news.
The feed updates daily.
 Enjoy the tunes here i was listening too as i prepped this for u guys https://www.youtube.com/watch?v=cCXMr7oYHsI

UltraHal will now keep u updated on the latest news concerning this virus.
Trigger is (Search for corona update)

Tested and working on 6-7

cyber jedi
Code that matters.
Keep in mind im running JUST that plugin too.I have no idea what some 1 else may have setup.....
************************

Rem Type=Plugin
Rem Name= COVID-19
Rem Author= cyberjedi
Rem Host=All



Rem PLUGIN: PRE-PROCESS
    'The preceding comment is actually a plug-in directive for
    'the Ultra Hal host application. It allows for code snippets
    'to be inserted here on-the-fly based on user configuration.
HalBrain.ReadOnlyMode = True
'Determines that you are talking about the Corona Virus
If InStr(1,InputString, "Search for Corona update",1) > 0 Then
 UltraHal = COVID19(HalCommands)
ElseIf InStr(1,InputString, "Search for Corona update",1) > 0 Then
 End If

Rem PLUGIN: FUNCTIONS
Function COVID19(HalCommands)
Const SVSFlagsAsync = 1
Const DontShowWindow = 0
Const WaitUntilFinished = 1
Set WshShell = CreateObject("Wscript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")
Set Sapi = CreateObject("SAPI.SpVoice")
   For Each Voice In Sapi.GetVoices
       i = i + 1
   Next
For loopvar = 0 to i-1
if loopvar = CInt(confirm_voice) then
Set Sapi.Voice = Sapi.GetVoices.Item(loopvar)
end if
Next
Set xmlDoc = CreateObject("Microsoft.XMLDOM") ' <<<<< Hint Hint
Set WshShell = CreateObject("Wscript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")
HalMenu.HalCommand "<SPEAK>" & "Reading headlines !" & "</SPEAK>"
For loopvar = 0 to 2
If tempconfirm = loopvar then
if tempconfirm = 1 then
HalMenu.HalCommand "<SPEAK>" & "Currently reading " & confirm & " latest headlines" & "</SPEAK>"
else if tempconfirm = 1 then
HalMenu.HalCommand "<SPEAK>" & "Okay ." & "</SPEAK>"
wscript.quit
else
HalMenu.HalCommand "<SPEAK>" & "Currently reading " & confirm & " latest headlines " & "</SPEAK>"
end if
end if
xmlDoc.async = false
xmlDoc.load("http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml")
Set nodelist = xmlDoc.selectNodes("rss/channel/item")
i = 3
For Each item In nodelist
Set f1 = item.selectsinglenode("title")
Set f2 = item.selectsinglenode("description")
HalMenu.HalCommand "<SPEAK>" & f1.text & "</SPEAK>" 
HalMenu.HalCommand "<SPEAK>" & f2.text & "</SPEAK>"  ' if you REM/' this line, its much shorter.
i = i + 1
if i = tempconfirm then
wscript.Quit
end if
Next
end if
Next
End Function

« Last Edit: March 23, 2020, 09:59:57 am by cyberjedi »

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3552
    • View Profile
Re: Covid-19 updater complete
« Reply #3 on: March 16, 2020, 10:43:26 pm »
Cyber,

This one works very nicely. It does provide a fair-sized dose of the news and latest info on the Corona outbreak (COVID-19).

It worked perfectly on my Ultra Hal 7 on a Windows 10 laptop w/16GB and plenty of HD space so no worries.
Make sure you have TTS (Text-To-Speech) enabled as Hal's response is verbal and not always typed for reading.

Nice work Cyber! ;)
In the world of AI it's the thought that counts!

- Art -

cyberjedi

  • Hero Member
  • *****
  • Posts: 614
  • The Mighty Hal Machine
    • View Profile
Re: Covid-19 updater complete
« Reply #4 on: March 16, 2020, 10:55:04 pm »
Ty art:

All we got in this world is each other, Zabaware Rules and always have. Dont see SIRI, Cortana or the damn Hocky puck with its Riddy Scott movie premier

Ty for catching those typos on my end, damn eyes going bad.... time for some spech's
I hope other people like doony/ lightspeed /edge ect ect ect ect will incorporate it into there projects, its kinda small and packs a punch,  a fine addition. Long after the COVID-19 runs its course it will still be there delivering the news and breaking Hal records on how much he can say.
if any 1 wants Guiles agent characters ,full sized and set for news caster appearance just shout out, i have them all, My personal fav is the whispering wall. hes just to cool

cyber
« Last Edit: March 17, 2020, 06:28:01 pm by cyberjedi »

lightspeed

  • Hero Member
  • *****
  • Posts: 6483
    • View Profile
Re: Covid-19 updater complete
« Reply #5 on: March 22, 2020, 02:04:37 pm »
Thanks cyber, for all your hard work on many useful things . i just copied and put in your plug in and it works great . you mentioned  Guiles agent characters . was wondering which ones you had and they are working with hal ? you can send me a pm or e mail me .
  I am wondering about one thing , looked through thee code but didn't see it unless i overlooked it .  if there isn't an option , maybe putting in the option for a read only command of the word to stop the reading for the user . which stops it until search trigger is used again .
just a suggestion , again unless it's in there and i missed it .  :)
 

cyberjedi

  • Hero Member
  • *****
  • Posts: 614
  • The Mighty Hal Machine
    • View Profile
Re: Covid-19 updater complete
« Reply #6 on: March 23, 2020, 09:33:40 am »
Lightspeed: Stop button

lmaoooooo, ya buddy, thats the 64 thousand dollar question.

NOPE

You cannot take down that Script without Takin Hal's brain down as well, slinging an error.
This is why with the Companion, I hard coded the high end Script work as a separate entity. Also leaving Hals Mind Uncluttered to Thinking. also allowing the me the ability to start and stop the news at any point, and without crashing Companion. Thru Hal's main Script, A plugin to start/stop  will work and allow you to kill that process without takin down Hal as well, Options baby,,,,,, Options.
But with Ultrhal (You Guys) im limited as to what i can do. The Companion has a folder called Scripts that i can call to at will or close at will, Special Scripts.

Lightspeed, you can as well edit/play with the script to shorten the news,,, ect ect
Maybe point it at a diff rss feed.....
view-source:http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml
lotts of options in that little piece of code, look at it close, also open the page by rite clicking on it and look what Hal reads...
Keep in mind that Hal is NOT learning from this, Hal is just READING the NEWS.

Basically the same as Roberts work Halpad, I just decided to port it thru UltraHal's speech engine, thus eliminating any limitations Hal may have normally..
There are 1000's of these feeds for about anything
But once its starts, ur in it for the whole ride.
look at F1 and F2, Title /description, try cutting out the description, that will shorten it real quick
cyber

' HalMenu.HalCommand "<SPEAK>" & f2.text & "</SPEAK>" 'replace this with what u have
« Last Edit: March 23, 2020, 10:18:10 am by cyberjedi »

raybe

  • Hero Member
  • *****
  • Posts: 1051
    • View Profile
Re: Covid-19 updater complete
« Reply #7 on: March 23, 2020, 11:17:23 pm »
Many thanks to you and all my blessings to your wife for being on the front line like that.

Thank you to everyone here as well and please stay well.

raybe
 

cyberjedi

  • Hero Member
  • *****
  • Posts: 614
  • The Mighty Hal Machine
    • View Profile
Re: Covid-19 updater complete
« Reply #8 on: March 24, 2020, 11:18:10 am »
Raybe: TY

My wife is a brave women, at her age covid-19 kills.
She was able to retire last year, now its like she has dug her heals in....
Id prefer she just come home, she did her bit for king and country , YEARS ago. We both did.
They processed 1000 live cultures last night alone. Im told its Safe... hahhahha ya ok
As a man, im very moved, as a husband, you would need a poet to describe how i feel about my wife.
Ther working ther asses off to kill this bug, big things are on they way, any day now
There working on a test that you can just take at home.
https://www.pushhealth.com/services/coronavirus-test

This familys moto https://www.youtube.com/watch?v=FRyVV6Yy_Ns

cyber jedi
« Last Edit: March 24, 2020, 11:50:59 am by cyberjedi »

cyberjedi

  • Hero Member
  • *****
  • Posts: 614
  • The Mighty Hal Machine
    • View Profile
Re: Covid-19 updater complete
« Reply #9 on: March 24, 2020, 06:02:26 pm »
ART: lightspeeder: agent
PG13 rated posting, not intended for our little ones please.

whispering wall
jose
kiri (special)
legendary shodan
Nicole
Nicole rated R: When have i evert held back on u guys, u want it , u got it...... lightspeeder, hide this from ur wifes eyes... be warned...... lightspeed gonna get da frying pan..
liquidHalo
Vanessa
voyager
Here are what i consider the best agent charters ever created.......


cyberbudz get cybertreats

UltraHal's obedient servant
cyber jedi
« Last Edit: March 25, 2020, 10:19:01 pm by cyberjedi »

raybe

  • Hero Member
  • *****
  • Posts: 1051
    • View Profile
Re: Covid-19 updater complete
« Reply #10 on: March 25, 2020, 12:26:42 pm »
 Not to forget Robert M. for giving us this platform so we can have a social forum to express just about everything and still add something to what he has started, UH, more than just a program by bringing like minds together and place to share with some really amazing people.

raybe
 

cyberjedi

  • Hero Member
  • *****
  • Posts: 614
  • The Mighty Hal Machine
    • View Profile
Re: Covid-19 updater complete
« Reply #11 on: March 25, 2020, 10:37:54 pm »
Raybe: well said.
 Without Robert M, I wouldn't have this and its just that simple

Hal has allowed me to continue something that got interrupted when i was much younger, real life issues (Career)


UltraHal's Obedient servant
cyber jedi
« Last Edit: March 25, 2020, 10:41:45 pm by cyberjedi »