Tag Archives: IBM Bluemix

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.

Develop a public transportation system simulator with Node.js and Analytics Warehouse on IBM Bluemix

Develop a public transportation system simulator with Node.js and Analytics Warehouse on IBM Bluemix

Learn how to build a JavaScript app to simulate public transportation and connect it to a server using the web framework Node.js. To show you how this app can be useful in the future, we show you how to connect your application to Analytics Warehouse, which provides the ability to process and evaluate a large amount of data from a public transport system in a short time.