Ken Rimple

Replacing state in Redux reducers: a few approaches

There are a few basic strategies for managing state in Redux, and which ones you use depend on the level of language support an other APIs you have at your disposal. Here are four approaches: using a collections API, Object.assign, Immutable.js and the ES spread operators.

React application state management with Redux

The first in a series of posts about Redux, the de-facto state storage engine for React, and how to integrate it with a React app. In this first article we make a case for Redux over passing props for events and data, and show a simple configuration.

PHLAI – Comcast's Artificial Intelligence Conference

I was lucky enough last week to attend PHLAI, a Comcast-sponsored conference on machine learning and artificial intelligence. The dreary weather did not dampen our spirits as practitioners and business stakeholders met to discuss one of the most important trends in our lifetime.

The O'Reilly AI Conference

I recently attended the O’Reilly AI Conference in New York where artificial intelligence practitioners showcased the impressive strides they’ve made so far in using AI for real-world applications

UITableView Swipe Actions in iOS 11

Overview One of the new but little discussed APIs in iOS 11 allows the addition of swipe actions on UITableView rows via the new UISwipeActionsConfiguration class and associated UITableViewDelegate methods. Adding swipe left or swipe right actions is now pretty simple, so lets just dive right in. To try out these new APIs, a very … Read More

Updating text on a Loading spinner with Ionic 3

Ionic has a handy Loading component, typically used to display a spinner and message while some network operation completes or some other work goes on in the background. It works well for simple operations, but falls down for dynamic or multi-step operations. For instance, when you call the LoadingController to set things up, you can … Read More

AWS: Overview of IAM

Have you ever read something like this in the AWS documentation? “When you attach policy to a user, the user is the implicit principal. When you attach a permission policy to an IAM role, the principal identified in the role’s trust policy gets the permissions.” I spent a while trying to wrap my mind around … Read More

Changing your iOS App Icon programatically

When iOS 10.3 was released, Apple opened up an API to allow developers to change the app icon for their app programatically. Of course this doesn’t mean you can change it every second like the Clock app, or even every day like the Calendar app. What you can do is change the app icon when … Read More

Real World Spark Lessons

I recently built a Spark job that runs every morning to collect the previous day’s data from a few different datasources, join some reference data, perform a few aggregations and write all of the results to Cassandra. All in roughly three minutes (not too shabby).