DEV Community

Devanshu Biswas profile picture

Devanshu Biswas

404 bio not found

Joined on 
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

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

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

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

Gaussian Mixture Models: Soft Clustering with the EM Algorithm

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)

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

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

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

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

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
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
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
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
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

1
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

4 min read
How I Render 100,000 Rows With Only ~20 DOM Nodes

How I Render 100,000 Rows With Only ~20 DOM Nodes

4 min read
Four Rules, Infinite Worlds: Building Conway's Game of Life from Scratch

Four Rules, Infinite Worlds: Building Conway's Game of Life from Scratch

5 min read
useState vs useReducer vs Zustand: I Built the Same Feature Three Ways (With Live Render Counts)

useState vs useReducer vs Zustand: I Built the Same Feature Three Ways (With Live Render Counts)

2 min read
I Built a @Transactional Visualizer for Spring (Propagation + Isolation)

I Built a @Transactional Visualizer for Spring (Propagation + Isolation)

2 min read
isLoading vs isFetching: I Built an Interactive Model of the React Query State Machine

isLoading vs isFetching: I Built an Interactive Model of the React Query State Machine

2
2 min read
I Built a Cron Visualizer for Spring @Scheduled (6 Fields, Not 5)

I Built a Cron Visualizer for Spring @Scheduled (6 Fields, Not 5)

2 min read
OrderHub Day 10: Self-Documenting API (Swagger) + a Production Docker Image

OrderHub Day 10: Self-Documenting API (Swagger) + a Production Docker Image

1 min read
Quantization: How 70B Models Run on a Gaming GPU

Quantization: How 70B Models Run on a Gaming GPU

1 min read
Dropout: Switch Off Neurons to Stop Overfitting

Dropout: Switch Off Neurons to Stop Overfitting

1 min read
ROC & AUC: Why Accuracy Lies (and What to Use Instead)

ROC & AUC: Why Accuracy Lies (and What to Use Instead)

1 min read
A JWT Decoder in the Browser — and Why the Payload Isn't Secret

A JWT Decoder in the Browser — and Why the Payload Isn't Secret

1 min read
Reflexion: Make an AI Agent Learn From Its Own Mistakes

Reflexion: Make an AI Agent Learn From Its Own Mistakes

1 min read
A Modal Dialog Done Right: Focus Trap, Esc, Scroll Lock

A Modal Dialog Done Right: Focus Trap, Esc, Scroll Lock

1 min read
I Built Sudoku — Backtracking Solves AND Generates It

I Built Sudoku — Backtracking Solves AND Generates It

1 min read
OrderHub Day 9: Integration Tests on Real Postgres With Testcontainers

OrderHub Day 9: Integration Tests on Real Postgres With Testcontainers

1
1 min read
Mixture of Experts: Big Models, Cheap Inference

Mixture of Experts: Big Models, Cheap Inference

2 min read
Batch Normalization: Why It Made Deep Nets Trainable

Batch Normalization: Why It Made Deep Nets Trainable

1 min read
The Bias-Variance Tradeoff, Finally Visualized

The Bias-Variance Tradeoff, Finally Visualized

1 min read
Generate SHA Hashes in the Browser With the Web Crypto API

Generate SHA Hashes in the Browser With the Web Crypto API

1 min read
Self-Ask Prompting: Let the Model Interview Itself

Self-Ask Prompting: Let the Model Interview Itself

1 min read
A Date Picker From Scratch — the Whole Calendar Is Two Lines

A Date Picker From Scratch — the Whole Calendar Is Two Lines

1
1 min read
I Built the 15-Puzzle — and Why Half of All Shuffles Are Impossible

I Built the 15-Puzzle — and Why Half of All Shuffles Are Impossible

1 min read
Context vs Prop Drilling: I Put the Re-render Blast Radius Side by Side

Context vs Prop Drilling: I Put the Re-render Blast Radius Side by Side

2 min read
I Built a Searchable HTTP Status Reference With the Exact Spring Way to Return Each

I Built a Searchable HTTP Status Reference With the Exact Spring Way to Return Each

2 min read
OrderHub Day 8: Testing With JUnit 5, Mockito & MockMvc (Spring Boot)

OrderHub Day 8: Testing With JUnit 5, Mockito & MockMvc (Spring Boot)

1
1 min read
Prompt Injection: How It Works and How to Defend

Prompt Injection: How It Works and How to Defend

1
1 min read
Q-Learning From Scratch: Reinforcement Learning in a Gridworld

Q-Learning From Scratch: Reinforcement Learning in a Gridworld

1 min read
Cross-Validation: Why One Train/Test Split Lies

Cross-Validation: Why One Train/Test Split Lies

1 min read
The WCAG Contrast Ratio, Explained (With a Live Checker)

The WCAG Contrast Ratio, Explained (With a Live Checker)

1
1 min read
Least-to-Most Prompting: Decompose, Then Solve in Order

Least-to-Most Prompting: Decompose, Then Solve in Order

1 min read
I Built a Carousel With Zero Libraries (Swipe + Autoplay)

I Built a Carousel With Zero Libraries (Swipe + Autoplay)

1
1 min read
I Built Wordle in Vanilla JS — the Duplicate-Letter Trap

I Built Wordle in Vanilla JS — the Duplicate-Letter Trap

1
1 min read
useMemo vs useCallback: I Built a Tool That Makes Referential Equality Visible

useMemo vs useCallback: I Built a Tool That Makes Referential Equality Visible

3
3
2 min read
I Built a Visualizer for the Spring Bean Lifecycle (Context Startup, @PostConstruct, Prototype Beans)

I Built a Visualizer for the Spring Bean Lifecycle (Context Startup, @PostConstruct, Prototype Beans)

2 min read
I Built a Live Timeline of React Hooks (useState, useEffect, useMemo, useRef)

I Built a Live Timeline of React Hooks (useState, useEffect, useMemo, useRef)

2
2 min read
I Built an Interactive Kafka Playground (Partitions, Keys, Consumer Groups, Offsets)

I Built an Interactive Kafka Playground (Partitions, Keys, Consumer Groups, Offsets)

1
2 min read
OrderHub Day 7: Config & Profiles With @ConfigurationProperties (Spring Boot)

OrderHub Day 7: Config & Profiles With @ConfigurationProperties (Spring Boot)

1
1 min read
How LLMs Are Trained: Pretraining, SFT, and RLHF

How LLMs Are Trained: Pretraining, SFT, and RLHF

1 min read
Transfer Learning: Stand on a Pretrained Model

Transfer Learning: Stand on a Pretrained Model

1 min read
Regularization From Scratch: L1 vs L2, Visualized

Regularization From Scratch: L1 vs L2, Visualized

1 min read
Why split(',') Breaks CSV — and a Parser That Doesn't

Why split(',') Breaks CSV — and a Parser That Doesn't

1 min read
Step-Back Prompting: Ask the Bigger Question First

Step-Back Prompting: Ask the Bigger Question First

1 min read
I Rebuilt Instagram Stories' Segmented Progress Bars

I Rebuilt Instagram Stories' Segmented Progress Bars

1
1 min read
I Built Memory Match in Vanilla JS (With a CSS 3D Flip)

I Built Memory Match in Vanilla JS (With a CSS 3D Flip)

1 min read
I Built a Tool That Shows You Exactly Why a React Component Re-renders

I Built a Tool That Shows You Exactly Why a React Component Re-renders

1
2 min read
I Built a Tool That Shows the SQL Behind Any Spring Data Method Name

I Built a Tool That Shows the SQL Behind Any Spring Data Method Name

2 min read
loading...