Anthony Watson news

President of Bitreserve, a bitcoin trading startup.

World latest news

How I built a Telegram Reminder bot with Node JS, the IBM Watson API and Firebase

How I built a Telegram Reminder Bot with Node JS, the IBM Watson API and FirebasePhoto by Rock’n Roll Monkey on UnsplashTable of ContentsIntroductionPrerequisitesCreate the bot with Node JSConnecting the bot to a real time DB(Firebase)Run the Cron JobScript to connect to the IBM Watson APIDeploy to GlitchConclusionIntroductionThis Telegram bot, would simply take three commands./start — Initializes our bot./save — Saves the string we will like to be reminded of later./time — Saves the time we would love to carry out this task.Then, this data is saved to firebase, and a cron job is initialized, which will run at the set time. This cron job, sends a text reminder to the user, and is then converted to an audio file, using the Text to Speech IBM Watson API, and is also sent to the user.PrerequisitesA Telegram bot, This bot can be created by sending a ‘/start’ message to the Bot Father account on Telegram. The bot token should also be gotten.An IBM watson account (it’s free).A real-time database, firebase / firestore.A Glitch account, which just needs your Github account.A little bit of regex and bash(Nothing to be worried about).Create a bot with Node JSOk, to begin, we will need to install the modules we will need. So from our directory, we will run this in the terminal:$ mkdir telegramBot && cd telegramBot$ npm init$ npm install node-telegram-bot-api node-cron firebase-admin shelljsWe will be using the node-telegram-bot-api as a wrapper. To begin, we will create an index.js file in our directory. We will add the following lines to our index.js file: we initialize the bot with the token gotten from the Bot Father account. The polling option on line 6, keeps the channel between the bot and the user alive. Its a web socket thing. We also declare a reminder variable, which holds what we want to be reminded of./startThen, we will have our server listen to when the ‘/start’ command is inputted by our user. So we will add an onText listener, to the index.js file. listens to when the ‘/start’ command is passed, and then responds with a callback that contains a ‘msg’ object which holds the chat id, the name of the user etc.When this condition is met, the bot sends a message to the chat id, asking what the user, what he wants to be reminded of. So we are done with the first command!/saveThis command will save what we want to be reminded of. This listener will be triggered after the ‘/start’ command is passed. So we will pass this function, in the promise returned(.then) we listen to when the ‘./save’ is entered, and then the ‘match’ variable in the callback returns an array with what is matched.If the user enters /save ‘wash my clothes’, then the ‘wash my clothes’ string will have the first index in the array i.e [‘/save wash my clothes’, ‘wash my clothes’]. When this is gotten and saved, we then send a message asking for the time. We are done with the second command!/timeNow, we will save the time. This should be entered in the promise chain of the save command. We want to save the command with the format, HH:MM:SS:(AM OR PM). So our time function should look like this: the regex, matches the format, and then we get the time by splitting the match response. The match variable looks like this:[ '/time 06:33:33:PM', '06', '33:33', 'PM', index: 0, input: '/time 06:33:33:PM' ]So splitting the first item in the array, we get 06:33:33:PM, and then we send a thanks message. But our bot doesn’t actually save the users request yet, and it surely doesn’t remind the user. So we need to fix this.At this stage, our index.js file should look like this: interaction with our bot, should look like this:Connecting the bot to a real time DB(Firebase)Now, we will create a database.js file in the root of our directory, which will handle our connection to the firestore db. Our database.js file should look like this:, we can import our database.js file at the top of our index.js file.const db = require('./database').database;We also want to save the user’s request with the user’s chat name, but if the user makes more than one request, it will be a duplicate. So we can attach a random string to each document to be stored on firestore. To do this, we’re going to create a helper.js file in our root, and it would look like this: returns a string with whatever length we pass. We can also import this file at the top of our index.js file.const generator = require('./helper');Now, we will go back to the function that handles our /time command, before sending the ‘Thank you’ reply, and then we add this:, i created a collection on my db called ‘reminder’. And then i pass the payload using the .set command to that collection. Now, there is a hasUserBeenReminded key, which helps us keep track of if the user has been reminded of a certain task.If we interact with our bot again, after running the /time command, our db should look like this:firestore dbIf this works fine, we can then run a cron job, to remind the user at the set time. We can add the dependency at the top of the index.js file.Run the Cron Jobconst cron = require("node-cron");Then, we can continue with the function that listens to our /time command. we basically get the hour and the minute the user wants to be reminded of a certain task, and then schedule it with the cron dependency. Normally, the cron scheduler has a pattern:* * * * * *These asterisks represent the second(optional), minute,hour,day,month and year respectively. So we ignored the second option, and chose the hour and minute. When it’s time, the event is triggered, and the reminder is sent, the hasUserBeenReminded key is also set to true.We should have a message like this, when the time comes.Script to connect to the IBM Watson APIWe also want the bot to send a voice note of our reminder. Something like a ‘wash your clothes’ will do. To do this, we will use the text to speech service on the IBM Watson API. This will convert the file to an audio file of the format we want(Telegram accepts the .ogg format) and then upload it.To do this, we will be writing a simple shell script. We will name the file,, and it should look like this: ‘$1’ gets the first argument when the command is run. That will be our text. And then if that argument is not empty, do a post request with curl, else display a string ‘No arguments’. If this runs successfully, the output remindersss.ogg will be added to the root directory.We can run this in the terminal with the sh command, but to run this in node, we will need to add a dependency at the top of our index.js file.const shell = require('shelljs')So now, we will run this with the shell.exec command, and then the first argument will be what we want to be reminded of. will execute the shell script, and then pass the reminder as the first argument. Then we send the audio to the user!Our Interaction with the telegram bot should look like this now:Audio file sentDeploy to GlitchOk,this is really just plug and play. After creating a project on glitch, just copy and paste your code there, and you’re good to go.ConclusionThis project still has many rough edges, one of which is queuing, because it takes just one request at a time among others. If you need clarification, there is a repository for it.Thank you very much for reading,if you liked it, please clap. if you have any questions or you need further clarification, you can leave a comment or a mail( I built a Telegram Reminder bot with Node JS, the IBM Watson API and Firebase was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.

Your personal assistant in cryptocurrencies powered by IBM Watson takes the plunge!

The French startup Daneel is launching its first Artificial Intelligence of the same name and dedicated to helping investors and newcomers in the cryptocurrency market by providing them with advanced market data analysis. The Smart Assistant is available on the AppStore and Google Playstore. Today marks a turning point for the French startup, Daneel, with the launch of its flagship product to the general public: a personal assistant in cryptocurrencies that promises to assist investors and beginners. Daneel provides the most relevant data from the cryptocurrency market such as a curated newsfeed avoiding fake news, rumors and filtered according to the user’s need. The Smart Assistant is also capable of retrieving the market sentiment and emotion by analyzing millions of data from social medias, forums and crypto-specialized websites. Inspired by their own needs as cryptocurrency investors, the team behind the project wanted to address a very real market problem, namely information overload and unreliability. From this came the idea of an intelligent assistant capable of gathering, filtering and analyzing information to make it intelligible. To achieve this goal, the team has surrounded itself and entered into a partnership with the giant IBM, using Watson, one of the most powerful AIs on the market, which allows Daneel to manage the news in an optimal way and to bring out the subjective information in a text, in particular to improve the market sentiment score. Joseph Bedminster CEO & Founder at Daneel says: “We believe that Blockchain and cryptocurrencies are stunning new technologies that should be within everyone’s hands. Our goal is to support mass adoption by helping novices and businesses to get on board and to provide them with the most reliable data from the market in the easiest way possible: by simply asking for it” Jonathan Fianu, Director at PredictX [A.I] & entrepreneur says: “The design of the Daneel beta app in particular stood out as being well styled and fluid. I see real value in the daily news feed and market sentiment update.” Here is how Daneel will help crypto users: News curation: global and per currency Market sentiment: global and per currency Education: through a daily learning program and by asking Daneel in the chatbox Market insights: current trends and price prediction. Market data: prices, volumes, basic information on currencies, ratings, best rates on exchanges, events, biggest gainers/losers. Beyond the standard use cases through the Mobile App, the platform is also designed to benefit key stakeholders in the background such as exchanges, banks, VCs and professional traders. Overall, by providing these ‘background’ partnerships in conjunction with standard user- facing personal assistant, Daneel is not only a complimentary companion to users trading on a cryptocurrency exchange; but is already designed to interface with existing platforms that enable Daneel to have a more macro-level impact. This is possible thanks to the integration of a Daneel Widget or by using Daneel’s data flow through an API enhancing the stakeholder’s services offering. Links: AppStore Playstore Website Contact information: Website Harold Kinet B2B General Request The post Your personal assistant in cryptocurrencies powered by IBM Watson takes the plunge! appeared first on AMBCrypto.

Report: NIST to use IBM’s Watson AI system to score vulnerabilities

The U.S. National Institute of Standards and Technology (NIST) reportedly plans to replace its method of scoring publicly disclosed vulnerabilities with a new automated process leveraging IBM’s Watson artificial intelligence system. The agency expects Watson to supplant its current Common Vulnerability Scoring System (CVSS) process for most bugs by October 2019, according to a report from Nextgov, citing Matthew Scholl, chief of NIST’s computer security division. IBM has confirmed this account to SC Media, which has also reached out to Scholl for additional comment. A key advantage of using AI is that it should ease the burden of NIST analysts who are currently tasked with reviewing thousands of vulnerabilities every week. “Artificial Intelligence is solving the manual effort problem that many organizations face. For security leaders, it’s important to know that not all AI is equal, but when the right choice is made, the benefits from a time, cost, and resource perspective can be immense,” said George Wrenn, CEO at CyberSaint Security, a company specializing in automated intelligent cybersecurity compliance. “It is no surprise NIST is delving into this area,” he added in emailed comments. Reportedly, Watson participated in a pilot program earlier this year in which it processed hundreds of thousands of older vulnerabilities and corresponding CVSS scores, and then asked to score new vulnerabilities based on that precedent. Whenever the new bug was similar to a previously studied vulnerability, Watson fared very well, scoring the flaw similar to how a person would. But if the bug was something unique or highly complex, like the Spectre vulnerability that was discovered earlier this year, Watson reportedly struggled. As a fail-safe for this issue, Watson will produce a confidence percentage for each score. If the AI engine’s confidence percentage falls under the high 90s, the human analyst will take over the review, and edit the risk score accordingly. Gabriel Gumbs, VP of product strategy at STEALTHbits Technologies, said in emailed comments that NIST’s use of Watson holds even more potential. “Applying AI, and in particular Watson to the scoring of vulnerabilities will be useful for keeping up with the increased NIST workload; however, I don’t foresee this addressing the issue of organizations still not patching their systems in time,” said Gumbs. “In theory, the ranking of vulnerabilities helps prioritize which systems in first and how soon those patches are applied. I believe this program could go a step further and score both the inherit risk, and the residual risk of vulnerabilities when other controls are in place. This would allow for real-world patch prioritization scenarios where organizations can apply controls that can be rolled out faster than a patch, and in cases where patches do not [yet] exist still reduce their exposure.” The post Report: NIST to use IBM’s Watson AI system to score vulnerabilities appeared first on SC Media.
SC Media

CEO Of John McAfee’s Team, Jimmy Watson, to Lead McAfee Alliance Initiative

In a series of Tweet, Jimmy Watson, the CEO of Team McAfee has announced that he will be launching McAfee Alliance, “in the name of crypt.” Corruption must be added to the list of these three exchanges: @hitbtc @kucoincom @BitZExchange we have alliances joing @McAfeeAlliance in the name of crypt! I ask all leaders and many others to have an honest voice for the presidential world stage. @newsbtc — Jimmy Watson (@McAfeeExecutive) August 30, 2018 Although no official announcements have been made, Jimmy has said that he’ll be posting a link to McAfee Alliance Agreement. He urged the people who want to be a member of the alliance to carefully read the agreement before signing. .@TheCryptomist was referenced as an incredible crypto influencer; the example of who @mcafeealliance! Fox Business News @newtothestreet joined the alliance to name a few! I will post link to McAfee Alliance Agreement. To be member read carefully, but do not sign if not ready! — Jimmy Watson (@McAfeeExecutive) August 30, 2018 He said big names like Fox Business, KuCoin, HitBTC, BitZ and much more are joining the alliance. The alliance agreement releases within 24hrs and Fox Business News has joined! Once this gets rolling it will make good examples of @kucoincom @hitbtc @BitZExchange its not to late to save your exchange, if only pride did not exist. Two of you will Say I’m bluffing? One will not. — Jimmy Watson (@McAfeeExecutive) August 30, 2018 Jimmy has asked multiple times for truce in the crypto ecosystem. “How can you fight within your ranks when your fort is besieged by stronger enemy?”, he said. How can you fight within your ranks when your fort is besieged by stronger enemy? You said it best: “Don’t confuse them with all that tech talk.” Please do not spread strife or attack each other. If @Bitfi6 is against @LedgerHQ or crypto X is against crypto Y CEASE FIRE!! — Jimmy Watson (@McAfeeExecutive) August 30, 2018 Even John McAfee recognized his CEO’s efforts and said, “He has battled on several fronts and his story of struggle and overcoming governmental corruption is hard to believe, until verified it myself. He knows what he's doing and he has strategy to unite from the heart not with greed!” CEO Jimmy Watson is opening @McAfeeAlliance! He has battled on several fronts and his story of struggle and overcoming governmental corruption is hard to believe, until verified it myself. He knows what he's doing and he has strategy to unite from the heart not with greed! — John McAfee (@officialmcafee) August 30, 2018
Bitcoin Exchange Guide

WatermelonBlock Uses IBM Watson AI for Sentiment Crypto Market Analysis

Understanding how the cryptocurrency market thinks and feels, can lead to much brighter investment decisions, suitable for all investors and their afferent lifestyles. WatermelonBlock represents a platform that harnesses AI and Big Data technology, to create cutting-edge sentiment analysis on the crypto market, displayed in an intuitive manner. Disclosure: This is a Sponsored Article Now, WatermelonBlock has announced a partnership with the IBM Watson AI, which is a ground-breaking, cloud-computing platform capable of scanning, weighting, categorizing and analysing big sets of data within seconds. Via the partnership, WatermelonBlock will leverage the Watson AI resources, alongside its proprietary algorithms, to help compute an index score and percentage for all cryptocurrencies and ICO tokens. The sentiment analysis stands for studying the influence of opinions present on the market, to learn more about how it thinks, feels and reacts to stimuli. Watson AI will help the platform efficiently read and categorize big data sets, and determine their social influence, and potential reach. In other words, WatermelonBlock grants individuals the ability to stay on top of investment information, for quicker and smarter investment decisions. In a recent press statement, Boris Manitius of IBM Cloud, mentioned: “IBM is extremely excited to partner with WatermelonBlock (…) Through this partnership, WatermelonBlock’s dedicated team of data scientists, will work with IBM industry experts and IBM state of the art equipment to develop, test and monitor a system that will augment WatermelonBlock’s current environment”.   This means that once the system is fully deployed, investors will no longer need to dedicate large amounts of time, and mental resources to constantly read, understand and analyse the market by themselves. Following the announcement, Elliot Rothfield, the co-founder of WatermelonBlock mentioned: “Through this partnership, WatermelonBlock and IBM can provide investors with real-time actionable insights and detailed contextual analysis at the press of a button, making the user experience easy from start to finish.” Based on everything that has been outlined so far, WatermelonBlock will provide actionable, real-time investment insight via its algorithms and the IBM Watson AI. As part of its future phase II implementation, machine learning will be leveraged to understand behavioral finance, and sentimentally analyse big data sets.
More news sources


Hot news

Hot world news

Ripple’s RippleNet XRP Showcases Real-World Effectiveness: Mercury FX

After partnering up with the firm behind the second largest coin XRP [XRP] Ripple as one of the +200 costumers, Mercury FX announced via their official twitter handle that they transacted their largest payment across RippleNet with a positive conclusion. 1/1 We've made our largest payments across RippleNet using #XRP – 86,633.00 pesos (£3,521.67) from the U.K. to Mexico in seconds. — Mercury-fx Ltd (@mercury_fx_ltd) January 17, 2019 Using XRP, the firm transferred £3,521.67 or $4,552.41 while they cited that UK based Mustard Foods was able to save £79.17 and 31 hours on the transaction. Mustard Foods could be one of the best examples of the impact of using RippleNet could have as it opened doors to cheaper expenses, quicker orders and faster payments. As covered by John P. Njui on EWN a few days ago, The Ripple company has announced via its website that 13 new financial institutions have joined RippleNet thus propelling the number of total global customers to over 200. RippleNet currently operates in 40 countries across 6 continents. Out of the 13 aforementioned financial institutions, 5 are confirmed as using XRP to source instant liquidity for their cross border payments. The are JNFX, SendFriend, Transpaygo, FTCS and Euro Exim Bank. By the end of this year [2018], major banks will use xRapid as a liquidity tool. By the end of next year [2019], I would certainly hope that we will see…in the order of magnitude…of dozens. But we also need to continue to grow that ecosystem…grow the liquidity. – Brad Garlinghouse The success behind the team from Ripple could be standing by their marketing strategy and future plans of making the financial industry a better place to be. While not displacing traditional banking systems but helping them make payments cheaper and faster, it is finding its way to take spotlight in the crypto-verse. The post Ripple’s RippleNet XRP Showcases Real-World Effectiveness: Mercury FX appeared first on Ethereum World News.
Ethereum World News

BRD Wallet Expands Crypto User Access Across Europe With Coinify Partnership

Coinify, a European-based financial platform that provides a wallet, trading and payment processing solution, has announced that they are integrating BRD Wallet into their platform to deliver BRD wallet access to users across the European region.Specifically, the partnership provides access to virtual currencies, like bitcoin, to 34 countries across the Single Euro Payments Area (SEPA). The SEPA region is a collection of member states in Europe who are part of a payment system that simplifies bank transfers denominated in EUR. The launch is also enabled largely in part by Coinify’s newly rebranded trading solution for wallet partners.Customers will now be able to use BRD Wallet to “purchase bitcoin at cost-efficient rates with SEPA bank transfers” within Coinify’s trading platform. With BRD integration, customers will also retain control over their private keys while using Coinify.Essentially, this provides a large number of users with an efficient and secure way to buy bitcoin and other cryptocurrencies, and then allows them to immediately store it in a manner where they control what happens to their money. Typically, a user will entrust the custody of their private keys to a centralized exchange while they are waiting for trades to be executed and sometimes for much longer than that.Aaron Lasher, co-founder and chief strategy officer at BRD, highlighted the advantages of the integration for security-focused users of the Coinify platform.“We like exchanges and think security will get better in the future, but by using our integrated purchase and trading solutions, you get to keep your funds under your control 99 percent of the time, and only put them at a slightly higher risk for a short period when you make the exchange,” Lasher told Bitcoin Magazine.“Using a non-custodial wallet means that you and you alone control your funds. It’s similar to having physical cash in a (highly secure) safe at home. Only in this case, we provide our customers a digital safe (the BRD wallet) that they can keep in their pocket and carry along. Nobody else in the world has access to your funds but you, and nobody can stop you from sending or receiving funds.”Integrating a wallet that allows users to own their funds and seamlessly make trades on a platform like Coinify could help to push bitcoin adoption forward."The financial industry is ripe for disruption and we see bitcoin and the other virtual currencies as the future of payments,” said Rikke Stær, chief commercial officer at Coinify, told Bitcoin Magazine. “At Coinify, we have experienced first-hand the rising adoption of bitcoin and working with BRD as a user-friendly, decentralized wallet will only encourage the global reach of the currency."“Since launching as the first iOS bitcoin wallet in the App Store over 4 years ago, we’ve grown tremendously in North America,“ Adam Traidman, CEO and co-founder of BRD, said in a statement. “Europe will be strategic in the next phase of BRD’s global growth, and the partnership with Coinify will ensure our success in this crucial endeavour.”In August 2018, Canadian-based Coinberry exchange launched a similar BRD integration, allowing users to quickly and seamlessly buy, deposit and withdraw bitcoin on the Coinberry platform, while keeping control of their keys at all times. This article originally appeared on Bitcoin Magazine.
Bitcoin Magazine

Crypto Payments Service BitPay Reports It Saw Over $1 Billion in Transactions in 2018

Crypto Payments Service BitPay Reports It Saw Over $1 Billion in Transactions in 2018 Major cryptocurrency payment service provider BitPay has reported $1 billion in transactions this past year, according to a press release Jan. 16. According to the report, the company also set a new record for itself in terms of transaction fee revenue. […] Cet article Crypto Payments Service BitPay Reports It Saw Over $1 Billion in Transactions in 2018 est apparu en premier sur Bitcoin Central.
Bitcoin Central
By continuing to browse, you agree to the use of cookies. Read Privacy Policy to know more or withdraw your consent.