How does AWS Lambda invoke your Node.js function

Have you ever wondered how AWS Lambda invokes your custom Node.js function, purely in the context of JavaScript? Me neither, but after looking at the all possible ways you can define your function it sparked my interest to find out.

So in Lambda, let’s have our function defined as

exports.myHandler = function(event, context) {
  console.log("Event: " + JSON.stringify(event))
  return 'this is the result';
}

File: myIndex.js

Read More

Word Chain Leaderboard

Recently the Alexa Word Chain game got an upgrade – a global leaderboard where everyone that makes a good game in competitive mode can enter and compete against other players. The leaderboard can be found here http://word-chain.com/

I am very curious how this will turn out, will the GUI fit as a nice addition to the VUI of Alexa, or will it be too much of overhead for the Alexa users. Time will tell.

Good Vibe – better with 3rd party integrations

A recent new feature in Good Vibe, called Web Text-2-Speech allows it’s users to link the response of their commands to web content. This can be anything from a file or wikipedia article, to news item or weather report. Unfortunately not all sites are supported, the content of the website needs to be structured with main article sections, in order for a proper parsing of the site. Behind the scenes it is using a mix of custom code and the great tool https://github.com/ageitgey/node-unfluff for parsing the content.

To give more insights I am starting to write up integration tutorials. By popular demand of Good Vibe’s users we are starting with Dropbox and iTextPad

Can’t wait to see what other uses people will find!

Optimize Clarity CSS

clarity_logo.21dda15557a6ebf26fce
VMware’s Clarity provides very nice and clean styles to typical HMTL components. In this topic we will focus only the CSS section of Clarity that can be used with vanilla JS, without the Angular components. It suits well if you want a common look and feel across your site or app, similarly to Twitter’s Bootstrap. Now there is small problem, the range of components the CSS covers is a lot, and even minified it is ~770KB. But for a small and medium websites most likely you would use just a fraction of what the whole library can provide. Read More