writing

Articles

Engineering notes and deep dives. Newest first.
· ripple internals

Ripple Runtime: Mount & Block Tree

Part 3 of the Ripple internals deep dive series.

ripplereactivityinternals
· ripple internals

Ripple Runtime: Quick Reference

Part 5 of the Ripple internals deep dive series.

ripplereactivityinternals
· ripple internals

Ripple Runtime: Compilation Pipeline

Part 2 of the Ripple internals deep dive series.

ripplereactivityinternals
· ripple internals

Ripple Runtime: Updates & Performance

Part 4 of the Ripple internals deep dive series.

ripplereactivityinternals
· ripple internals

Deep Dive: Understanding Ripple's Runtime and Reactivity System (For Nerds)

A comprehensive exploration of Ripple's compile-time reactive framework, tracing how reactive code flows from source to execution, how dependencies are tracked, and how updates propagate through the block tree.

ripplereactivityinternals
· hooks unleashed

useNetworkStatus: react to online/offline

A custom hook that listens to window online/offline events and returns a boolean.

reacthooks
· hooks unleashed

useMouseCoords: track cursor position

A custom hook that subscribes to mousemove and returns the latest clientX and clientY.

reacthooks
· hooks unleashed

useLocalStorage: persist React state in localStorage

A small custom hook that reads and writes JSON to localStorage, with lazy initialization on first render.

reacthooks
· hooks unleashed

Custom React hooks: a three-part series

Three small hooks I wrote in 2023: localStorage persistence, mouse coordinates, and online/offline status. Code-first, no fluff.

reacthooks

Setting up Metacall development environment on Windows

MetaCall is open-sourced under Apache 2.0 license. Let's switch gears and setup our windows system to build and develop metacall locally.

metacallwindows

Polyglot Programming with Metacall

Calling Python from Node without spawning a subprocess. Metacall loads foreign functions through a shared C ABI.

metacallpolyglot

Arrays In JavaScript

Consider a case when you want to store lots of data e.g. all your favorite pizzas or tacos. How will you store all the names in your program? Will you create 10 different variables for ten different pizzas?.

javascript

Ternary operator in Javascript

Learn how to use ternary operator (?) in javascript

javascript

Unboxing Javascript

Exploring the real model of an variable in javascript

javascript