DEV Community

Devanshu Biswas profile picture

Devanshu Biswas

404 bio not found

Joined Joined on 
Day 23: Change config without a restart, keep secrets out of git

Day 23: Change config without a restart, keep secrets out of git

Comments
4 min read
Beam Search vs Sampling: how a model turns probabilities into words

Beam Search vs Sampling: how a model turns probabilities into words

Comments
3 min read
Knowledge Distillation: teaching a tiny model with a big one's soft answers

Knowledge Distillation: teaching a tiny model with a big one's soft answers

Comments
4 min read
Stacking: let a model learn how to combine your models

Stacking: let a model learn how to combine your models

Comments
4 min read
I built a CSS gradient generator to finally understand gradients

I built a CSS gradient generator to finally understand gradients

Comments
4 min read
APE: let a model write, score, and pick your prompt for you

APE: let a model write, score, and pick your prompt for you

Comments
4 min read
I built a multi-step wizard from scratch and it's just a tiny state machine

I built a multi-step wizard from scratch and it's just a tiny state machine

Comments
4 min read
Building a Bubble Shooter from scratch: hex grids and flood-fill pops

Building a Bubble Shooter from scratch: hex grids and flood-fill pops

Comments
3 min read
Day 22: Client-side load balancing with Spring Cloud LoadBalancer

Day 22: Client-side load balancing with Spring Cloud LoadBalancer

Comments
3 min read
Perplexity: how surprised your language model is (and why lower is better)

Perplexity: how surprised your language model is (and why lower is better)

Comments
3 min read
Learning-rate schedules: shaping the number that trains your network

Learning-rate schedules: shaping the number that trains your network

Comments
2 min read
SMOTE from scratch: fixing imbalanced data without just copy-pasting rows

SMOTE from scratch: fixing imbalanced data without just copy-pasting rows

Comments
2 min read
Your word counter is lying to you about emoji

Your word counter is lying to you about emoji

Comments
3 min read
Multi-Agent Debate: make models argue until they agree on the right answer

Multi-Agent Debate: make models argue until they agree on the right answer

Comments
4 min read
Building a popover from scratch: flip, shift, and an arrow that tracks

Building a popover from scratch: flip, shift, and an arrow that tracks

Comments
4 min read
Building Battleship from scratch: hidden fleets and a hunt-and-target AI

Building Battleship from scratch: hidden fleets and a hunt-and-target AI

Comments
2 min read
Day 21: Centralized config with a Spring Cloud Config Server

Day 21: Centralized config with a Spring Cloud Config Server

1
Comments
3 min read
Prompt Caching: compute a long prompt once, reuse it for ~10%

Prompt Caching: compute a long prompt once, reuse it for ~10%

Comments
4 min read
RMSNorm: LayerNorm without the mean

RMSNorm: LayerNorm without the mean

1
Comments
3 min read
Why a 0.98 ROC-AUC can still ship a broken classifier

Why a 0.98 ROC-AUC can still ship a broken classifier

Comments
3 min read
I built a SQL formatter from scratch — no library, just a tokenizer

I built a SQL formatter from scratch — no library, just a tokenizer

Comments
3 min read
Emotion-Prompting: one feeling-loaded sentence makes an LLM try harder

Emotion-Prompting: one feeling-loaded sentence makes an LLM try harder

Comments
3 min read
I built a slide-in drawer from scratch: focus trap, scroll-lock, swipe-to-close

I built a slide-in drawer from scratch: focus trap, scroll-lock, swipe-to-close

Comments
4 min read
Building Checkers from scratch: forced jumps, kings, and a minimax AI

Building Checkers from scratch: forced jumps, kings, and a minimax AI

Comments
4 min read
Day 20: API Gateway — one front door for the whole system

Day 20: API Gateway — one front door for the whole system

1
Comments
4 min read
Agentic Memory: how an AI agent remembers across sessions

Agentic Memory: how an AI agent remembers across sessions

Comments
3 min read
Multi-head attention, explained by building it from scratch

Multi-head attention, explained by building it from scratch

Comments
4 min read
Learning curves: will more data help, or do you need a better model?

