Skip to main content

2022


Quit nesting React providers

·147 words·1 min

This is a simple example of a TypeScript React function that can assist in combining many Provider components, such as those used by React Context, into a straightforward function.

2021


Rebase to freshen up your branch

·505 words·3 mins

I’m a member of a few software teams and, very frequently, we commit code to our main branch. Common themes within my teams are not to have a develop branch or even release cycles. Instead, we release regularly.

Apple could do a lot with distributed compute

·171 words·1 min

Being an avid user of Apple’s products, one of the standout features that I enjoy is the on-device processing of my personal data. Be it searching for an image, or Siri suggesting a calendar event based on a flight in my email, it’s extremely useful.

Grocery Store coding challenge

·541 words·3 mins

This coding challenge is the first of a series I will be posting for TypeScript & Golang, although it can be completed in other languages. As these are used for internal recruitment purposes, I recommend that you keep repositories with this challenge private.

2020


Token invalidation in distributed systems

·711 words·4 mins

Building fast systems can be tricky and distributed computing is often the approach taken to improve performance. This introduces unique challenges in the realm of security - specifically handling Authentication & Authorization. OAuth 2’s JSON Web Tokens solve this but introduce risks with revocation.

2017


2016