Articles

The Tricky Python Bug I Created by Misunderstanding `bool()`

The Tricky Python Bug I Created by Misunderstanding bool()

I once hit a subtle Python bug by checking if bool(v.capitalize()) on a string. Here is why Python’s string-to-boolean conversion tricked me, …

Read More about The Tricky Python Bug I Created by Misunderstanding `bool()`
How to Make Your Terminal Talk in Color (with ANSI Codes)

How to Make Your Terminal Talk in Color (with ANSI Codes)

[Last update date: May 23, 2026]

Turn dull, gray output into colorful, readable text that actually speaks your language. Ever squinted at a wall of monochrome logs? You know how easy …

Read More about How to Make Your Terminal Talk in Color (with ANSI Codes)
`SOCK_STREAM` is Not TCP: Understanding Socket Types vs. Protocols

SOCK_STREAM is Not TCP: Understanding Socket Types vs. Protocols

Many developers assume SOCK_STREAM is synonymous with TCP. It isn’t. Learn why socket types and transport protocols are distinct concepts, and how …

Read More about `SOCK_STREAM` is Not TCP: Understanding Socket Types vs. Protocols
The Silicon Limit: Why Floating-Point and Integer Math Fails Silently

The Silicon Limit: Why Floating-Point and Integer Math Fails Silently

Choosing the wrong data type is a silent killer in software. Explore the mechanics of integer overflow and floating-point precision loss to keep your …

Read More about The Silicon Limit: Why Floating-Point and Integer Math Fails Silently
The Generalist Trap: Why I Felt Like a "Professional Beginner"

The Generalist Trap: Why I Felt Like a “Professional Beginner”

Do you feel like a “professional beginner” despite years in tech? Explore why modern software engineering creates a “generalist …

Read More about The Generalist Trap: Why I Felt Like a "Professional Beginner"
Case Sensitivity: A 70-Year Evolution from Fortran to Mojo

Case Sensitivity: A 70-Year Evolution from Fortran to Mojo

A data-driven deep dive into 70 years of programming history, from Pascal to Go and Nim, exploring why some languages care about capitalization while …

Read More about Case Sensitivity: A 70-Year Evolution from Fortran to Mojo
*It Worked Before*: How an OS Upgrade Broke My Rust Sockets

It Worked Before: How an OS Upgrade Broke My Rust Sockets

I didn’t change a single line of code. I just upgraded my OS, and suddenly my Rust tool stopped working. The error was blunt: Error: Address …

Read More about *It Worked Before*: How an OS Upgrade Broke My Rust Sockets
Beyond the Port: How the OS Actually Binds and Connects

Beyond the Port: How the OS Actually Binds and Connects

When I first started learning networking, I thought a ‘Port’ was just like a physical socket on the back of a server. You plug a process …

Read More about Beyond the Port: How the OS Actually Binds and Connects
Tags