Blog

This blog is dedicated to my musings and are strictly my own. I use it to write about all things software, hardware and aviation. The views and opinions on this site strictly reflect that of my own, and not my employer. At any point I can change my mind, and they may not even reflect my opinions from three minutes ago, so please don't take anything I say too seriously. Some of the software topics on this blog will probably include ColdFusion, C#, .NET Core, Node.js, Objective-C, Swift, Java, Kotlin, C++. As commercial pilot I will be writing about General Aviation, the Airlines, instrument flying, avionics, the Federal Aviation Administration and the TSA.
How to add GraphQL to your Fastify service

How to add GraphQL to your Fastify service

Tags: Node.jsGraphQLFastifyMercurius

2/25/2023 I recently needed to add a GraphQL endpoint to an existing \Fastify\ service. I have worked with Apollo before which has a way of hosting on top of an Express service. There may be a way of hosting Ap...

Why you need to add an AppDelegate to your SwiftUI app

Why you need to add an AppDelegate to your SwiftUI app

Tags: SwiftSwiftUI

1/25/2023 By default when you create a new application in Xcode that is a SwiftUI app, it generates an application without an AppDelegate class. It has been replaced by an App struct. Much like how SwiftUI uses...

How to upgrade Gatsby from version 4 to version 5

How to upgrade Gatsby from version 4 to version 5

Tags: Gatsbynode.jsJavaScript

1/22/2023 \## Upgrading to Gatsby 5 from version 4 Gatsby 5 was introduced at the end of last year. I decided to upgrade my site to Gatsby 5 from version 4. Upgrading Gatsby a major version can be complex, espe...

How to run unit tests for iOS based Swift Package Libraries

How to run unit tests for iOS based Swift Package Libraries

Tags: iOSSwift PackagesFastlaneCI/CD

10/16/2022 I recently ran into a problem trying to set up automated unit testing for a iOS based Swift Package. There are a couple of different ways of creating packages or libraries of code for an iOS project. ...

What is BUN?

What is BUN?

Tags: Node.jsJavaScriptJavaScriptCore

7/27/2022 When running JavaScript applications outside of browser, there used to be essentially one choice, \Node.js\. Now we have a few different options. \Deno\ was introduced a couple of years ago from Ryan ...

How to add machine learning to your Node.js app

How to add machine learning to your Node.js app

Tags: Node.jsJavaScriptMachine Learning

7/24/2022 I am in the process of trying to learn more about machine learning. AI and machine learning on the surface can appear to be daunting when you hear terms like multi-layered neural networks and linear r...

How to add React Native to an existing Android app in 2022

How to add React Native to an existing Android app in 2022

Tags: Node.jsJavaScriptReact-Native

6/26/2022 I have been starting to use \React Native\ in an existing iOS and Android app that I am maintaining. One of the problems I am finding in the React Native \docs\ is the guides they give for adding to a...

Why all Developers most know SQL

Why all Developers most know SQL

Tags: SQLDevelopment

5/17/2022 I spent last Saturday going to the 2022 SQL Saturday event here in Jacksonville, FL. You can think of this event as a conference in a day, where system admins, developers and Devops workers get togeth...

Add Jest testing framework to an existing Next.js app

Add Jest testing framework to an existing Next.js app

Tags: Node.jsJavaScriptJestReactUnit testing

5/11/2022 I have been using \Next.js\ for a new project I am currently working. Most of my Node.js experience working with web apps has been using the \Express.js\ framework. One of the tools I like using for m...

What is new in Node.js 18

What is new in Node.js 18

Tags: Node.jsJavaScript

4/23/2022 The Node.js foundation just released the first version of Node \v18.0.0\. The Node.js foundation maintains multiple versions, including the current release along with a long term support (LTS) release...

How to add React Native to an existing iOS app in 2022

How to add React Native to an existing iOS app in 2022

Tags: Node.jsJavaScriptReact-Native

4/16/2022 I have been starting to use \React Native\ in an existing iOS and Android app that I am maintaining. One of the problems I am finding in the React Native \docs\ is the guides they give for adding to a...

How to set up React Native on M1 Mac 2022 edition

How to set up React Native on M1 Mac 2022 edition

Tags: Node.jsJavaScriptReact-NativeM1

4/13/2022 I recently purchased a M1 Mac for development. It is my first time using an M1 Mac, so I thought share my experiences. Going through the React-Native documentation, I found a lot of it to be out of da...

Add Tailwindcss to your Next.js site

Add Tailwindcss to your Next.js site

Tags: Node.jsJavaScriptNext.jsTailwindcss

2/11/2022 I am in the process of trying to get caught up on a lot of the new CSS technologies. One of those technologies that has become increasingly popular over the last couple of years has been Tailwindcss. ...

Add Tailwindcss to your Gatsby Site

Add Tailwindcss to your Gatsby Site

Tags: Node.jsJavaScriptGatsbyTailwindcss

1/30/2022 I am in the process of trying to get caught up on all of the new CSS technologies. One of those technologies that has become increasingly popular over the last couple of years has been Tailwindcss. If...

Top 10 Programming Languages to learn in 2022

Top 10 Programming Languages to learn in 2022

Tags: Node.jsJavaScriptCC++C#.NETPythonShellJuliaJavaSwiftRust

12/27/2021 Every computer programmer/software engineer should learn a new programming language each year. In the book the Pragmatic Programmer, the book postulates that everyone should try to learn a new program...

Use Node.js to control your Xmas Lights

Use Node.js to control your Xmas Lights

Tags: Node.jsHue LightsIoTRaspberry PiGithub Actions

12/18/2021 Or how to over engineer your Christmas Lights. I have wanted to get light bulbs that you could control over a network or smart phone for years. I finally splurged and got the Philips Hue bridge and bu...

When should I not use a M1 Mac for development

When should I not use a M1 Mac for development

Tags: M1M1 MaxM1 ProApplex86Intel

11/28/2021 I have made a number of videos on what kinds of development you can do on M1 Macs. Lately I have received a number of posts about specific cases where the M1 based Macs are not the best fit for certai...

Why Apple should not Market iPads to Pilots

Why Apple should not Market iPads to Pilots

Tags: iPad MiniAppleEFBsFAA

10/10/2021 For my day job I write software for iOS and iPad devices, but while I earn my living as a software engineer, I am also a FAA licensed Commercial Pilot. While I do not fly for an airline, those pilots ...

Method Swizzling in Obj-C and Swift

Method Swizzling in Obj-C and Swift

Tags: objective-cmethod swizzlingAppleiOS

9/29/2021 One of the things I first came across when I started to work on legacy iOS applications was Method Swizzling. Swizzling lets' developers change the underlying implementation of a pre-existing method w...

What is Corepack in Node.js

What is Corepack in Node.js

Tags: Node.jsyarnpnpmcorepack

9/10/2021 With the release of Node.js 16.9.0 comes a new tool called \Corepack\. \Corepack\ is described as a zero-runtime-dependency Node script that acts a bridge between Node projects and package managers li...