Search

john mcnamara

writing, gaming, inventing, hubby and daddy = me

Month

November 2014

Great post from the MQ Light team on Node-RED, Watson and Bluemix

Such a great post from Matt Whitehead of the MQ Light team showing you how to harness the power of Watson using Node-RED with Bluemix. Just check this out from the MQ Light blog

https://developer.ibm.com/messaging/2014/10/10/mq-light-nodes-available-node-red/

Matt writes…

If you are using Node-RED in Bluemix you can now connect your flow to MQ Light using the new input and output nodes.

mqlight input node MQ Light nodes are now available in Node RED                               mqlight output node MQ Light nodes are now available in Node RED

Using the nodes you can offload work from your application to be processed by a Node-RED flow, using function nodes, sentiment analysis, IBM Watson Q & A, or any other function Node-RED provides. Then you can have the flow return the results back to your application as an MQ Light message.

Here’s a simple flow I created using the new nodes:

mqlight flow example 1024x331 MQ Light nodes are now available in Node RED

I’ve configured an MQ Light input node to subscribe for messages on the topic ‘data’, and wired the node to both a sentiment analysis node and an IBM Watson Q & A node. The results from the two parts of the flow are returned to my application on the topics sentiment/response and watson/answer respectively. I’ve also used a function node to prevent answers from Watson being sent back to my application if the confidence of the answer isn’t high enough.

Back to it

Adventures in BJJ

Hello again grappling, it’s been a while.

Discovered an ideal local BJJ club called UltimateBJJ. Great instructor and great class. Really looked after me. Quite a find.

So, what did I learn today?

1. Conserve strength and energy.

Made the mistake of trying to brute force my way through the first 3 mins in the initial drills/rolls. Not a good idea. Just means you have no energy or strength for the next 57 minutes, which is not ideal.

2. I really hate knee on belly.

I feel like i’m being stapled to the floor. Also not being able to breathe, when you are already out of breath, limits your options significantly. Also pain hurts.

3. Side mount is much more fun when you are the instigator.

It’s great when you get side mount, coz you also get a little breather. Being in side mount when you are tired and a…

View original post 48 more words

Ultimate BJJ

Well it’s Monday night – so prepping for my BJJ session tomorrow. Little worried about the awesome level of fitness the guys have. The warmup was quite serious and there was lots and lots of rolling toward the end. Everyone looked fresh.

On the plus side everyone seems pretty cool and very welcoming.

Injury report tomorrow.

Two awesome technologies meet – Node-RED and MQ Light – Free to Play!

OK, this is pretty epic.

Two spanky new technologies have collided to provide a cornucopia of possibilities for the hack minded. One half of the collision of awesomeness is the vaunted Node-RED – which is simply the most easy to get to grips with tool for wiring up the internet of things ever invented. The other is the brand new, just G.A’d MQ Light – which allows developers to add powerful but incredibly simple messaging functionality to their apps.

Now, there are MQ Light nodes in Node-RED allowing you to wire up your apps to the Internet of Things with ease…

Matt Whitehead from the team that built MQ Light had this to say…

If you are using Node-RED in Bluemix you can now connect your flow to MQ Light using the new input and output nodes.

mqlight input node MQ Light nodes are now available in Node RED                               mqlight output node MQ Light nodes are now available in Node RED

Using the nodes you can offload work from your application to be processed by a Node-RED flow, using function nodes, sentiment analysis, IBM Watson Q & A, or any other function Node-RED provides. Then you can have the flow return the results back to your application as an MQ Light message.

Here’s a simple flow I created using the new nodes:

mqlight flow example 1024x331 MQ Light nodes are now available in Node RED

I’ve configured an MQ Light input node to subscribe for messages on the topic ‘data’, and wired the node to both a sentiment analysis node and an IBM Watson Q & A node. The results from the two parts of the flow are returned to my application on the topics sentiment/response and watson/answer respectively. I’ve also used a function node to prevent answers from Watson being sent back to my application if the confidence of the answer isn’t high enough.

Check it out more here

Watching how it should be done

Thought for the day. Mindful of the fun to come tomorrow evening I wanted a refresher on how it should be done.

Check out this match between Kron Gracie and Sousa. In the end the legendary Gracie catches his opponent with text book arm bar – but for me the epic lays in the way Sousa kept Gracie at bay with his awesome guard work.

Helio Gracie maintained that the guard is like a F1 racing car. Its insanely powerful and so you need to be awesome to use it effectively, otherwise you will spin out and crash. Sousa keeps a legend at bay for 15mins by driving his guard supremely well. Then finally he spins out and Gracie taps him seconds later.

Solid hard earned technical ability of Sousa vs the natural brilliance of Gracie. One to watch…

http://youtu.be/Iew0IFRFtqk

Things i need to do

OK. So first a no effort thing. Need to read Jezz’s awesome graphic novels. Lent to me is the awesome Stephen King The Tower series, which im sure was a series of books way back when. The first being the Gunslinger. I shall read that tonight.

Tuesday – im off to Ultimate BJJ – its been too long since I trained properly and this club is nr Hursley so no harm trying it out. Looks to have good lineage too. Same facility does Judo on a Thurs – so miiight check it out. Judo and BJJ compliment each other well, its just a question of whether my body will break first.

Should keep me busy till the next blog post.

Blog at WordPress.com.

Up ↑

%d bloggers like this: