Development

38 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 Meeting Was at 9. The Server Said It Was Midnight.

A reminder fires at 4:00 in the morning. Nobody set it for 4:00 in the morning. The support ticket says the alert was scheduled for 1:00 PM. You check the database and the row says `2026-03-14 04:00:0...

2026.09.14 · 25 min read · views 1,106
The Meeting Was at 9. The Server Said It Was Midnight.
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 1,178
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 1,553
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 1,528
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 1,686
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 1,030
The Script Works. Cron Just Refuses to Run It.
AD
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 1,002
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 2,280
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 1,457
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 1,064
The Project You Didn't Touch Broke Anyway. Blame the Global Install.
AD