HNH / PRIMARY.DOSSIER ENGINEERING LEDGER · Rev. 2026.09.05

H. Nazmul
Hasan

Software Developer 06 years in production · since 2020

Software developer in Dhaka, Bangladesh, with six years on systems that have to account for something exactly: payments, stock, vehicles. I model facts instead of state, let the database keep the invariants, and write it all down, mostly in TypeScript, Node.js and PostgreSQL. … Read moreabout me

06+
Years experience
20+
Systems shipped
Infinite
Curiosity
to keep going
View work Résumé Available for select work · Dhaka, GMT+6
Portrait of H. Nazmul Hasan

PORTRAIT Dhaka · 2026

Selected work 06

Full index

WK-06 2025 Lead backend developer

Reconciliation Engine

A double-entry ledger and nightly reconciliation service for a payments operator, replacing spreadsheet-driven settlement with an auditable, replayable pipeline.

  • TypeScript
  • Node.js
  • PostgreSQL
  • Redis

WK-05 2025 Author and maintainer

pg-outbox

A small, dependency-light transactional outbox for Node.js and PostgreSQL. Publish events in the same transaction as your data, deliver them exactly once per consumer, without a message broker.

  • TypeScript
  • PostgreSQL
  • Node.js

WK-04 2024 Backend developer, later tech lead

Dispatch Platform

Real-time job assignment and driver tracking for a last-mile logistics operator running 300 vehicles across Dhaka, built to survive flaky mobile networks.

  • TypeScript
  • Node.js
  • PostgreSQL
  • PostGIS

06 records in the index Full index

Blogs 05

All blogs
Abstract dark tonal image

WR-05 4 min read

Why I keep ledgers instead of logs

Logs tell you what the system said. Ledgers tell you what is true. After six years of building systems that move money and stock, I have stopped trusting anything that can be overwritten.

  • Architecture
  • Data modelling
Read
Abstract dark tonal image

WR-04 4 min read

A transactional outbox on plain PostgreSQL

How to publish events atomically with your data using nothing but a table, SKIP LOCKED, and a polling worker. No broker, no CDC, no lost events.

  • PostgreSQL
  • Node.js
Read
Abstract dark tonal image

WR-03 4 min read

Idempotency keys are a product decision

Engineers treat idempotency as plumbing. It is actually a statement about what your product considers "the same request", and that is a question only the product can answer.

  • API design
  • Reliability
Read

Quickposts 10

Full stream

QP-10

Small abstractions often age better than large frameworks. Went back through six years of repositories and the shared code still in use is all under a thousand lines. The frameworks were all removed. Wrote it up properly.

QP-09

for update skip locked remains the most useful eight words in PostgreSQL. Multiple workers, no coordinator, no leader election. If you are reaching for a distributed lock library and your data is already in Postgres, stop.

QP-08

Spent the first week of a new engagement shadowing the people who will use the thing instead of reading the codebase. Learned more about the real requirements in five days than the spec contained in forty pages. Doing this every time now.

QP-07

Before refactoring anything, rename it to what it actually does. Half the time the refactor becomes unnecessary once the name stops lying.

Contact

Available for select work.

I take on a small number of backend and full-stack engagements a year, usually where money, stock or scheduling has to be accounted for exactly. If that sounds like your problem, write to me.

Reply
Within two working days · GMT+6