23 Feb 2020

Chats with the Dead

Jaki, Maali, and DD

Jaki, Maali, and DD on one of their vacations Down South circa late 1980s.

I finished Shehan Karunatilaka's Chats with the Dead last week, and it was incredible. As Thimal puts it about Jaki, "how can a character say so little but still be so amazing?".

This Krita piece took …

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 …


Built using Pelican.