An follow up of the color mixing game where players attempt to match target colors by mixing from a limited palette. In this part 2 discussion - The randomizer algorithm as part of the gameplay mechanism.
An overview of the color mixing game where players attempt to match target colors by mixing from a limited palette. In this part 1 discussion - The core challenge of the game and the initial implementation.
Exploring the journey towards agentic AI and its implications for software development.
A collection of my most used JS utils: range, delays, chunked, and rate limiters
Learn how to use JavaScript's Proxy object to simplify accessing elements in an array by their unique identifier. This approach eliminates redundancy by allowing direct access to array elements using keys, while maintaining standard array functionalities. The implementation involves creating a custom toArrayView function that uses Proxy to enhance array behavior.
In this blog post, I discover a new technique in instantiating an event listener class in NestJS with the help of NestJS Event Emitter package. This helps in TypeScript compiler to notify missing implemented property with the correct event data class.
I demonstrate how to use Golang reflect package to retrieve exported struct fields and value to convert them into a map of key string recursively
Inspired by Java Streams util, I built a similar utility class that is lightweight and has less lines of code