browse/
156 results
computer-science/big-o-how-to-tell-if-your-code-will-survive-1-000-times-more-data.md
Big O: how to tell if your code will survive 1,000 times more data
Your code works on 10 items, then crawls on 10,000. Big O is the short way programmers describe how the number of steps grows as the input…
tools/git-merge-vs-rebase-same-code-two-different-histories.md
Git merge vs rebase: same code, two different histories
Git can combine two lines of work in two ways. Merge ties them together with a new commit and leaves every old commit alone. Rebase replays…
networks/dns-lookups-why-a-website-is-slower-the-first-time-you-visit.md
DNS lookups: why a website is slower the first time you visit
Typing a name like www.example.com sets off a short chain of questions: a resolver asks a root server, then a .com server, then the…
databases/sql-joins-how-two-tables-become-one-answer-inner-left-right-full.md
SQL JOINs: how two tables become one answer (INNER, LEFT, RIGHT, FULL)
Your data lives in two tables, but your question needs both. A JOIN lines them up, and the four kinds (INNER, LEFT, RIGHT, FULL) differ…
computers/time-slices-how-one-cpu-core-runs-many-programs-at-once.md
Time slices: how one CPU core runs many programs at once
Your computer runs far more programs than it has processor cores. How? The operating system's scheduler gives each program a short time…
web/http-requests-and-responses-what-a-404-and-a-301-really-say.md
HTTP requests and responses: what a 404 and a 301 really say
Every web page starts as two short pieces of plain text: a request from your browser and a response from a server. Learn to read them and…
languages/go-slices-why-appending-to-a-copy-can-change-the-original.md
Go slices: why appending to a copy can change the original
Change a copy of a Go slice and sometimes the original changes too. The reason is that a slice is only a small window onto an array, with a…
mobile/pixels-dp-and-points-why-a-button-of-48-is-tiny-on-one-phone-and-fine.md
Pixels, dp and points: why a button of 48 is tiny on one phone and fine on another
A button you size at 48 looks fine on one phone and tiny on another, because a sharper screen packs more pixels into the same space. This…
ai/overfitting-why-a-perfect-score-on-practice-questions-can-still-fail.md
Overfitting: why a perfect score on practice questions can still fail
A model that scores perfectly on the examples it learned from can still fail badly on new ones. That failure is called overfitting, and you…
security/two-factor-codes-how-your-phone-and-a-website-agree-on-6-digits.md
Two-factor codes: how your phone and a website agree on 6 digits
Your phone shows a 6-digit code that changes every 30 seconds, yet it never talks to the website. How do both sides agree on the number?…
software-design/pure-functions-why-the-same-call-can-give-two-different-answers.md
Pure functions: why the same call can give two different answers
Call a function twice with the same input and get two different answers? Python isn't broken. The function is doing something extra, called…
infrastructure/docker-build-cache-why-a-one-line-change-can-trigger-a-full-reinstall.md
Docker build cache: why a one-line change can trigger a full reinstall
You change one line of code, rebuild your Docker image, and wait while every library downloads again. Often the cause is just the order of…