Building a Text-Based Adventure in Vue.js (2)

Yesterday I posted a proof of concept of a simple text-based adventure game built in Vue.js. While it was incredibly simple (and a bit broken, sorry), I made some progress in updating the engine today that I thought would be cool to share. Pretty much nothing visually changed, but I made some structural changes that I think will go a long way to improving the core game. One of the first things I did was add support for command aliases.

Read more

Happy 15

Fifteen years ago today (ok, fifteen years and a few days) I launched this little blog with the idea of trying to help others as well as myself. I've long believed that if I struggled with something then I needed to write it down to help myself remember what I figured out. That strategy has served me well I think and nearly 6000 posts later (currently at 5939 actually) I'm still enjoying this little mass of content I've created.

Read more

Building a Text-Based Adventure in Vue.js

Note - I found a bug with the room description that was fixed in a later build. Sorry about that! Happy Valentines Day! Today I'm showing my love for Vue.js by building something totally impractical and fun - a text-based adventure in Vue.js. As a child of 80s, I grew up playing text-based games from Infocom. In fact, to this day I still say that some of the most interesting games ever created were done by Infocom.

Read more

Leaving Big Blue

A little over three years ago I was reached out to by an employee of IBM asking if I'd be interested in a developer relations role with them. I had been looking for a devrel role for some time (my position at Adobe had changed after I joined) and I was interested in what IBM had to offer. To be honest, outside of boring (yet I'm sure important) mainframes and Watson, I really didn't know what IBM had to offer for developers.

Read more

Installing Jekyll on Windows

Before I begin, please note that this post is not a guide or anything like that. I'm literally just blogging this to help save others the hours of crap I went through trying to get Jekyll to run on Windows. Jekyll is - or I should say - was my favorite static site generator. But getting it to work under Windows, or even Windows Subsystem for Linux - has been a complete and utter crap fest.

Read more

Building Table Sorting and Pagination in Vue.js

Earlier this week I was talking to a good friend of mine (who is also a recent convert to the School of Vue) and he was talking about the troubles he went through in adding table sorting and pagination to a table. He was making use of a particular Vue component that was - to be nice - "undocumented". While I was reasonable certain that other solutions existed, I thought it would be fun to take a stab at writing my own support for table sorting and pagination.

Read more

Pointing a Raygun at Your Site

For a while now I've been talking about web site error reporting tools. Basically - services that will monitor your site for client-side errors that users get when trying to browse your site. You can read a review of some of these services I did for Telerik in my article here: Web A Review of JavaScript Error Monitoring Services . That article is pretty old now and obviously the space has expanded since then.

Read more

Better Support for Scheduled Actions with OpenWhisk and IBM Cloud Functions

For a while now (certainly for as long as I've been using it), OpenWhisk/IBM Cloud Functions has had one main way to handle "scheduled" action invocations, the Alarm package. In order to this feature you would use the alarm feed (part of the alarm package, yes, both share the same name) and specify a CRON string for your schedule. That works well. But CRON is... well, CRON is a very powerful and flexible system that looks like it was designed by the same people who created regular expressions.

Read more

A Multi-Step Form in Vue.js

Last week I wrote up a demo explaining how to build a simple quiz using Vue.js. As part of that process, I demonstrated how to render one question of the quiz at a time and navigate through the set of questions. It occurred to me that it may make sense to also demonstrate how to build a simple "multi-step" form in Vue.js as well. Let's begin with a simple example. I'll show the HTML first.

Read more

Building a Progressive Color Thief

A little over five years ago (omg, really?) I wrote a PhoneGap demo that made use of a JavaScript library called Color Thief. Color Thief (by Lokesh Dhakar) is a library that can inspect an image for dominent colors. My PhoneGap demo was simple. It accessed the device camera to let the user take a picture and then used Dhakar's library to get the dominant colors. Here's a screen shot from the ancient demo:

Read more