[go: up one dir, main page]

DEV Community

Devanshu Biswas profile picture

Devanshu Biswas

404 bio not found

Joined 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

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
How I Render 100,000 Rows With Only ~20 DOM Nodes

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

Comments
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

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

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

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

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

Comments
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

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

Quantization: How 70B Models Run on a Gaming GPU

Comments
1 min read
Dropout: Switch Off Neurons to Stop Overfitting

Dropout: Switch Off Neurons to Stop Overfitting

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

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

Comments
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

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

Reflexion: Make an AI Agent Learn From Its Own Mistakes

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

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

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

I Built Sudoku — Backtracking Solves AND Generates It

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

OrderHub Day 9: Integration Tests on Real Postgres With Testcontainers

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

Mixture of Experts: Big Models, Cheap Inference

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

Batch Normalization: Why It Made Deep Nets Trainable

Comments
1 min read
The Bias-Variance Tradeoff, Finally Visualized

The Bias-Variance Tradeoff, Finally Visualized

Comments
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

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

Self-Ask Prompting: Let the Model Interview Itself

Comments
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

Comments 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

Comments
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

Comments
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

Comments
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
Comments
1 min read
Prompt Injection: How It Works and How to Defend

Prompt Injection: How It Works and How to Defend

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

Q-Learning From Scratch: Reinforcement Learning in a Gridworld

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

Cross-Validation: Why One Train/Test Split Lies

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

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

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

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

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

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

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

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

1
Comments
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
Comments 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)

Comments
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
Comments
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
Comments
2 min read
OrderHub Day 7: Config & Profiles With @ConfigurationProperties (Spring Boot)

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

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

How LLMs Are Trained: Pretraining, SFT, and RLHF

Comments
1 min read
Transfer Learning: Stand on a Pretrained Model

Transfer Learning: Stand on a Pretrained Model

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

Regularization From Scratch: L1 vs L2, Visualized

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

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

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

Step-Back Prompting: Ask the Bigger Question First

Comments
1 min read
I Rebuilt Instagram Stories' Segmented Progress Bars

I Rebuilt Instagram Stories' Segmented Progress Bars

1
Comments
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)

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

Comments
2 min read
loading...