Creating Zipped Actions in OpenWhisk

As I continue my journey of learning serverless and OpenWhisk, today I’m going to talk about another way to deploy your code - zipped actions. So what do we mean by zipped actions? Previously I demonstrated creating actions based on single files. So action Cat was based on the file cat.js. You can also create actions as a sequence of other actions. Zipped actions are basically JavaScript files packed up as a npm module.

Read more

Quick Tip for Testing OpenWhisk Actions Locally

January 10: So after posting this yesterday, Carlos and I found some issues with both the ‘hack’ recommendation you add to your code as well as the test script. I’ve rewritten the post to reflect those updates. If you read this article already, be sure to read it again for the latest version. I’d like to share a quick tip for working with OpenWhisk. Credit for this goes to my coworker Carlos Santana.

Read more

A Survey for CFML Users (Past and Present)

A few days ago, myself, Adam Cameron, and others, were chatting on Twitter about having moved on from ColdFusion, and what’s keeping other people from doing the same. I know I’ve spoken with folks via email who would like to try something new, but aren’t sure where to start. One of ColdFusion’s strengths is how easy it is to pick up, and certainly it stood out for that quality for many years.

Read more

An Example of an OpenWhisk Sequence

This isn’t going to be terribly complicated, but as I thought it was kinda cool, I thought I’d share it. I’m currently working through the OpenWhisk workshop, a Node School-ish set of problems/tasks to help you learn the basics of OpenWhisk. One of the problems has you build a sequence, and while I recommend folks try to solve the problem for themselves, I thought I’d share my solution and what I discovered while working on it.

Read more

An example of the Ionic 2 Menu Component

In general, I find components in Ionic 2 to be simpler and easier to understand than their V1 versions, but for some reason, I was incredibly confused by the docs for working with the Menus component. Documentation exists of course, but it just didn’t make sense to me. (I documented my problems in this issue for folks curious.) What follows is my own understanding of how to work with menus in Ionic 2 and some basic things to keep in mind.

Read more

Getting Started with OpenWhisk

For folks who have been reading my OpenWhisk blog entries this past week or so, I’ve started working on some videos that demonstrate what I’ve been covering so far. I only have three done currently, and two cover material I’ve already done, but I thought it might be a useful addition to what I’ve demonstrated on the blog. The first simply demonstrates the CLI and creating/calling actions: The second demonstrates how to work with asynchronous actions (and includes the Star Wars API!

Read more

Building a Serverless API Proxy with OpenWhisk

One of the more common tasks we do with a server-side application is to build a simple API proxy. By that I mean we expose an API on our server that simply proxies to another remote server. Why might you do that when you can easily call APIs client-side with JavaScript? The remote API may require a key. Including your key in your JavaScript code means it is exposed to the public and can be used by others, potentially locking you out of the API or running up your charges.

Read more

Advent of Code - Day 15 to 20

So yep - I definitely didn’t finish Advent of Code before Christmas, but I’m mostly done (20 out of 25 days) and I plan to keep at it in the next week or so. This post will cover a bunch of days, so forgive the length! Day 15 Day 15 had an interesting concept. Given a set of discs with holes in them that turn every second, at what point would you be able to drop a ball so that as it fell, it would always hit holes.

Read more

My 2016 and my plans for 2017

Continuing my series of blog posts no one will actually read, I thought I’d spend a few minutes looking at what I accomplished last year and what I plan to do next year. This is not meant to be a “Look at how great I am!” type post, but mainly as a way for me to recognize what I succeeded at and what I failed at. I also assume no one will actually read this, but it helps me gather my own thoughts and helps me prepare to (hopefully!

Read more

Favorite Media in 2016

As the year winds down, it’s time for me to switch from mostly technical posts to mostly lame, casual, and fun (for me anyway) posts about the year that is about to end. Most of my traffic comes from folks Googling for particular topics, so the only folks who will end up here (probably) are regular readers. I hope you enjoy this list of all the books, movies, video games and music I really enjoyed this year.

Read more