Development

27 posts

Beginner-to-advanced guides across many programming languages — Python, JavaScript, TypeScript, Java, Go, Rust, C/C++, and more — plus SQL databases, Linux server ops, and practical, example-driven fixes and tips.

Development

The Disk Is Full. The Files Are Gone.

The alert fires at 2:14 a.m. Disk usage on the app server is at 97%. You SSH in, half awake, and run the command everyone runs: ```bash df -h ``` ``` Filesystem Size Used Avail Use% Mounted on /dev/nv...

2026.09.07 · 18 min read · views 505
The Disk Is Full. The Files Are Gone.
Development

You Reset the Wrong Branch. It's Still There.

It's 6:40 on a Thursday. You meant to run `git commit --amend` on your own branch, but your terminal was sitting in the wrong tab, and now the last three commits on the shared branch look nothing like...

2026.09.07 · 18 min read · views 463
You Reset the Wrong Branch. It's Still There.
Development

Your Container Is 1.2 GB. Your App Is 4 MB.

You push a deploy at 4:40 on a Friday. The build finishes, the registry starts uploading, and you watch the progress bar crawl: 1.24 GB. Your entire application — the part you actually wrote — is abou...

2026.09.05 · 25 min read · views 471
Your Container Is 1.2 GB. Your App Is 4 MB.
Development

The Query Was Fine at 10,000 Rows

You wrote the query in an afternoon. It ran against your development database in four milliseconds, the test suite went green, and you shipped it. Six weeks later, someone in support forwards a screen...

2026.09.01 · 21 min read · views 435
The Query Was Fine at 10,000 Rows
Development

The Script Works. Cron Just Refuses to Run It.

It is 9:07 a.m. and the report that should have been in your inbox at 6:00 is not there. You SSH into the server, run the script by hand, and it works perfectly — output, exit code zero, everything. Y...

2026.08.29 · 20 min read · views 353
The Script Works. Cron Just Refuses to Run It.
Development

It Works on My Machine — Until Someone Else Clones It

A friend asks you to look at a small script. You clone the repo, run `python main.py`, and within two seconds you are staring at `ModuleNotFoundError: No module named 'requests'`. You install requests...

2026.08.27 · 17 min read · views 522
It Works on My Machine — Until Someone Else Clones It
Development

The Disk Says It's Full. df Says It's Not.

It always happens at the worst possible moment. A deploy that ran fine yesterday hangs halfway through. The application starts throwing 500s. You SSH into the box, and there it is, sitting in the log ...

2026.08.26 · 20 min read · views 781
The Disk Says It's Full. df Says It's Not.
Development

The Query Was Fine Until the Table Hit a Million Rows

Your app was fast for a year. Nothing changed — same code, same server, same query you wrote in an afternoon and never thought about again. Then one Tuesday the orders page takes eleven seconds to loa...

2026.08.22 · 18 min read · views 677
The Query Was Fine Until the Table Hit a Million Rows
Development

The Project You Didn't Touch Broke Anyway. Blame the Global Install.

You clone a coworker's project, run `pip install -r requirements.txt`, and everything looks fine. Two days later a completely different project on your machine starts throwing import errors. Nothing a...

2026.08.19 · 18 min read · views 599
The Project You Didn't Touch Broke Anyway. Blame the Global Install.
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 1,062
O(n²) Worked on Your Laptop. Then Real Users Showed Up.
AD