Tag Archives: Watson

Node-RED for Topcoder Challenges with IBM Bluemix & Watson

via Node-RED for Topcoder Challenges with IBM Bluemix & Watson – topcoder.

For the past week I’ve been obsessed with Node-RED. If you are not familiar with it, Node-RED is an open source IBM technology for “wiring together hardware devices, APIs and online services in new and interesting ways”. Since Node-RED is built on Node.js, this makes it ideal to run at the edge of the network on low-cost hardware such as an Arduino or Raspberry Pi as well as in the cloud.

Similar in methodology to Yahoo! Pipes, Node-RED initially started as a visual tool for wiring IoT but has developed into a service that can do all sorts of crazy things. Installation is simple but to make life easier, IBM Bluemix offers a Node-RED template so you can get a web app up and running in no time.

I went through the “create your first flows” tutorials but I wanted to make something more substantial utilizing some of the super sweet IBM Watson services. Here’s what I created, and in the end, it was ridiculously simple to build. A video of the flow in action is embedded at the bottom of this article.

  • Calls the topcoder RSS feed for JavaScript challenges every hour.
  • For each new challenge, call the challenge API to get its details.
  • The flow only processes challenges where the type is ‘Assembly Competition’ and the total prize money is greater than $1500.
  • Translate the name of the challenges and its requirements into Spanish using the Watson Machine Translation service.
  • Save the Spanish overview of the challenge to MongoDB.
  • Tweet the challenge name (in Spanish) and a link to this application so that the Spanish requirements can be viewed.

Video: Building a Java EE webapp on IBM Bluemix Using Watson and Cloudant

This video goes through a demo/workshop on how to build a Java EE App that using Cloudant and Watson to suggest employee recommendations. The app also using JQuery, Angular, and Bootstrap on the frontend. This app was internally developed by IBM employees at a 48 hour hackathon.

Video: IBM Bluemix Text to Speech

This show will feature our very first, but definitely not our last, look at IBM Bluemix. Bluemix is a Platform as a Service solution from IBM that gives you tools to quickly build web and mobile applications. IBM is even adding XPages capability and the original NoSQL database, Domino .nsf , capability to Bluemix.

In today’s show Mark Roden comes on to show how you can connect with IBM Watson and harness it’s Text to Speech capability. It’s very cool.

5 new IBM Watson services

Text To Speech demo

Getting started with Text to speech

Video: Twitter with Watson using bluemix node red

Using bluemix and node red I connected watson with twitter in just 14 minutes..!! Watch this tutorial to learn how to connect watson with twitter..!!

Watson Generator

generator-watson Build Status

Yeoman generator

Getting Started

What is Yeoman?

Trick question. It’s not a thing. It’s this guy:

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

npm install -g yo

Yeoman Generators

Yeoman travels light. He didn’t pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.

To install generator-watson from npm, run:

npm install -g generator-watson

Available Generators

The following are a list of available generators that are part of the Watson Generator and a description of what each does.

Watson Environments

Sets up one of the Watson Development Environments (but does not install the system requirements). Will create your Vagrantfile and, if --skip-install or --skip-setup isn’t passed, will run vagrant upfor you.

yo watson:environment
yo watson:env