Even though Node.js has great out-of-the-box support for asynchronous programming and promises with its async/await syntax, it doesn’t include the ability to add a timeout to these promises. I had to deal with this on a recent React Native project while integrating with a third-party library. This library had a number of functions that were […]
I’ve been working on a React Native app for a few months now. The project is a particularly interesting one: Take an existing web app and turn it into a mobile app. Given the nature of the project, there have been many decisions to make. One choice I didn’t expect to be hotly debated was […]
Recently, I rolled onto a mobile project with a web back end written in Ruby on Rails. This was my first experience with both Ruby and Rails. The first feature work I did in the back end involved adding an administrative portal using Active Admin. I found myself negotiating the learning curve of not only […]
If you’re working in an Ember app that’s been around for a while, you’ve probably wondered when to use get(this, ‘foo’) and when to use this.foo. You’re not alone.
Functional programming seems to be making its way into everything these days, and you can take advantage of it even if you’re not using a strictly functional language or toolset. The key is to think declaratively rather than imperatively.
For my project, we have a Node.js server deployed as an AWS Lambda function. The server’s dependencies (Node modules) are deployed in a Lambda layer. We want an easy process to deploy a new Lambda layer version when we update the Node modules and to update the Lambda function code whenever we update the local […]
Having spent most of my time doing web development, when I was asked to add some scalable vector graphics (SVGs) into our WPF application, I thought, “No problem! That will be quick.” Naturally, I was getting ahead of myself. While adding SVGs into our WPF windows wasn’t too painful overall, it took a little more […]
Applications often have to cater to users with different roles, such as employees, customers, managers, etc. These different users have different permissions, and usually, they need to be restricted from certain functionalities.
Embedded development has always lagged behind the trends that drive the rest of software development. In some ways, that’s a good thing. There are fewer half-baked third-party libraries to integrate with, for instance. However, there are also some good things left behind that could really benefit embedded developers.
The Android Emulator, unfortunately, doesn’t work in CircleCI’s conventional (Docker-based) Android build environment. With a little tinkering, though, we can make it work in another environment!