31 Jan 2020

My 2020 guide to rewriting a piece-of-shit codebase
I failed hard so you don't have to

Soptair Enjiniya

Meme by Justice For Tharindu

First, you need to make up your mind. If you take this project on you must proactively try to make things better. How to do this will depend on a number of factors and the support of the stakeholders, but you must actively try to …

14 Dec 2019

A Simple Version Checker In Go
Go Local Sports Team!

Version Check Output

My current work requires keeping track of more than a dozen live websites and making sure that their versions are kept up to date. We have employed a small Go program to make this possible, which enable us to scrape the generator meta tags on the websites and thereby get …

14 Oct 2019

My take on doing 'Clean Architecture' in React (Part 2)
What's your type?

Core Folder Structure

In the last part, we broke the application core out, with layers for entities, usecases, and infrastructure. The example code we used in the last part (without breaking the core out) can be found on Github.

Now let's look at how we can implement the core. I will be using …

06 Oct 2019

My take on doing 'Clean Architecture' in React (Part 1)
Friendship is magic? Wait till you see Dependency Inversion!

Clean Architecture

Clean Architecture, simplified.

I'm a huge fan of Robert C. Martin's work in general, and Clean Architecture in particular. I'm frequently on the lookout for how to apply it to the different system architectures and frameworks we work with.

Which modules should be decoupled? I think the rule is similar …

02 Oct 2019

On-Premise CloudWatch Metrics with AWS CLI
Who will watch the watchmen?

Have you tried AWS CLI?

CloudWatch is pretty cool, and looking at a metrics dashboard and setting up alarms is pretty badass—especially when you're not a full-time DevOps and don't have the time to worry about your monitoring solution in addition to the thing it's supposed to look after.

If you're running some of …


Built using Pelican.