DEV Community

Devanshu Biswas profile picture

Devanshu Biswas

404 bio not found

Joined Joined on 
Day 17: Extracting the Inventory service from my Spring Boot monolith

Day 17: Extracting the Inventory service from my Spring Boot monolith

Comments
3 min read
Why letting an AI think longer can flip a wrong answer to a right one

Why letting an AI think longer can flip a wrong answer to a right one

Comments
4 min read
LayerNorm vs BatchNorm: why Transformers normalize per token, not per batch

LayerNorm vs BatchNorm: why Transformers normalize per token, not per batch

Comments
3 min read
How collaborative filtering recommends from ratings alone

How collaborative filtering recommends from ratings alone

Comments
3 min read
How a Lorem Ipsum generator actually builds fake Latin from a real word pool

How a Lorem Ipsum generator actually builds fake Latin from a real word pool

Comments
4 min read
Program-Aided Language Models: stop making the model do the math

Program-Aided Language Models: stop making the model do the math

Comments
4 min read
Build an accessible accordion from scratch (with a real height animation)

Build an accessible accordion from scratch (with a real height animation)

Comments
3 min read
Tower of Hanoi from scratch: the four-line recursion behind 2^n-1 moves

Tower of Hanoi from scratch: the four-line recursion behind 2^n-1 moves

Comments
4 min read
I Built a React Suspense Lab: use(), Parallel Boundaries, useTransition & lazy()

I Built a React Suspense Lab: use(), Parallel Boundaries, useTransition & lazy()

Comments
2 min read
I Built a Spring @Cacheable Visualizer (Hit/Miss, Cache-Aside, TTL, @CacheEvict)

I Built a Spring @Cacheable Visualizer (Hit/Miss, Cache-Aside, TTL, @CacheEvict)

1
Comments
2 min read
Idempotency keys: making a POST safe to retry

Idempotency keys: making a POST safe to retry

Comments
4 min read
Grounding and citations: making LLM answers you can actually verify

Grounding and citations: making LLM answers you can actually verify

Comments
3 min read
GRU: the streamlined LSTM with just two gates

GRU: the streamlined LSTM with just two gates

Comments
4 min read
Isolation Forest: find outliers by how fast you can fence them off

Isolation Forest: find outliers by how fast you can fence them off

Comments
3 min read
How one line of Unicode turns "Café Déjà Vu!" into a clean URL slug

How one line of Unicode turns "Café Déjà Vu!" into a clean URL slug

Comments
4 min read
Meta-prompting: let the model write your prompts

Meta-prompting: let the model write your prompts

Comments
4 min read
Building a dual-thumb range slider from scratch (no input type=range)

Building a dual-thumb range slider from scratch (no input type=range)

Comments
3 min read
How a Match-3 game is really just one 8x8 grid of numbers

How a Match-3 game is really just one 8x8 grid of numbers

Comments
3 min read
Retry, timeout and bulkhead: composing Resilience4j the right way

Retry, timeout and bulkhead: composing Resilience4j the right way

1
Comments
4 min read
Flash Attention: exact attention without the N N memory blow-up

Flash Attention: exact attention without the N N memory blow-up

1
Comments
4 min read
Beam Search from scratch: greedy vs beam vs sampling

Beam Search from scratch: greedy vs beam vs sampling

Comments
3 min read
Hierarchical clustering: merge nearest, read the dendrogram

Hierarchical clustering: merge nearest, read the dendrogram

Comments
3 min read
Why v7 UUIDs beat v4 for database keys (and how to hand-roll both)

Why v7 UUIDs beat v4 for database keys (and how to hand-roll both)

1
Comments
4 min read
Self-Discover: let the model design its own reasoning plan

Self-Discover: let the model design its own reasoning plan

Comments
3 min read
Build an iOS-style segmented control with a sliding thumb

Build an iOS-style segmented control with a sliding thumb

Comments
3 min read
Nonograms are a constraint puzzle: building Picross from run-length clues

Nonograms are a constraint puzzle: building Picross from run-length clues

1
Comments
4 min read
Spring vs Tween, and 3 More: I Built a Framer Motion Playground With the Code Beside Each Demo

Spring vs Tween, and 3 More: I Built a Framer Motion Playground With the Code Beside Each Demo

1
Comments 1
2 min read
I Built a Regex Visualizer: Live Matches, Capture Groups, and a Plain-English Breakdown

I Built a Regex Visualizer: Live Matches, Capture Groups, and a Plain-English Breakdown

Comments
2 min read
Stop calling a service that's already down: circuit breakers with Resilience4j

Stop calling a service that's already down: circuit breakers with Resilience4j

Comments
4 min read
LoRA: Fine-Tune a Giant Model by Training 1% of It

LoRA: Fine-Tune a Giant Model by Training 1% of It

Comments
4 min read
Seq2Seq and Encoder-Decoder: the one-vector bottleneck that led to attention

Seq2Seq and Encoder-Decoder: the one-vector bottleneck that led to attention

Comments
4 min read
UMAP: a faster map of high-dimensional data (and how it beats t-SNE)

