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.
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...

Async/Await syntax in Swift 5.5

Async/Await syntax in Swift 5.5

Tags:

9/5/2021 \Note: This is a re-post of an article I wrote for \Logrocket\. You can read the original \here\\ When Swift was first introduced by Apple in 2014, it promised to meet the demands software engineers n...

How to add Unit Testing to Express using Jest

How to add Unit Testing to Express using Jest

Tags: JavaScriptNode.jsJestUnit Testing

9/1/2021 Whether you are doing test driven development (TDD) or are just looking for a way to add automated testing to your \express\ app, this can be accomplished fairly easily using many different unit testi...

How to create a Simple Twitter Bot

How to create a Simple Twitter Bot

Tags: JavaScriptBotTwitterNode.js

8/22/2021 One of the many popular applications that can be written using JavaScript and Node.js is a Bot. Bots can be thought of simple applications that can be used to advertise or respond to users on chat ser...

Things you did not think you could do with JavaScript

Things you did not think you could do with JavaScript

Tags: JavaScriptIoTImage ProcessingMLAIGaming

7/20/2021 I am often amazed at some of the software that people write using JavaScript as the language. When JavaScript was first introduced in 1995 it was considered by many as a 'Toy' language. At that time J...

Most Modern Programming Languages will have Async and Await

Most Modern Programming Languages will have Async and Await

Tags: C#JavaScriptAsyncAwaitF#Concurrency

7/12/2021 I will be doing a \presentation\ to the \JaxNode\ User Group on July 15th on the \Async\ and \Await\ feature in JavaScript. I have done some \posts\ on \Async\ and \Await\ recently as well. One of the...

WKWebView code causes crash when using the Xcode debugger with iOS 14.5

WKWebView code causes crash when using the Xcode debugger with iOS 14.5

Tags: iOS 14.6WKWebViewSafariDebuggingiOS App Crash

7/7/2021 I was running into nasty crash whenever I tried to debug the WKWebView in one of my iOS apps. It is a common practice among developers to debug using Safari while running JavaScript code in their WebV...

Adding MDX to your Gatsby Blog

Adding MDX to your Gatsby Blog

Tags: GatsbyMDXJavaScriptReact

7/3/2021 \MDX\ is a hybrid of \Markdown\ syntax and \React\ JSX syntax. Authors who are writing posts in Markdown can use React components in their posts. Currently Markdown allows authors to add HTML tags to ...

How to Add Tag Links and Tag Pages to your Gatsby Site

How to Add Tag Links and Tag Pages to your Gatsby Site

Tags: JavaScriptGatsbyTagsGraphql

6/28/2021 I recently posted on how to add \tags\ to your Gatsby site using FrontMatter. After doing that change to my blog, I also wanted to add linking as well to my posts, as well as a page that listed all Ta...

How to observe changes to the DOM without using a JavaScript framework

How to observe changes to the DOM without using a JavaScript framework

Tags: JavaScriptDocument Object ModelDOMMutation Observer

6/25/2021 Nearly a decade ago I used to use jQuery for manipulating the document object model, or (DOM), in my web applications. jQuery has been supplanted in popularity by other frameworks like Angular, Backbo...

How to add Tags to your Gatsby Blog

How to add Tags to your Gatsby Blog

Tags: JavaScriptGatsbyGraphqlReact

6/21/2021 I moved my site to Gatsby a couple of years ago. I have used several different blogging engines in the past including Orchard for .NET and BlogCFC. Both of these blogging engines support adding tags t...

How to Create your own Integration Test Email #1 from Node.js

How to Create your own Integration Test Email #1 from Node.js

Tags: JavaScriptNode.jsemailnodemailer

6/18/2021 Like many other HBO Max subscribers I received an email titled "Integration Test Email #1" to the email I use for my HBO Max account. I decided to write a post about how you can send your own 'Integra...

Using Postgres and TimescaleDB with Node.js series: Part 3

Using Postgres and TimescaleDB with Node.js series: Part 3

Tags: PostgresSQLTimescaleDBNode.js

6/16/2021 This is part three of a series of posts I am doing on using Postgres and TimescaleDB with Node.js. In the previous posts I discussed how setup a \dev instance\ of Postgres or TimescaleDB with Docker, ...

How to add slides.com Reveal Slides to your Gatsby site

How to add slides.com Reveal Slides to your Gatsby site

Tags: SlidesHTMLReveal.js

6/13/2021 I was getting ready to create a set of slides for my next presentation. I usually use \slides.com\ to create and host my slides. If you have not looked at slide.com before, it is a great example of th...

Using Postgres and TimescaleDB with Node.js series: Part 2

Using Postgres and TimescaleDB with Node.js series: Part 2

Tags: PostgresSQLTimescaleDBNode.js

6/11/2021 This is part two of a three part series on using Postgres DB with Node.js. Read \part one here\. In the first part of this series I wrote about how to get an instance of Postgres or TimescaleDB runnin...

First Previous Next Last