#Python

5 posts
Development

O(n²) Worked on Your Laptop. Then Real Users Showed Up.

You wrote a function that worked perfectly on your laptop. It flew through a list of 50 names, sorted them, found the duplicates, and returned an answer in a blink. Then you shipped it, real users sho...

2026.08.14 · 15 min read · views 488
O(n²) Worked on Your Laptop. Then Real Users Showed Up.
Development

Stop Hardcoding Secrets: A Practical Guide to Environment Variables

You just pushed your side project to a public repo, feeling proud. A week later, an email lands from your cloud provider: someone spun up forty servers on your account overnight, and the bill is climb...

2026.08.01 · 16 min read · views 522
Stop Hardcoding Secrets: A Practical Guide to Environment Variables
Development

Regex Without the Fear: Reading Any Pattern Left to Right

You have a folder full of files named `invoice_2026_01.pdf`, `invoice_2026_02.pdf`, and a hundred more. You need the ones from the first half of the year, but not the drafts, and definitely not the `i...

2026.07.27 · 15 min read · views 504
Regex Without the Fear: Reading Any Pattern Left to Right
Development

Regular Expressions, Explained Without the Fear

You're staring at a log file with 40,000 lines in it. Somewhere in there is the one request that failed, and you know it has a timestamp, an IP address, and the word `timeout` in it. A colleague leans...

2026.07.13 · 20 min read · views 1,352
Regular Expressions, Explained Without the Fear
Development

Python Virtual Environments, Finally Explained for People Who Just Want Their Code to Work

Picture this: a project you wrote six months ago suddenly refuses to run. You didn't touch a single line, yet the imports are broken and the error messages read like a foreign language. You upgraded a...

2026.06.30 · 16 min read · views 948
Python Virtual Environments, Finally Explained for People Who Just Want Their Code to Work