Learning curves: will more data help, or do you need a better model?

Comments
4 min read
JSON to YAML from zero: indentation, quoting, and the Norway problem

JSON to YAML from zero: indentation, quoting, and the Norway problem

Comments
4 min read
Self-Refine: let the model critique its own draft, then rewrite

Self-Refine: let the model critique its own draft, then rewrite

Comments
3 min read
I built a sortable, resizable data table from scratch (no library)

I built a sortable, resizable data table from scratch (no library)

Comments
4 min read
Reversi from scratch: one bracket scan, then a greedy vs minimax AI

Reversi from scratch: one bracket scan, then a greedy vs minimax AI

Comments
4 min read
Day 19: Service discovery with Eureka — finding services by name

Day 19: Service discovery with Eureka — finding services by name

Comments
4 min read
Guardrails: the filters that keep a tool-using LLM from doing harm

Guardrails: the filters that keep a tool-using LLM from doing harm

Comments
3 min read
How Transformers Know Word Order When Attention Doesn't Care

How Transformers Know Word Order When Attention Doesn't Care

Comments
3 min read
SHAP from scratch: explaining one prediction, feature by feature

SHAP from scratch: explaining one prediction, feature by feature

Comments
4 min read
URL encoding from zero: %20, encodeURIComponent vs encodeURI, and query strings

URL encoding from zero: %20, encodeURIComponent vs encodeURI, and query strings

Comments
3 min read
Analogical Prompting: let the model write its own examples

Analogical Prompting: let the model write its own examples

Comments
4 min read
I built a right-click menu from scratch (and here's every edge case)

I built a right-click menu from scratch (and here's every edge case)

Comments
3 min read
Maze from scratch: carve a perfect maze with DFS, solve it with BFS

Maze from scratch: carve a perfect maze with DFS, solve it with BFS

Comments
4 min read
I Built a useOptimistic Lab: Instant UI With Automatic Rollback (React 19)

I Built a useOptimistic Lab: Instant UI With Automatic Rollback (React 19)

Comments
2 min read
I Built an Animated Marble Diagram for Spring WebFlux / Project Reactor

I Built an Animated Marble Diagram for Spring WebFlux / Project Reactor

Comments
2 min read
useTransition vs useDeferredValue: I Built a Lab Where You Can Feel Concurrent React

useTransition vs useDeferredValue: I Built a Lab Where You Can Feel Concurrent React

Comments
2 min read
I Built an N+1 Query Visualizer (JPA/Hibernate's Quietest Performance Killer)

I Built an N+1 Query Visualizer (JPA/Hibernate's Quietest Performance Killer)

Comments
2 min read
I Built a React Error Boundary Lab (and Showed What They Can't Catch)

I Built a React Error Boundary Lab (and Showed What They Can't Catch)

Comments
2 min read
I Built a Resilience4j Lab: Watch a Circuit Breaker Trip (+ Retry With Backoff)

I Built a Resilience4j Lab: Watch a Circuit Breaker Trip (+ Retry With Backoff)

Comments
2 min read
Day 18: Calling another service over HTTP with OpenFeign

Day 18: Calling another service over HTTP with OpenFeign

Comments
3 min read
Function calling: how a model that can't do math answers "what's 23*47?"

Function calling: how a model that can't do math answers "what's 23*47?"

Comments
3 min read
Why your deep net won't train: weight initialization

Why your deep net won't train: weight initialization

Comments
4 min read
How stores figured out diapers go with beer: Apriori from scratch

How stores figured out diapers go with beer: Apriori from scratch

Comments
4 min read
How one word-splitter converts between every programming case

How one word-splitter converts between every programming case

Comments
3 min read
Rephrase-and-Respond: make the model restate your question before it answers

Rephrase-and-Respond: make the model restate your question before it answers

Comments
4 min read
Build a color picker from scratch (no native input type=color)

Build a color picker from scratch (no native input type=color)

Comments
4 min read
Flood-It from scratch: flood-fill, and why greedy isn't quite optimal

Flood-It from scratch: flood-fill, and why greedy isn't quite optimal

Comments
4 min read
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
loading...