Triggering Apple Shortcuts via NFC

In 2018, Apple released a new set of iPhones (XS, XS Max, and XR), as well as the accompanying OS updates (iOS 12). While most of the improvements were relatively minor, due to being a “tock” release in a “tick tock” cycle, Apple’s Shortcuts (previously Workflow) and Core NFC’s background tag reading functionality are two subtle new additions that provide new ways to approach task automation in iOS.

In this post, we will explore setting up NFC to trigger shortcuts for a seamless task automation flow.


Converting Compass Degrees to Radians

Recently, I worked on an augmented reality (AR) iOS application where animated 3D models were placed directly in front of the user. The user’s heading was given in degrees, whereas the 3D models required radians for proper placement. However, the standard degrees-to-radians conversion formula of degrees * pi / 180 seemed to place the 3D models incorrectly. After lots of head-scratching, I realized a subtle difference between degrees and radians that was the root of my issue.


Concatenate Multimedia Files with FFmpeg

FFmpeg is an extremely powerful command line tool, able to accomplish a variety of operations on multimedia files. Although capable, FFmpeg can also be unwieldy to those that are unfamiliar with it. This blog post goes into a simple FFmpeg command to concatenate multiple multimedia files.


Hackathon Sponsorship and the Death of Hacker Culture

While reading an article by Rodney Folz about Selling Out and the Death of Hacker Culture, I found many parallels between Rodney’s experiences and my own. This post describes the latter.


Careless API Keys

The other day, my friend got a really simple interview question:

“Why should a developer never check API keys into git?”