Category: Software

Lunar Bug

January 16, 2022

On the morning of 1st July 2015, I was notified of high CPU loads for most of our servers (Open Suse Linux). Needless to say, this caused many of our customer-facing applications to be unavailable. The Engineers who were troubleshooting were at their wit's end. No code had been deployed …

Read More →

Greenspun, his 10th and I

January 13, 2022

This post is about my adversarial relationship with Greenspun's 10th rule and how it all changed when I chanced upon an article in May 2012.


2012 was a super busy year for us Engineers at Netcore Solutions. By then I had already maintained, designed or built several types of Rules …

Read More →

Fun Dojo

January 02, 2022

In this Dojo, we work out our functional muscles..



Read More →

Understanding Decentralized Exchanges

December 23, 2021

To understand decentralized exchanges (DEX), we should try and understand how its centralized counterpart (CEX) functions at a high level. CEXs are Order Book based. The price of an instrument at any moment is the outcome of several "match" operations between ask and bid orders executed at high speeds. On …

Read More →

Fireworks

December 11, 2021

In this post, we will learn how to put together a spectacular animation like Anthony Galea's Fireworks. I have enhanced the source a bit in my implementation. It helped me unravel the role "blend mode" and g - acceleration due to gravity played in the animation. I have also simplifed the …

Read More →

Rule 30

October 15, 2021

In Fun Life, we looked at Conway's Game of Life and implemented it in functional style. In this post, we see another cellular automation - Stephen Wolfram's Rule 30 in action. We see what makes it work and also get acquainted with other related automata. Lastly, I share notes from my …

Read More →

Fun Life

October 11, 2021

Computer simulations can be excellent teachers. This essay explores the beauty of one such simulation - Conway's Game of Life aka simply Life. We will describe the game rules, see it in action and reflect on it. Finally, I share notes from my implementation. We also get a sense of how …

Read More →

D3 - Part 2 Intro

October 07, 2021

This is part 2 of our introduction to d3. In the first part, we looked at bar charts based on divs. In that post, we also looked at the join operator (hardcoded version) briefly. In this post, we will see how we can make a bar chart out of svg …

Read More →

D3 - Part 1 Intro

September 14, 2021

This series explores the popular JavaScript data visualization library d3 through the lens of ClojureScript. The d3 philosophy nicely fits the ClojureScript-Reagent-React functional paradigm. If you wish to narrate interactive stories with visualized data, d3 might be right for you. Let's dive right in...

Assume you want to visualize the …

Read More →

On Immutability

April 19, 2020

Programming languages are super fun. Like people, they too belong in family trees and follow an evolutionary graph. They liberally copy, adapt and improve upon ideas from each other all the time. You know an idea/style is a good one, if you see it being retained, borrowed or made …

Read More →