All
Articles 174,232Blog Posts 163,914Tech Tutorials 46,438Research Papers 34,131News 21,989
⚡ AI Lessons

Dev.to · pathvector-dev
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
Which router wins the segment? Read the election, not the docs
OSPF's DR/BDR election on a broadcast segment is a filter, a max(), and a tie-break — read it as three lines of Python instead of a bullet list.

Dev.to · pathvector-dev
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
A Hello does not make a neighbor Full — the code says so in two stages
OSPF's neighbor state machine reads as two separate gates in code: Hello-phase booleans decide Init/2-Way/ExStart, and database-exchange inputs decide Loading/F

Dev.to · pathvector-dev
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
An OSPF Hello has to match before it can mean anything
Reading OSPF's Hello check as code: the five fields that must match before a neighbor relationship can even begin, and why seeing your own router ID changes eve

Dev.to · pathvector-dev
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
A BGP speaker is just state plus three event handlers
Fourteen sessions of BGP logic collapse into one small Python object: six pieces of state, three methods, and one three-line rhythm repeated in each of them.

Dev.to · pathvector-dev
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
Established is not a status label — it's a write permission
In BGP, whether a route reaches Adj-RIB-In comes down to the placement of a single if. Read the session-state gate as code.

Dev.to · pathvector-dev
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
Import policy rewrites the route before best-path ever sees it
Reading BGP import policy as code: the candidate that enters best-path selection is not always the one the peer sent.
DeepCamp AI