Copying to Clipboard with Windows Subsystem for Linux

This tip is 100% thanks to Ben Hillis, a developer working on the Windows Subsystem for Linux (WSL). Yesterday I needed to copy a file under WSL to the my system clipboard. If you Google for how to do this, you'll see a CLI called clip that works under Unbuntu, however, that doesn't work under WSL. If I had to guess I'd say because there's isn't a GUI involved with WSL but to be honest, I'd be guessing.

Read more

Building Your First Serverless Composition with IBM Cloud Functions

A few days ago I blogged about the new Composer functionality for IBM Cloud Functions and OpenWhisk. This is a incredibly cool release and I'm going to try my best to demonstrate it over the next few weeks. In today's post I'm going to focus on what the process is like. By that I mean, how do I go from idea to actually using it and testing it. This won't be terribly different from the docs, but I figure it may still be helpful for folks to get an idea of how I'm using it.

Read more

DevTools Tips for Progressive Web Apps

As this month is apparently "blog everything I can about PWA month", I wanted to share some quick notes on how I'm using DevTools, specifically Chrome (but I'll quickly look at Edge, Firefox, and Safari) to work with and debug progressive web apps (PWAs). To be clear, this will not cover every aspect of DevTools related to PWAs, but rather focus on what's been helpful to me so far.

Read more

Review: Building Progressive Web Apps

If you can't tell, I've been kind of on a PWA (Progressive Web Apps) kick the last few weeks. I want to thank NCDevCon for letting me speak on the topic which forced me to spend time learning it. I've been hearing about PWAs for a while now, and I've also sat in multiple presentations on the topic. But I have to be honest - I haven't attended many PWA talks that really made sense to me.

Read more

Some Progressive Web App Tips

Yesterday I blogged about my experience turning a simple front-end application into a PWA. Since then I've had some things come up that I wanted to share related to PWA (Progessive Web Apps). This is a bit of a random collection of items but I hope it's helpful. Web App Install Banner Stuff As a reminder, the [Web App Install Banner] feature is the Chrome thing where the browser will prompt the user to install your web app.

Read more

Turning My No Man's Sky App Into a PWA

A few weeks back I blogged about an app I built for one of my favorite games, "No Man's Sky." The app was a simple single page app (SPA) that let me calculate items I needed to complete goals in the game. I've spent the last month or so researching PWAs (Progressive Web Apps) and while I'm far from being an expert, I feel comfortable enough now to look into how I can enhance my existing sites to support being PWAs, or at least moving them in that direction.

Read more

Serverless Composition with IBM Cloud Functions

Today IBM announced a very important update to IBM Cloud Functions and OpenWhisk. This is a pretty huge update and is incredibly important for folks doing serverless with OpenWhisk on the IBM Cloud platform. I'm going to do my best to explain what these updates are and why I'm excited about them. As I said, this is a big update. So today I just want to give you my take on things and later on, I've got a set of examples to share that may help make things easier to understand.

Read more

Facebook Chatbots with OpenWhisk

This weekend I decided to take a quick look at running Facebook Chatbot, aka Facebook Messenger Platform, on the OpenWhisk platform. In general, it worked just fine and 90% of the issues I had were me not reading the docs correctly and making code screw ups. But I can say that I've got it working successfully now and it isn't difficult at all. In this blog post I'm going to explain what you would need to do to get a Facebook Chatbot running on OpenWhisk.

Read more

Rebuilding a Flex Mobile App as an Alexa Skill

Many, many moons ago I created a ridiculous Flex Mobile app called TBS Horoscope. This was for the Nook platform, eventually moved to Amazon Android App store (where it still sits actually) and one of my few commercial apps. The app was fairly simple. It generated a fake horoscope when an astrological sign was requested and persisted it for the day. That way it would be a bit more "realistic".

Read more

Reading a Text File on OpenWhisk

Many months ago I wrote a quick post on OpenWhisk, serverless, and persistence (Serverless and Persistence). In that article I mentioned that while your serverless actions are stateless and you should not rely on the file system, you do have access to it and can make use of it. It isn't something I'd recommend normally and it should be considered a - if not red flag - at least yellow for "are you sure" before deploying, but there are cases where it might make sense.

Read more