UMAP: a faster map of high-dimensional data (and how it beats t-SNE)

Comments
4 min read
Base64, done properly: the UTF-8 gotcha most tutorials skip

Base64, done properly: the UTF-8 gotcha most tutorials skip

Comments
4 min read
Plan-and-Solve: make the model plan the steps before it computes any of them

Plan-and-Solve: make the model plan the steps before it computes any of them

1
Comments
4 min read
The dropdown menu that everyone builds wrong

The dropdown menu that everyone builds wrong

Comments
4 min read
Lights Out is secretly linear algebra: building the toggle-grid puzzle

Lights Out is secretly linear algebra: building the toggle-grid puzzle

1
Comments
4 min read
Knowledge Distillation: Fit a Big Model's Smarts Into a Small One

Knowledge Distillation: Fit a Big Model's Smarts Into a Small One

Comments
3 min read
One client shouldn't be able to drown your API: rate limiting with Bucket4j and Redis

One client shouldn't be able to drown your API: rate limiting with Bucket4j and Redis

Comments
4 min read
Word2Vec from scratch: how "king man + woman queen" actually works

Word2Vec from scratch: how "king man + woman queen" actually works

Comments
4 min read
t-SNE from scratch: how a 6-dimensional blob untangles itself into a 2D map

t-SNE from scratch: how a 6-dimensional blob untangles itself into a 2D map

Comments
4 min read
One Colour, Three Spellings: HEX, RGB and HSL (and How to Convert Between Them)

One Colour, Three Spellings: HEX, RGB and HSL (and How to Convert Between Them)

1
Comments
4 min read
ReWOO: plan every tool call up front, then call the model only twice

ReWOO: plan every tool call up front, then call the model only twice

Comments
4 min read
Building an accessible autocomplete from scratch (no library)

Building an accessible autocomplete from scratch (no library)

1
Comments
3 min read
I built Sokoban in ~90 lines, and the whole game is one rule: you can push, never pull

I built Sokoban in ~90 lines, and the whole game is one rule: you can push, never pull

1
Comments
4 min read
react-hook-form + zod: I Built a Playground That Shows the Render Count and the Schema-Derived Types

react-hook-form + zod: I Built a Playground That Shows the Render Count and the Schema-Derived Types

Comments
2 min read
I Built a Load Balancer Lab: Round-Robin vs Least-Connections vs IP-Hash, Live

I Built a Load Balancer Lab: Round-Robin vs Least-Connections vs IP-Hash, Live

Comments
2 min read
Caching That Survives Real Traffic: TTL Jitter and Single-Flight in Spring Boot

Caching That Survives Real Traffic: TTL Jitter and Single-Flight in Spring Boot

Comments
2 min read
Why Your LLM Doesn't Re-Read the Prompt: The KV-Cache

Why Your LLM Doesn't Re-Read the Prompt: The KV-Cache

1
Comments
2 min read
One "+x" That Made 100-Layer Networks Trainable: ResNet Skip Connections

One "+x" That Made 100-Layer Networks Trainable: ResNet Skip Connections

Comments
2 min read
Gaussian Mixture Models: Soft Clustering with the EM Algorithm

Gaussian Mixture Models: Soft Clustering with the EM Algorithm

Comments
2 min read
The Unix Timestamp, Demystified (and the 1000 Bug That Bites Everyone)

The Unix Timestamp, Demystified (and the 1000 Bug That Bites Everyone)

Comments
2 min read
Skeleton of Thought: Make an LLM Answer 2–3 Faster

Skeleton of Thought: Make an LLM Answer 2–3 Faster

Comments
2 min read
The Tooltip Problem: A Little Box That Never Falls Off Screen

The Tooltip Problem: A Little Box That Never Falls Off Screen

Comments
2 min read
I Built a Tic-Tac-Toe AI That Literally Cannot Lose

I Built a Tic-Tac-Toe AI That Literally Cannot Lose

Comments
2 min read
Same request. Same answer. One is ~120ms, the other is ~2ms. The only difference is whether it came from Postgres or from Redis.

Same request. Same answer. One is ~120ms, the other is ~2ms. The only difference is whether it came from Postgres or from Redis.

1
Comments
5 min read
How to Make an LLM 2-3x Faster Without Changing a Single Word It Says

How to Make an LLM 2-3x Faster Without Changing a Single Word It Says

1
Comments
4 min read
Your gradient dies on the way to layer 1 (and how to save it)

Your gradient dies on the way to layer 1 (and how to save it)

1
Comments
4 min read
AdaBoost from Scratch: How a Pile of Dumb Rules Becomes a Smart Classifier

AdaBoost from Scratch: How a Pile of Dumb Rules Becomes a Smart Classifier

2
Comments
5 min read
I finally understood cron expressions by building an explainer for them

I finally understood cron expressions by building an explainer for them

2
Comments 1
5 min read
Graph of Thoughts: when a tree of reasoning isn't enough, let the branches merge

Graph of Thoughts: when a tree of reasoning isn't enough, let the branches merge

Comments
4 min read
loading...