It's not often that I wake up on a Sunday and the first thing my brain thinks of is a leetcode...
A polarised world is usually a disaster but the entertainment-quotient is enormous. And so, as much...
Intended audience: programmers, esp those with functional-programming background. My last outing...
About two years ago, I decided to move my Tumblr blog to some sort of a custom-made static blog generating tool written in Purescript (a Haskell-inspired language that compiles to JS).
TLDR I built a VS Code extension for the first time using Claude's help all the way....
Over the last few days, I've been solving Advent of Code 2024 puzzles in Haskell. This is only my...
In some random bout of boredom-leads-to-something, triggered by an equally random YouTube short about...
The other day, I was fooling around with an idea that has come up often in my chats with Jon Udell at...
Native mobile app dev is still largely object-oriented driven (Kotlin, Java etc). Languages like...
An Elm program to help solve Wordle puzzles.
An Elm program to help solve Wordle puzzles.
An Elm program to help solve Wordle puzzles.
A recipe to enrich an object using some other mapping data to make data for frontend rendering more useful!
Recipe to access or enrich information about a normalized data.
If you're dealing with data flows or pipelines where functions can throw an exception, here's a recipe that can make writing and handling these pipelines much easier.
Javascript promises are a boon but they're also problematic if you don't handle errors well. This recipe tames them.
Making parallel promises easy to handle, process and grokkable.
Making switch-case more robust, powerful and useful by borrowing some functional programming ideas.
In which we build the Conway's Game of Life cellular automata in Elm.
A walk-through of rendering a basic calendar UI using the Elm programming language.
In the last note posted, we "implicitly" defined some valid trades. Two data structures specifically...
Lately, I've been enjoying solving some Leetcode problems. First, the integer to roman one Then,...
The last part in the leetcode puzzle.
Part 2 of the leetcode question.
In which I try and come up with a logic to justify a paragraph of text and express that using Purescript.
Decided to pick a Leetcode puzzle to solve in Purescript. I did a couple of them but here's one that...
This is written (or thought) from the perspective of a JS developer who discovered functional...
TLDR: Try to catch errors early, convert errors into "data" that can safely be passed around without...
TL;DR: running a function repeatedly, at set intervals, is tricky in React. existing examples and...