My Own OpenWhisk Stat Tool

While waiting at the airport this past weekend, I worked on a little utility to help me retrieve information about my OpenWhisk actions. As you know (hopefully know!), Bluemix provides a “stats” page for your OpenWhisk stuff but it is a bit limited in terms of how far it goes back and doesn’t yet provide good aggregate data about your action. So for example, I really wanted to see how well my action was responding in a simple tabular fashion.

Read more

Some thoughts on HoloLens (and the new Surface Laptop)

I’m currently at the tail end of my first Microsoft Build conference and had the chance to spend time with the HoloLens. I thought I’d share what it was like to use it in person since the videos don’t really do it justice. I’ve also had the chance to get hands on the new Surface Laptop and I’ll talk about that at the very end. I want to begin with a bit of context about what exactly the HoloLens is.

Read more

Enabling CORS for an OpenWhisk Action

A few weeks ago I blogged about how to enable CORS for OpenWhisk Web Actions. In case you aren’t aware, CORS is the standard way to allow client-side web applications to access your APIs. (JSON/P, an older method, still works, but CORS is really what you should use.) If you read the post, then you know it isn’t too difficult at all, but I wanted to share another way of doing that’s even easier.

Read more

Launching Today - Serverless Weekly

The title says it all. I’ve been a fan of the Cooperpress weeklies for sometime now and I’m happy to say I’m helping them launch a new one - Serverless Status. (Yeah, I called it “Serverless Weekly” above, but you get the idea. ;) As with the other weeklies, this a free newsletter providing interesting links concerning serverless stuff. This will include blog posts, demos, product announcements and more. I’ll be contributing to it, so feel free to DM or @ me suggestions.

Read more

Building Your Own Serverless Search Engine with OpenWhisk

This is a demo I’ve been working on for some time. It isn’t necessarily that complex (or cool), but it’s just taken me a while to get the parts together. As you know, I’m a huge proponent of static site generators. My own site is run on one and I recently released released a book on the topic with Brian Rinaldi. One of the things I cover in the book is how to “bring dynamic back” to a static site.

Read more

OpenWhisk Sequences as Input/Output Providers

I’ve been thinking a lot lately about sequences and OpenWhisk. A few weeks ago I blogged about how well sequences work to let you “mix and match” different actions into new creations. Today I’m writing about another powerful feature of sequences, that as “Input/Output Providers”. I’m not necessarily sold on that name, but hopefully my blog post will make it clear what I’m talking about. Back when I first blogged on OpenWhisk (“Going Serverless with OpenWhisk”), I mentioned how the platform has support for automatically recognizing some of the services you add to Bluemix.

Read more

Bound Packages, OpenWhisk, and Web Actions

Hey folks, this is just a warning to other users in case they run into the same issue I did. As you (may) know, OpenWhisk supports the idea of packages. Packages let you organize actions into a cohesive unit, much like packages in other languages/platforms. Packages can also have default parameters that apply to every action in the package. Packages can also be shared, which makes them callable by other users.

Read more

An Example of How I Dig Into Your Code

Like most web developers (or some of you I hope), from time to time I’ll open up dev tools on a page and take a look at what’s going on behind the scenes. This morning I was drinking my coffee, waking my sick butt up (allergies - never really been a problem before, but this year decided to go all epic on me), when I got an email about an update to a bug I had filed for ColdFusion.

Read more

Using Device Motion on the Web

I’m currently working on an article for TDN that looks at how web standards have advanced in comparison to the default list of plugins supported for Apache Cordova. In my research, I looked at the Device Orientation API. Specifically, I was interested in device motion. For Cordova, motion and orientation are split into two plugins, but spec-wise, they are covered in - well - one spec. In general, it is a fairly simply API to use.

Read more