Library
Fact dictionary
1002 true facts so far. Each one sits inside a topic of a lesson and names its source, so you can check it yourself. Every topic holds at least two: one fact can be forgotten, two will not be.
Learning to learn
Tech School: 65 facts. Open the heading to read them in full.
- A program written before any computer existedWhat a program is · Lesson 1: Your first program: running code and reading what it prints
- A loom that read holes in cardsWhat a program is · Lesson 1: Your first program: running code and reading what it prints
- The first hello, worldPrinting numbers and doing sums · Lesson 1: Your first program: running code and reading what it prints
- When a computer was a personPrinting numbers and doing sums · Lesson 1: Your first program: running code and reading what it prints
- A spacecraft lost to two kinds of numberText and numbers are different kinds of value · Lesson 1: Your first program: running code and reading what it prints
- A number too big for its boxText and numbers are different kinds of value · Lesson 1: Your first program: running code and reading what it prints
- The equals sign has an inventorGiving values names · Lesson 1: Your first program: running code and reading what it prints
- A name for a number that never changesGiving values names · Lesson 1: Your first program: running code and reading what it prints
- The bug that was a real mothReading your first error messages · Lesson 1: Your first program: running code and reading what it prints
- Paid for every error foundReading your first error messages · Lesson 1: Your first program: running code and reading what it prints
- Why a terminal is still called a ttyRunning a file in a terminal, and reading Node's report · Lesson 2: Reading error messages, in the terminal and in the browser
- The little arrow means it lacksRunning a file in a terminal, and reading Node's report · Lesson 2: Reading error messages, in the terminal and in the browser
- The engine that left the browserRunning a file in a terminal, and reading Node's report · Lesson 2: Reading error messages, in the terminal and in the browser
- A rocket lost to one missing barThe SyntaxError family · Lesson 2: Reading error messages, in the terminal and in the browser
- Syntax is Greek for putting in orderThe SyntaxError family · Lesson 2: Reading error messages, in the terminal and in the browser
- The billion-dollar mistakeMessages from a running program · Lesson 2: Reading error messages, in the terminal and in the browser
- A bug too old to fixMessages from a running program · Lesson 2: Reading error messages, in the terminal and in the browser
- The video that outgrew its counterMessages from a running program · Lesson 2: Reading error messages, in the terminal and in the browser
- Firebug, the tool that started itThe browser's console · Lesson 2: Reading error messages, in the terminal and in the browser
- The oldest engine was rewritten at homeThe browser's console · Lesson 2: Reading error messages, in the terminal and in the browser
- A help site named after an errorSearching for an error message · Lesson 2: Reading error messages, in the terminal and in the browser
- Explain it to a rubber duckSearching for an error message · Lesson 2: Reading error messages, in the terminal and in the browser
- MDN began as a wiki called DevMoSearching for an error message · Lesson 2: Reading error messages, in the terminal and in the browser
- A method in four lines, from 1945The method: six steps for any bug · Lesson 3: The debugging method, and cutting a bug down
- Bugs are older than computersThe method: six steps for any bug · Lesson 3: The debugging method, and cutting a bug down
- Careful thought, and a few printsPrinting to see, and tracing by hand · Lesson 3: The debugging method, and cutting a bug down
- The day a pioneer saw his futurePrinting to see, and tracing by hand · Lesson 3: The debugging method, and cutting a bug down
- One wolf in AlaskaCutting a bug down · Lesson 3: The debugging method, and cutting a bug down
- A tool that halves for youCutting a bug down · Lesson 3: The debugging method, and cutting a bug down
- The testing tool that was wrongCheck what you are sure of · Lesson 3: The debugging method, and cutting a bug down
- Sleep on it: a measured effectCheck what you are sure of · Lesson 3: The debugging method, and cutting a bug down
- The mistake no astronaut would makeChecking the fix · Lesson 3: The debugging method, and cutting a bug down
- Tests show bugs, never their absenceChecking the fix · Lesson 3: The debugging method, and cutting a bug down
- The first Unix manual listed its own bugsReading a reference page · Lesson 4: Reading the docs, and knowing your versions
- The first website was a manualReading a reference page · Lesson 4: Reading the docs, and knowing your versions
- Eleven lines that stopped thousands of buildsReading a syntax line · Lesson 4: Reading the docs, and knowing your versions
- Why counting starts at zeroReading a syntax line · Lesson 4: Reading the docs, and knowing your versions
- 27 genes renamed because of a spreadsheetLearning a new method in five minutes · Lesson 4: Reading the docs, and knowing your versions
- A hammer, a feather and the MoonLearning a new method in five minutes · Lesson 4: Reading the docs, and knowing your versions
- There is no ECMAScript 4Version numbers, and which version to use · Lesson 4: Reading the docs, and knowing your versions
- Node went from 0.12 straight to 4Version numbers, and which version to use · Lesson 4: Reading the docs, and knowing your versions
- The rules of a version have an authorVersion numbers, and which version to use · Lesson 4: Reading the docs, and knowing your versions
- Almost every browser says it is MozillaWill it work in every browser? · Lesson 4: Reading the docs, and knowing your versions
- The browser that once had 95% of the webWill it work in every browser? · Lesson 4: Reading the docs, and knowing your versions
- The first search engine came before the webMaking a search engine find exactly what you need · Lesson 5: Searching well, judging answers, and asking for help
- Google is named after a numberMaking a search engine find exactly what you need · Lesson 5: Searching well, judging answers, and asking for help
- Out of date on the day they were postedJudging a source, and an answer · Lesson 5: Searching well, judging answers, and asking for help
- Wikipedia against BritannicaJudging a source, and an answer · Lesson 5: Searching well, judging answers, and asking for help
- The letter that brought the thumbs-upReading a project's bug list · Lesson 5: Searching well, judging answers, and asking for help
- Heartbleed, and the version that fixed itReading a project's bug list · Lesson 5: Searching well, judging answers, and asking for help
- The XY problemWriting a question people want to answer · Lesson 5: Searching well, judging answers, and asking for help
- Why the example must be shortWriting a question people want to answer · Lesson 5: Searching well, judging answers, and asking for help
- The most copied snippet had a bugUnderstanding an answer's code before you use it · Lesson 5: Searching well, judging answers, and asking for help
- Unsafe code, copied into appsUnderstanding an answer's code before you use it · Lesson 5: Searching well, judging answers, and asking for help
- ELIZA, the chatbot people trusted too muchWhat an AI assistant is · Lesson 6: Using AI assistants well
- A lawyer, ChatGPT and six invented casesWhat an AI assistant is · Lesson 6: Using AI assistants well
- Five words that improved the answersAsking an assistant well · Lesson 6: Using AI assistants well
- Worked examples for a machineAsking an assistant well · Lesson 6: Using AI assistants well
- A wrong answer in an advertChecking every suggestion · Lesson 6: Using AI assistants well
- Packages that do not existChecking every suggestion · Lesson 6: Using AI assistants well
- Better in practice, worse in the examLearning with an assistant, not instead of learning · Lesson 6: Using AI assistants well
- The 2 sigma problemLearning with an assistant, not instead of learning · Lesson 6: Using AI assistants well
- Company code typed into a chatbotStaying safe: secrets, private data, and assistants that act · Lesson 6: Using AI assistants well
- Secret keys in public code, every dayStaying safe: secrets, private data, and assistants that act · Lesson 6: Using AI assistants well
- An agent that deleted a live databaseStaying safe: secrets, private data, and assistants that act · Lesson 6: Using AI assistants well
HTML
Tech School: 84 facts. Open the heading to read them in full.
- The PIN code: an address in six digitsThe parts of a web address · Lesson 1: How the web works: from an address to a page
- The two slashes nobody neededThe parts of a web address · Lesson 1: How the web works: from an address to a page
- Before DNS, one file listed every computerDNS: from a name to a number · Lesson 1: How the web works: from an address to a page
- Thirteen names at the rootDNS: from a name to a number · Lesson 1: How the web works: from an address to a page
- The first HTTP was one line longHTTP: a request and a response · Lesson 1: How the web works: from an address to a page
- The cookie that remembers a shopping cartHTTP: a request and a response · Lesson 1: How the web works: from an address to a page
- 418 I'm a teapotReading a status code · Lesson 1: How the web works: from an address to a page
- 451, a code named after a novelReading a status code · Lesson 1: How the web works: from an address to a page
- The lock that people misreadWatching it happen, and keeping it private · Lesson 1: How the web works: from an address to a page
- Free certificates for every siteWatching it happen, and keeping it private · Lesson 1: How the web works: from an address to a page
- The first HTML had 18 elementsTags, elements and what goes inside them · Lesson 2: Elements and the structure of a page
- Markup began with an editor's penTags, elements and what goes inside them · Lesson 2: Elements and the structure of a page
- Quirks mode keeps the old web workingThe skeleton every page has · Lesson 2: Elements and the structure of a page
- The tags that may be left outThe skeleton every page has · Lesson 2: Elements and the structure of a page
- Screen reader users move by headingsHeadings, paragraphs and words that matter · Lesson 2: Elements and the structure of a page
- Readers scan in the shape of an FHeadings, paragraphs and words that matter · Lesson 2: Elements and the structure of a page
- div came first, then spanGrouping with div and span · Lesson 2: Elements and the structure of a page
- The paragraph that closes itselfGrouping with div and span · Lesson 2: Elements and the structure of a page
- Every id becomes a name on the windowAttributes: extra details on an element · Lesson 2: Elements and the structure of a page
- lang tells a screen reader how to speakAttributes: extra details on an element · Lesson 2: Elements and the structure of a page
- Don't say click hereLinks: the a element · Lesson 3: Text, links and images
- New tabs that cannot reach backLinks: the a element · Lesson 3: Text, links and images
- Paths borrowed from UnixPaths: how one file finds another · Lesson 3: Text, links and images
- Cool URIs don't changePaths: how one file finds another · Lesson 3: Text, links and images
- mailto is as old as the URL standardJumping within a page, and links that call or write · Lesson 3: Text, links and images
- A link to any sentenceJumping within a page, and links that call or write · Lesson 3: Text, links and images
- The day the web got picturesImages: img and alt · Lesson 3: Text, links and images
- Half the top sites miss alt textImages: img and alt · Lesson 3: Text, links and images
- The end of FlashVideo and audio · Lesson 3: Text, links and images
- Why sound does not start by itselfVideo and audio · Lesson 3: Text, links and images
- Lists were in the very first HTMLLists: ul, ol and li · Lesson 4: Lists and tables
- A checklist that saves livesLists: ul, ol and li · Lesson 4: Lists and tables
- The dl began as a glossaryLists inside lists, and lists of terms · Lesson 4: Lists and tables
- A dl is for more than wordsLists inside lists, and lists of terms · Lesson 4: Lists and tables
- Tables came years after the webTables: rows of cells · Lesson 4: Lists and tables
- The table that sold a computerTables: rows of cells · Lesson 4: Lists and tables
- The tbody nobody wroteA table's head, body and foot · Lesson 4: Lists and tables
- Why the totals sit at the footA table's head, body and foot · Lesson 4: Lists and tables
- Merged cells from the very startStretching a cell across columns or rows · Lesson 4: Lists and tables
- A heading that spans needs a wider scopeStretching a cell across columns or rows · Lesson 4: Lists and tables
- Forms arrived with HTML 2.0The form element: where the answers go · Lesson 5: Forms
- How long an address may beThe form element: where the answers go · Lesson 5: Forms
- The first computer passwordInput boxes and their types · Lesson 5: Forms
- An email check that breaks the rules on purposeInput boxes and their types · Lesson 5: Forms
- Radio buttons are named after radiosChoices: ticks, one of many, lists and long answers · Lesson 5: Forms
- More choices, slower decisionsChoices: ticks, one of many, lists and long answers · Lesson 5: Forms
- Half the top sites have boxes with no labelLabels, groups and buttons · Lesson 5: Forms
- A label makes the target biggerLabels, groups and buttons · Lesson 5: Forms
- Patterns from a mathematicianChecking the answers before they are sent · Lesson 5: Forms
- Never trust the browser aloneChecking the answers before they are sent · Lesson 5: Forms
- HTML5 named the parts of a pageMeaning, not looks · Lesson 6: Semantic HTML
- The div is the element of last resortMeaning, not looks · Lesson 6: Semantic HTML
- Skipping is a rule of the web's guidelinesThe parts of every page: header, nav, main, footer · Lesson 6: Semantic HTML
- How often people use landmarksThe parts of every page: header, nav, main, footer · Lesson 6: Semantic HTML
- An article can travel aloneInside the main: section, article and aside · Lesson 6: Semantic HTML
- An aside on the stageInside the main: section, article and aside · Lesson 6: Semantic HTML
- The element that was dropped and brought backText that says what it is · Lesson 6: Semantic HTML
- Dates written the international wayText that says what it is · Lesson 6: Semantic HTML
- Two short-form elements became oneText that says what it is · Lesson 6: Semantic HTML
- Two ways to build an accordionA box that opens and closes: details and summary · Lesson 6: Semantic HTML
- The triangle is a list markerA box that opens and closes: details and summary · Lesson 6: Semantic HTML
- One person in sixWho it is for · Lesson 7: Accessibility
- The web's inventor on who it is forWho it is for · Lesson 7: Accessibility
- Most home pages leave something namelessEvery part needs a name · Lesson 7: Accessibility
- Don't use click hereEvery part needs a name · Lesson 7: Accessibility
- Why the key is called TabWorking with the keyboard alone · Lesson 7: Accessibility
- When the focus ring showsWorking with the keyboard alone · Lesson 7: Accessibility
- No ARIA is better than bad ARIAARIA: filling the gaps, and its first rule · Lesson 7: Accessibility
- A standard seven and a half years in the makingARIA: filling the gaps, and its first rule · Lesson 7: Accessibility
- The fault found most oftenSeeing, hearing and reading · Lesson 7: Accessibility
- Why more men than womenSeeing, hearing and reading · Lesson 7: Accessibility
- What the tools missedTesting a page the way its visitors use it · Lesson 7: Accessibility
- The screen readers people useTesting a page the way its visitors use it · Lesson 7: Accessibility
- The first web serverHosting: a server for your folder · Lesson 8: Putting a page online
- The slash a server addsHosting: a server for your folder · Lesson 8: Putting a page online
- The snippet is Google's choiceFinishing the head · Lesson 8: Putting a page online
- Favicon means favorite iconFinishing the head · Lesson 8: Putting a page online
- The first validatorsChecking a page before it goes online · Lesson 8: Putting a page online
- Liberal in what you acceptChecking a page before it goes online · Lesson 8: Putting a page online
- Free, within limitsPutting your first page online · Lesson 8: Putting a page online
- The host of this very sitePutting your first page online · Lesson 8: Putting a page online
- Before names, one shared listYour own name, and the padlock · Lesson 8: Putting a page online
- A lock that many misreadYour own name, and the padlock · Lesson 8: Putting a page online
- Free certificates since 2015Your own name, and the padlock · Lesson 8: Putting a page online
CSS
Tech School: 101 facts. Open the heading to read them in full.
- CSS began at CERN in 1994What CSS is, and where it goes · Lesson 1: Selectors and rules
- One page, many looksWhat CSS is, and where it goes · Lesson 1: Selectors and rules
- Built to skip what it cannot readA rule, taken apart · Lesson 1: Selectors and rules
- The 8 pixels around every pageA rule, taken apart · Lesson 1: Selectors and rules
- The same selectors in JavaScriptSelectors: choosing what to dress · Lesson 1: Selectors and rules
- Name a class for what it isSelectors: choosing what to dress · Lesson 1: Selectors and rules
- The reader can overrule the pageThe cascade: which rule wins · Lesson 1: Selectors and rules
- Specificity is counted in three numbersThe cascade: which rule wins · Lesson 1: Selectors and rules
- Every property says yes or noInheritance: what children take from parents · Lesson 1: Selectors and rules
- Borders do not inherit, but they borrowInheritance: what children take from parents · Lesson 1: Selectors and rules
- A colour named for a girlText colour and background colour · Lesson 2: Colours and units
- Names that do not add upText colour and background colour · Lesson 2: Colours and units
- Nearly 1.7 crore coloursColours as numbers: rgb and hex · Lesson 2: Colours and units
- Why two hex digits fit one lampColours as numbers: rgb and hex · Lesson 2: Colours and units
- hsl came to CSS in 2011Shades with hsl, and see-through colours · Lesson 2: Colours and units
- Why see-through is called alphaShades with hsl, and see-through colours · Lesson 2: Colours and units
- A CSS pixel is an angleUnits: px, em, rem and % · Lesson 2: Colours and units
- The em began as a square of metalUnits: px, em, rem and % · Lesson 2: Colours and units
- Why 100vh was too tall on phonesSizing by the screen, and choosing a unit · Lesson 2: Colours and units
- Three heights, not oneSizing by the screen, and choosing a unit · Lesson 2: Colours and units
- As old as CSS itselfThe four layers of every box · Lesson 3: The box model
- Half of the width, not the heightThe four layers of every box · Lesson 3: The box model
- The Internet Explorer box modelHow wide is a box, really? · Lesson 3: The box model
- One famous line for every boxHow wide is a box, really? · Lesson 3: The box model
- Collapsing, by design, since 1996Margins: the space between boxes · Lesson 3: The box model
- No collapsing in flex and gridMargins: the space between boxes · Lesson 3: The box model
- inline-block came laterBlock, inline and inline-block · Lesson 3: The box model
- Two words inside every displayBlock, inline and inline-block · Lesson 3: The box model
- A property with an old nameWhen the content is too big for its box · Lesson 3: The box model
- Hidden, but still scrollableWhen the content is too big for its box · Lesson 3: The box model
- Web fonts: in, out and back againChoosing the letters: font-family · Lesson 4: Typography
- Arial was made to fit Helvetica's widthsChoosing the letters: font-family · Lesson 4: Typography
- Italic is named after ItalySize, weight and slant · Lesson 4: Typography
- Any weight from 1 to 1000Size, weight and slant · Lesson 4: Typography
- Leading is said like the metalSpace between lines and letters · Lesson 4: Typography
- The accessibility rule for blocks of textSpace between lines and letters · Lesson 4: Typography
- ch is the width of a zeroSpace between lines and letters · Lesson 4: Typography
- Two letters i in TurkishAligning, decorating and transforming text · Lesson 4: Typography
- Text that blinksAligning, decorating and transforming text · Lesson 4: Typography
- When visited links leaked your historyStyling links, in all their states · Lesson 4: Typography
- Where the blue and the purple come fromStyling links, in all their states · Lesson 4: Typography
- Flexbox changed its spelling twiceA flex container and its items · Lesson 5: Flexbox
- A row starts where the writing startsA flex container and its items · Lesson 5: Flexbox
- The sixth value came from elsewhereSharing the space along the row: justify-content and gap · Lesson 5: Flexbox
- gap started life in gridSharing the space along the row: justify-content and gap · Lesson 5: Flexbox
- Equal heights, from the startLining up across the row: align-items · Lesson 5: Flexbox
- Safe centringLining up across the row: align-items · Lesson 5: Flexbox
- Shrink yes, grow noWhen the row is too long: flex-wrap · Lesson 5: Flexbox
- Why a flex item stops shrinkingWhen the row is too long: flex-wrap · Lesson 5: Flexbox
- flex: 1 means grow from zeroSizing the items: grow, shrink and basis · Lesson 5: Flexbox
- Seen in one order, read in anotherSizing the items: grow, shrink and basis · Lesson 5: Flexbox
- Grid began with three editors at MicrosoftA grid of columns and rows · Lesson 6: Grid
- A grid ignores floatsA grid of columns and rows · Lesson 6: Grid
- fr shares only what is leftSharing the width: the fr unit and repeat() · Lesson 6: Grid
- An fr column keeps room for its contentSharing the width: the fr unit and repeat() · Lesson 6: Grid
- -1 is the end of the grid you drewPlacing items by the grid's lines · Lesson 6: Grid
- Named areas name their lines tooPlacing items by the grid's lines · Lesson 6: Grid
- Only rectangles allowedA page laid out by name: grid-template-areas · Lesson 6: Grid
- A dot is an empty cellA page laid out by name: grid-template-areas · Lesson 6: Grid
- Filling holes can shuffle the orderGrids that arrange themselves · Lesson 6: Grid
- Subgrid had to wait for Level 2Grids that arrange themselves · Lesson 6: Grid
- Positioning was written by rivals togetherThe normal flow, and nudging with relative · Lesson 7: Positioning
- A nudge can overlap its neighbourThe normal flow, and nudging with relative · Lesson 7: Positioning
- No positioned parent? A box the size of the screenPinning a box: position: absolute · Lesson 7: Positioning
- inset is read like marginPinning a box: position: absolute · Lesson 7: Positioning
- A transform can unfix a fixed boxStaying on screen: position: fixed · Lesson 7: Positioning
- Fixed boxes print on every pageStaying on screen: position: fixed · Lesson 7: Positioning
- Sticky only ever pushes one waySticking at the edge: position: sticky · Lesson 7: Positioning
- A sticky box never leaves its parentSticking at the edge: position: sticky · Lesson 7: Positioning
- A see-through box starts its own pileWhich box lies on top: z-index · Lesson 7: Positioning
- Flex and grid items need no position for z-indexWhich box lies on top: z-index · Lesson 7: Positioning
- The article that named responsive designOne page for every screen: the viewport meta tag · Lesson 8: Responsive design
- Why phones pretended to be 980 pixels wideOne page for every screen: the viewport meta tag · Lesson 8: Responsive design
- A media type for phones, now deprecatedRules for some screens: media queries · Lesson 8: Responsive design
- Dark mode is a media queryRules for some screens: media queries · Lesson 8: Responsive design
- Mobile first began as a blog postSmall screens first: mobile-first design · Lesson 8: Responsive design
- Phones overtook computers in 2016Small screens first: mobile-first design · Lesson 8: Responsive design
- clamp() settles even an impossible requestSizes that stretch: fluid widths and clamp() · Lesson 8: Responsive design
- 100vw can be too wideSizes that stretch: fluid widths and clamp() · Lesson 8: Responsive design
- Width and height stop the page jumpingPictures that fit: responsive images · Lesson 8: Responsive design
- The browser picks the filePictures that fit: responsive images · Lesson 8: Responsive design
- Transitions began at AppleChanges that take time: transition · Lesson 9: Transitions and animations
- The way back is quickerChanges that take time: transition · Lesson 9: Transitions and animations
- ease is one exact curveHow a change moves: timing functions and delay · Lesson 9: Transitions and animations
- Curves that came from car bodiesHow a change moves: timing functions and delay · Lesson 9: Transitions and animations
- The separate transform properties keep a fixed orderMoving, growing and turning: transform · Lesson 9: Transitions and animations
- A full circle is 1turnMoving, growing and turning: transform · Lesson 9: Transitions and animations
- Missing ends are filled inMoving by itself: @keyframes and animation · Lesson 9: Transitions and animations
- Same name, last one winsMoving by itself: @keyframes and animation · Lesson 9: Transitions and animations
- Why the rule against flashing existsMotion with care · Lesson 9: Transitions and animations
- Less motion helps attention tooMotion with care · Lesson 9: Transitions and animations
- Variables were once spelled var-A name for a value: custom properties · Lesson 10: CSS variables
- CSS will never claim the double dashA name for a value: custom properties · Lesson 10: CSS variables
- var() works only in valuesHow far a variable reaches · Lesson 10: CSS variables
- Typed variables can glideHow far a variable reaches · Lesson 10: CSS variables
- Why the earlier line does not come backWhen a variable is missing · Lesson 10: CSS variables
- A fallback can hold commasWhen a variable is missing · Lesson 10: CSS variables
- The spaces around plus and minusSums in CSS: calc() · Lesson 10: CSS variables
- CSS knows piSums in CSS: calc() · Lesson 10: CSS variables
- color-scheme dresses the browser's own partsA whole look in one place: themes · Lesson 10: CSS variables
- light-dark() picks the colour for youA whole look in one place: themes · Lesson 10: CSS variables
Browser DevTools
Tech School: 71 facts. Open the heading to read them in full.
- The first Web Inspector, 2006Opening the lens: DevTools · Lesson 1: The Elements panel
- A new Chrome every four weeksOpening the lens: DevTools · Lesson 1: The Elements panel
- The DOM became a standard in 1998The DOM tree: what the browser really built · Lesson 1: The Elements panel
- Every node has a numberThe DOM tree: what the browser really built · Lesson 1: The Elements panel
- Layers in the cascadeThe Styles tab: every rule, and who won · Lesson 1: The Elements panel
- Two kinds of pale textThe Styles tab: every rule, and who won · Lesson 1: The Elements panel
- You write red, it says rgbThe Computed tab: the final answer · Lesson 1: The Elements panel
- Computed is not quite computedThe Computed tab: the final answer · Lesson 1: The Elements panel
- When the whole page is oddLook first: a method for any CSS mystery · Lesson 1: The Elements panel
- The detective's ruleLook first: a method for any CSS mystery · Lesson 1: The Elements panel
- The first logs were made of woodThe page's diary · Lesson 2: The Console
- Message levels from the 1980sThe page's diary · Lesson 2: The Console
- A standard that says pleaseWriting in the diary · Lesson 2: The Console
- Messages in colourWriting in the diary · Lesson 2: The Console
- Ten frames, and whyReading an error · Lesson 2: The Console
- TypeError, the catch-allReading an error · Lesson 2: The Console
- Type allow pastingAsking the page questions · Lesson 2: The Console
- Five picks rememberedAsking the page questions · Lesson 2: The Console
- A log that changes after the factFrom the first red line to the fix · Lesson 2: The Console
- Bugs that hide when watchedFrom the first red line to the fix · Lesson 2: The Console
- Seventy parcels for one pageEvery parcel the page asked for · Lesson 3: The Network panel
- A saved table, cleaned by defaultEvery parcel the page asked for · Lesson 3: The Network panel
- Only 100 to 599What the server answered · Lesson 3: The Network panel
- No words in HTTP/2What the server answered · Lesson 3: The Network panel
- Misspelt in the standardOpening one request · Lesson 3: The Network panel
- Small letters in HTTP/2Opening one request · Lesson 3: The Network panel
- XHR, a name older than its useOpening one request · Lesson 3: The Network panel
- Pages four times heavierSlow and heavy · Lesson 3: The Network panel
- The Performance Golden RuleSlow and heavy · Lesson 3: The Network panel
- The Monkey, 1983Which panel, which question · Lesson 3: The Network panel
- Chaos MonkeyWhich panel, which question · Lesson 3: The Network panel
- Source maps, a standard since 2024The room with the machine in it · Lesson 4: The Sources panel and breakpoints
- Changes that survive a reloadThe room with the machine in it · Lesson 4: The Sources panel and breakpoints
- A keyword that may do nothingStopping the machine · Lesson 4: The Sources panel and breakpoints
- A breakpoint in one byteStopping the machine · Lesson 4: The Sources panel and breakpoints
- The same keys elsewhereOne tooth at a time · Lesson 4: The Sources panel and breakpoints
- next, step and finishOne tooth at a time · Lesson 4: The Sources panel and breakpoints
- Logpoints, from Chrome 73The right pin for the job · Lesson 4: The Sources panel and breakpoints
- Watchpoints, hundreds of times slowerThe right pin for the job · Lesson 4: The Sources panel and breakpoints
- One sign, two jobsFinding what logs would hide · Lesson 4: The Sources panel and breakpoints
- The value not equal to itselfFinding what logs would hide · Lesson 4: The Sources panel and breakpoints
- One locker per originWhat the browser keeps for a site · Lesson 5: The Application panel and storage
- A sixth drawer, closedWhat the browser keeps for a site · Lesson 5: The Application panel and storage
- Five megabytes eachTwo drawers of text: localStorage and sessionStorage · Lesson 5: The Application panel and storage
- Tabs that talkTwo drawers of text: localStorage and sessionStorage · Lesson 5: The Application panel and storage
- Four hundred days at mostThe drawer that travels: cookies · Lesson 5: The Application panel and storage
- Floors, not ceilingsThe drawer that travels: cookies · Lesson 5: The Application panel and storage
- Room measured in gigabytesThe two large drawers, and the Clear button · Lesson 5: The Application panel and storage
- A header that empties the drawersThe two large drawers, and the Clear button · Lesson 5: The Application panel and storage
- No secrets in localStorageToo much memory, or too little · Lesson 5: The Application panel and storage
- HttpOnly, since 2002Too much memory, or too little · Lesson 5: The Application panel and storage
- The newest of the threeWhat fast means: three numbers · Lesson 6: Performance and Lighthouse
- Good for three visits in fourWhat fast means: three numbers · Lesson 6: Performance and Lighthouse
- Flame charts and flame graphsRecording what happened · Lesson 6: Performance and Lighthouse
- Sixty frames a secondRecording what happened · Lesson 6: Performance and Lighthouse
- Why 50 millisecondsOne worker: the main thread · Lesson 6: Performance and Lighthouse
- A tenth of a secondOne worker: the main thread · Lesson 6: Performance and Lighthouse
- What the score is made ofA full inspection: Lighthouse · Lesson 6: Performance and Lighthouse
- Once five categoriesA full inspection: Lighthouse · Lesson 6: Performance and Lighthouse
- The root of all evilTime it first · Lesson 6: Performance and Lighthouse
- Scores that move by themselvesTime it first · Lesson 6: Performance and Lighthouse
- Why 320 pixelsOne screen, any size: the device toolbar · Lesson 7: Device mode
- Blue bars and orange barsOne screen, any size: the device toolbar · Lesson 7: Device mode
- An iPad that says it is a MacWhat the pretending changes · Lesson 7: Device mode
- Every Android is Android 10What the pretending changes · Lesson 7: Device mode
- How big is a finger?A finger is not a pointer · Lesson 7: Device mode
- The inconvenient long tapA finger is not a pointer · Lesson 7: Device mode
- One man in twelveOther places, other eyes · Lesson 7: Device mode
- Motion that makes people illOther places, other eyes · Lesson 7: Device mode
- Seven tapsWhere the pretending stops · Lesson 7: Device mode
- DevTools is a web appWhere the pretending stops · Lesson 7: Device mode
JavaScript
Tech School: 120 facts. Open the heading to read them in full.
- A type named after a personEvery value has a type · Lesson 1: Values and variables
- The youngest of the eightEvery value has a type · Lesson 1: Values and variables
- A fraction that cost livesNumbers: one type for every amount · Lesson 1: Values and variables
- When adding 1 does nothingNumbers: one type for every amount · Lesson 1: Values and variables
- Backticks since 2015Strings: text, written three ways · Lesson 1: Values and variables
- One face, two code unitsStrings: text, written three ways · Lesson 1: Values and variables
- Names in HindiVariables: names made with const, let and var · Lesson 1: Values and variables
- let and const since 2015Variables: names made with const, let and var · Lesson 1: Values and variables
- When += was =+Changing a value · Lesson 1: Values and variables
- Who invented ++Changing a value · Lesson 1: Values and variables
- Nothing becomes zeroTurning one type into another · Lesson 1: Values and variables
- Two nothings, two numbersTurning one type into another · Lesson 1: Values and variables
- Three ways to ask equalComparing values · Lesson 2: Operators and conditionals
- Capitals firstComparing values · Lesson 2: Operators and conditionals
- Laws from a man born in MaduraiAnd, or, not: joining questions · Lesson 2: Operators and conditionals
- Why && has two signsAnd, or, not: joining questions · Lesson 2: Operators and conditionals
- The one falsy objectTruthy and falsy: what counts as yes · Lesson 2: Operators and conditionals
- A young operator for real zerosTruthy and falsy: what counts as yes · Lesson 2: Operators and conditionals
- Two lines that broke a lockMaking a choice with if · Lesson 2: Operators and conditionals
- There is no else ifMaking a choice with if · Lesson 2: Operators and conditionals
- The only three-part operatorChoosing a value: the ternary operator · Lesson 2: Operators and conditionals
- Older than CChoosing a value: the ternary operator · Lesson 2: Operators and conditionals
- Pride and revulsionChoosing a path: switch · Lesson 2: Operators and conditionals
- A default anywhereChoosing a path: switch · Lesson 2: Operators and conditionals
- A word for a jobWriting a job once: declaring and calling · Lesson 3: Functions
- Don't Repeat YourselfWriting a job once: declaring and calling · Lesson 3: Functions
- Defaults fill only undefinedValues going in: parameters · Lesson 3: Functions
- The hidden arguments objectValues going in: parameters · Lesson 3: Functions
- A return that returns nothingValues coming out: return · Lesson 3: Functions
- The undefined after console.logValues coming out: return · Lesson 3: Functions
- An object that can be calledFunctions as values: expressions and arrows · Lesson 3: Functions
- What arrows leave outFunctions as values: expressions and arrows · Lesson 3: Functions
- Don't call us, we'll call youFunctions passed to functions: callbacks · Lesson 3: Functions
- Zero is never quite nowFunctions passed to functions: callbacks · Lesson 3: Functions
- The operational cellarFunctions calling functions: the call stack · Lesson 3: Functions
- Calls that reuse their frameFunctions calling functions: the call stack · Lesson 3: Functions
- Two kinds of globalWhat scope is · Lesson 4: Scope
- Global here, local thereWhat scope is · Lesson 4: Scope
- A fresh record for every callNames inside a function · Lesson 4: Scope
- Known before its lineNames inside a function · Lesson 4: Scope
- A new let for every roundNames inside a block · Lesson 4: Scope
- The compound statementNames inside a block · Lesson 4: Scope
- The statement that bent the chainScopes inside scopes · Lesson 4: Scope
- Scope by the shape of the codeScopes inside scopes · Lesson 4: Scope
- Scheme-ish functionsClosures: functions that remember · Lesson 4: Scope
- Private before the hashClosures: functions that remember · Lesson 4: Scope
- The name that broke websitesKeeping global names few · Lesson 4: Scope
- Modules are strict from the startKeeping global names few · Lesson 4: Scope
- An object underneathMaking an array, and reading it · Lesson 5: Arrays
- The longest listMaking an array, and reading it · Lesson 5: Arrays
- A sailor's wordChanging an array · Lesson 5: Arrays
- A twin that leaves the list aloneChanging an array · Lesson 5: Arrays
- Two searches, one disagreementFinding items · Lesson 5: Arrays
- A faster way to ask is it thereFinding items · Lesson 5: Arrays
- The method that broke the webTaking parts, joining, and turning into text · Lesson 5: Arrays
- Arrays turn into commasTaking parts, joining, and turning into text · Lesson 5: Arrays
- A copy all the way downTwo names, one array · Lesson 5: Arrays
- Freezing, one level deepTwo names, one array · Lesson 5: Arrays
- Stable since Chrome 70Putting an array in order · Lesson 5: Arrays
- A sort from PythonPutting an array in order · Lesson 5: Arrays
- Why the counter is called iThe for loop · Lesson 6: Loops
- A loop with nothing in its headThe for loop · Lesson 6: Loops
- No program can check every loopwhile: repeating until something changes · Lesson 6: Loops
- A loop nobody can prove will stopwhile: repeating until something changes · Lesson 6: Loops
- Names, not itemsfor...of: every item, one by one · Lesson 6: Loops
- Not only for arraysfor...of: every item, one by one · Lesson 6: Loops
- A break that leaves two loopsbreak, continue, and loops inside loops · Lesson 6: Loops
- A notation from 1894break, continue, and loops inside loops · Lesson 6: Loops
- Where Math.max startsThe patterns loops are used for · Lesson 6: Loops
- Twenty accumulatorsThe patterns loops are used for · Lesson 6: Loops
- Map and reduce at Google's scaleLoops as methods: forEach, map, filter, reduce · Lesson 6: Loops
- The empty-list trapLoops as methods: forEach, map, filter, reduce · Lesson 6: Loops
- Numbers first, then the restMaking an object, and reading it · Lesson 7: Objects
- Every key is textMaking an object, and reading it · Lesson 7: Objects
- A safer way to ask own or notAdding, changing and deleting properties · Lesson 7: Objects
- delete is not a dustbinAdding, changing and deleting properties · Lesson 7: Objects
- Two equal-looking objects are not equalTwo names, one object, and copies · Lesson 7: Objects
- What a deep copy cannot copyTwo names, one object, and copies · Lesson 7: Objects
- Objects without classesMethods and this · Lesson 7: Objects
- Classes built on prototypesMethods and this · Lesson 7: Objects
- Grouping without a loopLooping over an object, and arrays of objects · Lesson 7: Objects
- Values and entries arrived laterLooping over an object, and arrays of objects · Lesson 7: Objects
- A format from a subsetObjects inside objects, and JSON · Lesson 7: Objects
- What JSON leaves outObjects inside objects, and JSON · Lesson 7: Objects
- Spaces are nodes tooThe page as a tree · Lesson 8: The DOM
- How big is too bigThe page as a tree · Lesson 8: The DOM
- Live lists and frozen listsFinding elements · Lesson 8: The DOM
- Two elements, one idFinding elements · Lesson 8: The DOM
- Script tags that never runChanging what an element shows · Lesson 8: The DOM
- Why float was once cssFloatChanging what an element shows · Lesson 8: The DOM
- One element, one placeMaking and removing elements · Lesson 8: The DOM
- A move that keeps its stateMaking and removing elements · Lesson 8: The DOM
- Modules wait without being askedWhere a script stands · Lesson 8: The DOM
- The moment the tree is readyWhere a script stands · Lesson 8: The DOM
- A billion comparisonsBuilding a page from data · Lesson 8: The DOM
- Emptying in one callBuilding a page from data · Lesson 8: The DOM
- A promise not to stop scrollingListening for an event · Lesson 9: Events
- A click waits its turnListening for an event · Lesson 9: Events
- Which key, or which letterThe event object · Lesson 9: Events
- Real clicks and made-up clicksThe event object · Lesson 9: Events
- Enter sends the formTyping, choosing and sending forms · Lesson 9: Events
- A send that skips the listenerTyping, choosing and sending forms · Lesson 9: Events
- Down first, then upHow an event travels: bubbling · Lesson 9: Events
- Gone when the handler endsHow an event travels: bubbling · Lesson 9: Events
- Now and in the futureOne listener for many: delegation · Lesson 9: Events
- Events that stay putOne listener for many: delegation · Lesson 9: Events
- One signal removes them allRemoving listeners, once, and onclick · Lesson 9: Events
- A list of every listenerRemoving listeners, once, and onclick · Lesson 9: Events
- An error that holds many errorsErrors are objects · Lesson 10: Errors and debugging
- One mistake, two namesErrors are objects · Lesson 10: Errors and debugging
- The trace is made at newThrowing an error of your own · Lesson 10: Errors and debugging
- The standard's own RangeErrorThrowing an error of your own · Lesson 10: Errors and debugging
- A return in finally winsCatching: try, catch and finally · Lesson 10: Errors and debugging
- finally began as unwind-protectCatching: try, catch and finally · Lesson 10: Errors and debugging
- An error with a causeWhere to catch, and where to let it fly · Lesson 10: Errors and debugging
- Why catch and throw were madeWhere to catch, and where to let it fly · Lesson 10: Errors and debugging
- Assertions, 1949Checking at the edges: loud and early · Lesson 10: Errors and debugging
- Failing slowlyChecking at the edges: loud and early · Lesson 10: Errors and debugging
- 896 lines cut to oneThe method, on a whole program · Lesson 10: Errors and debugging
- Steps, expected, actualThe method, on a whole program · Lesson 10: Errors and debugging
Modern JavaScript (ES6 and later)
Tech School: 120 facts. Open the heading to read them in full.
- Working before it is writtenHow JavaScript changes · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- What ECMA stood forHow JavaScript changes · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- A switch written as a stringStrict mode: silent slips made loud · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- Words kept for laterStrict mode: silent slips made loud · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- let in 2006let in loops: each turn its own counter · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- let for old browserslet in loops: each turn its own counter · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- Three locks, from weak to strongconst, and freezing an object · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- Objects that refuse to freezeconst, and freezing an object · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- No break before the arrowArrow functions in depth · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- A fat arrow before ES2015Arrow functions in depth · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- Rule 8.1Choosing the form for each job · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- A tool that retires varChoosing the form for each job · Lesson 1: Modern JavaScript: strict mode, let, const and arrows
- Where [object Object] comes fromWhat a gap turns a value into · Lesson 2: Template literals in depth
- A null that vanishesWhat a gap turns a value into · Lesson 2: Template literals in depth
- Two line endings made oneText over many lines · Lesson 2: Template literals in depth
- A proposal to strip the indentText over many lines · Lesson 2: Template literals in depth
- Lakh and crore are built inNumbers written for people · Lesson 2: Template literals in depth
- A sign from 2010Numbers written for people · Lesson 2: Template literals in depth
- Every letter the same widthText in straight columns · Lesson 2: Template literals in depth
- Digits of equal widthText in straight columns · Lesson 2: Template literals in depth
- Tags in the wildTagged templates and String.raw · Lesson 2: Template literals in depth
- LaTeX loosened the rulesTagged templates and String.raw · Lesson 2: Template literals in depth
- A browser that cleans HTMLBuilding HTML that a name cannot break · Lesson 2: Template literals in depth
- And, by itself, andBuilding HTML that a name cannot break · Lesson 2: Template literals in depth
- Swapping, as Python doesUnpacking an array · Lesson 3: Destructuring and spread
- Any iterable will doUnpacking an array · Lesson 3: Destructuring and spread
- Braces that look like a blockUnpacking an object · Lesson 3: Destructuring and spread
- A name from the prototypeUnpacking an object · Lesson 3: Destructuring and spread
- Named arguments, JavaScript styleUnpacking in parameters and loops · Lesson 3: Destructuring and spread
- Every React component does thisUnpacking in parameters and loops · Lesson 3: Destructuring and spread
- Rest goes lastGathering the rest · Lesson 3: Destructuring and spread
- Objects waited three yearsGathering the rest · Lesson 3: Destructuring and spread
- Nothing to spreadSpreading values out · Lesson 3: Destructuring and spread
- Before the dots: applySpreading values out · Lesson 3: Destructuring and spread
- Spread changes nothing it copiesCopying and updating objects · Lesson 3: Destructuring and spread
- Copying only what changedCopying and updating objects · Lesson 3: Destructuring and spread
- IffyWhy modules · Lesson 4: Modules
- require before importWhy modules · Lesson 4: Modules
- Shaking the treeExporting: what a file lends · Lesson 4: Modules
- A package that lends only some filesExporting: what a file lends · Lesson 4: Modules
- JSON by importImporting: what a file borrows · Lesson 4: Modules
- An object you cannot changeImporting: what a file borrows · Lesson 4: Modules
- Two guides, two answersDefault exports · Lesson 4: Modules
- default is just a nameDefault exports · Lesson 4: Modules
- Bare names with an import mapLoading modules in a browser and in Node · Lesson 4: Modules
- A script for old browsersLoading modules in a browser and in Node · Lesson 4: Modules
- The cost of a barrelArranging a project's files · Lesson 4: Modules
- Loading later, since 2020Arranging a project's files · Lesson 4: Modules
- Called without newA class and its objects · Lesson 5: Classes
- instanceof and framesA class and its objects · Lesson 5: Classes
- Why the hashFields: public and private · Lesson 5: Classes
- Asking whether a field is thereFields: public and private · Lesson 5: Classes
- Getters before classesGetters and setters · Lesson 5: Classes
- Setters that redraw the pageGetters and setters · Lesson 5: Classes
- Math, all staticStatic methods and fields · Lesson 5: Classes
- A block that runs onceStatic methods and fields · Lesson 5: Classes
- Built-ins can be extendedOne class built on another · Lesson 5: Classes
- Extending an expressionOne class built on another · Lesson 5: Classes
- When instanceof brokeError classes of your own · Lesson 5: Classes
- A code, not a messageError classes of your own · Lesson 5: Classes
- Functions about functions, 1930sFunctions that take and give functions · Lesson 6: Iterators and higher-order functions
- One logician, two namesFunctions that take and give functions · Lesson 6: Iterators and higher-order functions
- The same letters, two ordersChains, finding and sorting · Lesson 6: Iterators and higher-order functions
- Searching from the endChains, finding and sorting · Lesson 6: Iterators and higher-order functions
- Borrowed from PerlPatterns in text: regular expressions · Lesson 6: Iterators and higher-order functions
- A pattern that slowed a networkPatterns in text: regular expressions · Lesson 6: Iterators and higher-order functions
- Python's iterators, 2001How for...of walks a value · Lesson 6: Iterators and higher-order functions
- map and filter for any iteratorHow for...of walks a value · Lesson 6: Iterators and higher-order functions
- Async before asyncGenerators: values one at a time · Lesson 6: Iterators and higher-order functions
- yield came from CLUGenerators: values one at a time · Lesson 6: Iterators and higher-order functions
- The hook for-of callsObjects that for...of can walk · Lesson 6: Iterators and higher-order functions
- One object, both rolesObjects that for...of can walk · Lesson 6: Iterators and higher-order functions
- A number here, an object thereCode that runs later · Lesson 7: Promises
- Timers in hidden tabsCode that runs later · Lesson 7: Promises
- An open standard for promisesWhat a promise is · Lesson 7: Promises
- jQuery's Deferred, 2011What a promise is · Lesson 7: Promises
- Anything with a thenChains of then · Lesson 7: Promises
- finally, since 2018Chains of then · Lesson 7: Promises
- Node stops on a forgotten rejectionFailures, caught in one place · Lesson 7: Promises
- An event for forgotten rejectionsFailures, caught in one place · Lesson 7: Promises
- Resolve from outsideMany promises at once · Lesson 7: Promises
- Promise.try, 2025Many promises at once · Lesson 7: Promises
- The post that explained the orderWhat runs next: the event loop · Lesson 7: Promises
- A microtask of your ownWhat runs next: the event loop · Lesson 7: Promises
- Older in C#Async functions · Lesson 8: async and await
- async functions, 2017Async functions · Lesson 8: async and await
- Even await 5 waitsawait: pause here, and carry on after · Lesson 8: async and await
- A bug that made await fasterawait: pause here, and carry on after · Lesson 8: async and await
- A lint rule that changed its mindFailures with try and catch · Lesson 8: async and await
- Traces across awaitFailures with try and catch · Lesson 8: async and await
- Six at a timeOne at a time, or together · Lesson 8: async and await
- A request with a deadlineOne at a time, or together · Lesson 8: async and await
- await in the Console, 2017await outside a function · Lesson 8: async and await
- No flag since August 2020await outside a function · Lesson 8: async and await
- Streams you can walkValues that arrive slowly · Lesson 8: async and await
- Collecting it all at onceValues that arrive slowly · Lesson 8: async and await
- Ajax, named in 2005Asking a server · Lesson 9: fetch
- fetch reaches Node.jsAsking a server · Lesson 9: fetch
- What counts as okReading the answer before you believe it · Lesson 9: fetch
- Reading a body twiceReading the answer before you believe it · Lesson 9: fetch
- JSON that arrives as plain textSending data to a server · Lesson 9: fetch
- A GET with a body is refusedSending data to a server · Lesson 9: fetch
- One standard for addressesBuilding addresses safely · Lesson 9: fetch
- Plus means spaceBuilding addresses safely · Lesson 9: fetch
- Promises that cannot be cancelledTime limits and cancelling · Lesson 9: fetch
- Two reasons to stopTime limits and cancelling · Lesson 9: fetch
- A rule from 1995Other sites: origins and CORS · Lesson 9: fetch
- Why CORS asks permissionOther sites: origins and CORS · Lesson 9: fetch
- Objects as maps, and a known attackMap: a table of any key to any value · Lesson 10: Maps and sets
- Built for keys that come and goMap: a table of any key to any value · Lesson 10: Maps and sets
- JSON has no word for a MapWalking a Map, and moving between forms · Lesson 10: Maps and sets
- The way back to an objectWalking a Map, and moving between forms · Lesson 10: Maps and sets
- Memo functions, 1968Counting, grouping and remembering · Lesson 10: Maps and sets
- React remembers tooCounting, grouping and remembering · Lesson 10: Maps and sets
- Sets began with CantorSet: each value once · Lesson 10: Maps and sets
- NaN, onceSet: each value once · Lesson 10: Maps and sets
- Union and friends, since 2024Comparing two sets · Lesson 10: Maps and sets
- Circles from Euler to VennComparing two sets · Lesson 10: Maps and sets
- Best avoidedNotes that do not hold on: WeakMap and WeakSet · Lesson 10: Maps and sets
- Garbage collection, 1959Notes that do not hold on: WeakMap and WeakSet · Lesson 10: Maps and sets
Linux and Bash
Tech School: 96 facts. Open the heading to read them in full.
- A shell named with a punThe terminal, the shell and the prompt · Lesson 1: The terminal
- $ for you, # for rootThe terminal, the shell and the prompt · Lesson 1: The terminal
- One dash, by the standardThe shape of a command · Lesson 1: The terminal
- Two dashes from GNUThe shape of a command · Lesson 1: The terminal
- The manual's numbered sectionsGetting help from the commands themselves · Lesson 1: The terminal
- Manuals made shortGetting help from the commands themselves · Lesson 1: The terminal
- 127 means not foundReading errors and exit statuses · Lesson 1: The terminal
- 130 after Ctrl+CReading errors and exit statuses · Lesson 1: The terminal
- Keys from EmacsThe keys that save typing · Lesson 1: The terminal
- Ctrl+D ends it allThe keys that save typing · Lesson 1: The terminal
- GNU, announced in 1983Linux, the kernel and distributions · Lesson 1: The terminal
- Just a hobbyLinux, the kernel and distributions · Lesson 1: The terminal
- A tree since 1974One tree from one root · Lesson 2: The file system
- One big tree, many disksOne tree from one root · Lesson 2: The file system
- Two entries in every folderPaths: absolute and relative · Lesson 2: The file system
- 4096 characters at mostPaths: absolute and relative · Lesson 2: The file system
- Why cd is built inMoving around with cd · Lesson 2: The file system
- cd - remembersMoving around with cd · Lesson 2: The file system
- A year for old filesReading what ls -l tells you · Lesson 2: The file system
- Which K?Reading what ls -l tells you · Lesson 2: The file system
- Why /usrWhat the main folders hold · Lesson 2: The file system
- /tmp may vanishWhat the main folders hold · Lesson 2: The file system
- Hidden by a shortcutNames, spaces and hidden files · Lesson 2: The file system
- 65 safe charactersNames, spaces and hidden files · Lesson 2: The file system
- Full, with space to spareMaking files and folders · Lesson 3: Files and folders
- A date parser from 1990Making files and folders · Lesson 3: Files and folders
- A backwards moreLooking inside files · Lesson 3: Files and folders
- Six characters, 18 bytesLooking inside files · Lesson 3: Files and folders
- Why a big move can be instantCopying and moving · Lesson 3: Files and folders
- A name from magnetic tapeCopying and moving · Lesson 3: Files and folders
- A second or two, 300 GBRemoving, with care · Lesson 3: Files and folders
- The bin is a hidden folderRemoving, with care · Lesson 3: Files and folders
- Glob was once a programPatterns: one word for many names · Lesson 3: Files and folders
- On a Mac, no match is an errorPatterns: one word for many names · Lesson 3: Files and folders
- Order matters for -deleteFinding files · Lesson 3: Files and folders
- Ages counted in whole daysFinding files · Lesson 3: Files and folders
- Errors once shared the main outletWhere output goes · Lesson 4: Redirection and pipes
- A lock on the arrowWhere output goes · Lesson 4: Redirection and pipes
- A garden hose in 1964Pipes: from each to the next · Lesson 4: Redirection and pipes
- A pipe holds 64 KiBPipes: from each to the next · Lesson 4: Redirection and pipes
- grep skips most of the bytesFinding lines: grep · Lesson 4: Redirection and pipes
- Two old names for grepFinding lines: grep · Lesson 4: Redirection and pipes
- Six commands and a famous reviewSorting and counting · Lesson 4: Redirection and pipes
- One file, two ordersSorting and counting · Lesson 4: Redirection and pipes
- Made for files too big to editCutting and changing text · Lesson 4: Redirection and pipes
- Any character can be the slashCutting and changing text · Lesson 4: Redirection and pipes
- Argument list too longLines into arguments: xargs · Lesson 4: Redirection and pipes
- Several commands at onceLines into arguments: xargs · Lesson 4: Redirection and pipes
- sudo began around 1980Users, groups and root · Lesson 5: Permissions
- A file named passwd with no passwordsUsers, groups and root · Lesson 5: Permissions
- Once there were two setsReading a permission string · Lesson 5: Permissions
- An eleventh characterReading a permission string · Lesson 5: Permissions
- The t at the end of /tmpWhat read, write and run mean · Lesson 5: Permissions
- rm asks, but the folder decidesWhat read, write and run mean · Lesson 5: Permissions
- A capital X for foldersChanging permissions: chmod · Lesson 5: Permissions
- Links ignore chmodChanging permissions: chmod · Lesson 5: Permissions
- A fourth digit in frontPermissions as numbers · Lesson 5: Permissions
- Octal in program codePermissions as numbers · Lesson 5: Permissions
- Why a mask can be 002Running scripts, and the defaults · Lesson 5: Permissions
- When x is not enoughRunning scripts, and the defaults · Lesson 5: Permissions
- Every process has a folderPrograms that are running · Lesson 6: Processes
- PIDs wrap aroundPrograms that are running · Lesson 6: Processes
- & in the 1974 paperRunning in the background · Lesson 6: Processes
- A zombie until someone waitsRunning in the background · Lesson 6: Processes
- Job control from AustriaKeeping track of jobs · Lesson 6: Processes
- A job named by its commandKeeping track of jobs · Lesson 6: Processes
- Ask, wait 90 seconds, then tellSignals: asking and telling · Lesson 6: Processes
- Names travel, numbers do notSignals: asking and telling · Lesson 6: Processes
- A frozen screen is often Ctrl+SPausing and resuming at the keyboard · Lesson 6: Processes
- Ctrl+Z asks, STOP tellsPausing and resuming at the keyboard · Lesson 6: Processes
- ps aux is not ps -auxFinding processes: ps, pgrep and top · Lesson 6: Processes
- A hang-up from the modem daysFinding processes: ps, pgrep and top · Lesson 6: Processes
- Named variables from Stephen BourneShell variables · Lesson 7: Environment variables
- A checker for missing quotesShell variables · Lesson 7: Environment variables
- Capitals for the system, small letters for youThe environment, and export · Lesson 7: Environment variables
- Web apps keep their settings hereThe environment, and export · Lesson 7: Environment variables
- One colon too manyHow commands are found: PATH · Lesson 7: Environment variables
- bash remembers where it lookedHow commands are found: PATH · Lesson 7: Environment variables
- rc means run commandsSettings that last: source and .bashrc · Lesson 7: Environment variables
- source came from the C shellSettings that last: source and .bashrc · Lesson 7: Environment variables
- ll is already thereShort names: alias · Lesson 7: Environment variables
- The manual prefers functionsShort names: alias · Lesson 7: Environment variables
- RANDOM and its seedUseful variables, and your prompt · Lesson 7: Environment variables
- One colon, two meaningsUseful variables, and your prompt · Lesson 7: Environment variables
- #! since January 1980Your first script · Lesson 8: Bash scripts
- The word shell, from 1964Your first script · Lesson 8: Bash scripts
- $10 is not the tenthArguments: $1, $# and "$@" · Lesson 8: Bash scripts
- Status 2 for a wrong useArguments: $1, $# and "$@" · Lesson 8: Bash scripts
- fi and esac from ALGOL 68Decisions: if, test and case · Lesson 8: Bash scripts
- [ is also a fileDecisions: if, test and case · Lesson 8: Bash scripts
- A for with no listLoops: for and while · Lesson 8: Bash scripts
- Even true can failLoops: for and while · Lesson 8: Bash scripts
- return 256 means 0Functions · Lesson 8: Bash scripts
- $( ) nests, backquotes struggleFunctions · Lesson 8: Bash scripts
- set -e lets some failures throughSafe scripts: set -euo pipefail and trap · Lesson 8: Bash scripts
- pipefail joined POSIX in 2024Safe scripts: set -euo pipefail and trap · Lesson 8: Bash scripts
Git and GitHub
Tech School: 84 facts. Open the heading to read them in full.
- Git began in 2005Why keep versions at all · Lesson 1: Why version control
- 93.87% use GitWhy keep versions at all · Lesson 1: Why version control
- The stupid content trackerA repository: git init · Lesson 1: Why version control
- Everything in .gitA repository: git init · Lesson 1: Why version control
- The index was once the cacheThe three places a change passes through · Lesson 1: Why version control
- Three versions on one trayThe three places a change passes through · Lesson 1: Why version control
- 50 characters, then a blank lineCommits: git add and git commit · Lesson 1: Why version control
- Write the subject as an orderCommits: git add and git commit · Lesson 1: Why version control
- SHA-1 was broken in 2017Reading the history: git log · Lesson 1: Why version control
- Seven characters, or moreReading the history: git log · Lesson 1: Why version control
- Settings in layersTelling git who you are · Lesson 1: Why version control
- main by choice since Git 2.28Telling git who you are · Lesson 1: Why version control
- Staging half a fileThe everyday cycle · Lesson 2: The basic workflow
- One commit per issueThe everyday cycle · Lesson 2: The basic workflow
- diff since 1976Reading a diff · Lesson 2: The basic workflow
- Three lines of contextReading a diff · Lesson 2: The basic workflow
- git restore arrived in 2019Undoing before you commit: git restore · Lesson 2: The basic workflow
- Put it aside with stashUndoing before you commit: git restore · Lesson 2: The basic workflow
- Half the same is a renameRemoving and renaming: git rm and git mv · Lesson 2: The basic workflow
- git mv is a convenienceRemoving and renaming: git rm and git mv · Lesson 2: The basic workflow
- Ready-made lists from GitHubKeeping files out: .gitignore · Lesson 2: The basic workflow
- A global ignore file of your ownKeeping files out: .gitignore · Lesson 2: The basic workflow
- A tilde and a caretLooking back: git show · Lesson 2: The basic workflow
- One file, as it wasLooking back: git show · Lesson 2: The basic workflow
- Git's killer featureWhat a branch is · Lesson 3: Branches
- Not always a fileWhat a branch is · Lesson 3: Branches
- One branch for each changeMaking a branch · Lesson 3: Branches
- Why ~, ^ and : are bannedMaking a branch · Lesson 3: Branches
- @{-2} and the dashSwitching branches · Lesson 3: Branches
- Carry the changes acrossSwitching branches · Lesson 3: Branches
- Two dots and three dotsTwo lines of work · Lesson 3: Branches
- Drawing the linesTwo lines of work · Lesson 3: Branches
- GitHub's button does not fast-forwardBringing a line back: fast-forward · Lesson 3: Branches
- git-flow, and second thoughtsBringing a line back: fast-forward · Lesson 3: Branches
- Gone, but remembered for a whileDeleting and renaming branches · Lesson 3: Branches
- Which branches are safe to deleteDeleting and renaming branches · Lesson 3: Branches
- ort, Ostensibly Recursive's TwinWhen both lines have moved on · Lesson 4: Merging and conflicts
- Two merge bases at onceWhen both lines have moved on · Lesson 4: Merging and conflicts
- The octopus mergeA merge that git finishes alone · Lesson 4: Merging and conflicts
- A message that lists the workA merge that git finishes alone · Lesson 4: Merging and conflicts
- A third version between the markersWhen both changed the same line · Lesson 4: Merging and conflicts
- Markers of 32 charactersWhen both changed the same line · Lesson 4: Merging and conflicts
- rerere remembers your answerIn the middle of a merge · Lesson 4: Merging and conflicts
- A tool for each conflictIn the middle of a merge · Lesson 4: Merging and conflicts
- A check for leftover markersResolving the conflict · Lesson 4: Merging and conflicts
- ours and theirs can swapResolving the conflict · Lesson 4: Merging and conflicts
- Commit or stash before you mergeBacking out: git merge --abort · Lesson 4: Merging and conflicts
- ORIG_HEAD, the way backBacking out: git merge --abort · Lesson 4: Merging and conflicts
- origin is only a habitA copy somewhere else · Lesson 5: GitHub and remotes
- A remote on a USB stickA copy somewhere else · Lesson 5: GitHub and remotes
- No -u needed with autoSetupRemoteSending your work: git push · Lesson 5: GitHub and remotes
- simple, the safe defaultSending your work: git push · Lesson 5: GitHub and remotes
- A clone of the last commit onlyCopying a repository: git clone · Lesson 5: GitHub and remotes
- Every branch arrives, as a recordCopying a repository: git clone · Lesson 5: GitHub and remotes
- Only what is missingBringing work down: git fetch · Lesson 5: GitHub and remotes
- FETCH_HEAD remembers the last fetchBringing work down: git fetch · Lesson 5: GitHub and remotes
- A force with a safety catchgit pull, and when a push is refused · Lesson 5: GitHub and remotes
- GitHub blocks force pushes for yougit pull, and when a push is refused · Lesson 5: GitHub and remotes
- No passwords since 13 August 2021GitHub · Lesson 5: GitHub and remotes
- GitHub stops a pushed secretGitHub · Lesson 5: GitHub and remotes
- 100 lines, not 1000One branch for one change · Lesson 6: Pull requests
- The pull request before the buttonOne branch for one change · Lesson 6: Pull requests
- Fixes #12 closes issue 12Opening a pull request · Lesson 6: Pull requests
- Reviewers chosen by a fileOpening a pull request · Lesson 6: Pull requests
- One business day at mostReviewing a pull request · Lesson 6: Pull requests
- What a review is forReviewing a pull request · Lesson 6: Pull requests
- The Update branch buttonKeeping a pull request up to date · Lesson 6: Pull requests
- Up to date before mergingKeeping a pull request up to date · Lesson 6: Pull requests
- A squash leaves no merge behindMerging the pull request · Lesson 6: Pull requests
- Rebase and merge adds no merge commitMerging the pull request · Lesson 6: Pull requests
- Branches that delete themselvesAfter the merge: tidying up · Lesson 6: Pull requests
- Restore branchAfter the merge: tidying up · Lesson 6: Pull requests
- More than one authorCommit messages that explain · Lesson 7: Good habits
- A type in front of the titleCommit messages that explain · Lesson 7: Good habits
- bisect finds the guilty commitSmall commits, one change each · Lesson 7: Good habits
- The diff below the messageSmall commits, one change each · Lesson 7: Good habits
- Releases stand on tagsNaming the commits that matter: tags · Lesson 7: Good habits
- A name for every commit after a tagNaming the commits that matter: tags · Lesson 7: Good habits
- reset, restore and revertUndoing a change: revert and reset · Lesson 7: Good habits
- Reverting a merge needs a sideUndoing a change: revert and reset · Lesson 7: Good habits
- stash@{2.hours.ago}Setting work aside: the stash · Lesson 7: Good habits
- A stash that no longer fitsSetting work aside: the stash · Lesson 7: Good habits
- Tokens that say what they areSecrets never go in · Lesson 7: Good habits
- Not filter-branchSecrets never go in · Lesson 7: Good habits
Node.js
Tech School: 74 facts. Open the heading to read them in full.
- Made for event-driven serversWhat Node is · Lesson 1: The Node runtime
- Which version to runWhat Node is · Lesson 1: The Node runtime
- Restart on every saveRunning a program · Lesson 1: The Node runtime
- Check without runningRunning a program · Lesson 1: The Node runtime
- Sometimes at once, sometimes laterOutput: two streams · Lesson 1: The Node runtime
- A stopwatch in the consoleOutput: two streams · Lesson 1: The Node runtime
- .env without a packageWhat a program is given: process · Lesson 1: The Node runtime
- Everything in process.env is textWhat a program is given: process · Lesson 1: The Node runtime
- process.exit can cut output shortEnding with an exit code · Lesson 1: The Node runtime
- Last words must be quickEnding with an exit code · Lesson 1: The Node runtime
- libuv, the loop under NodeOne engine, one job at a time: the event loop · Lesson 1: The Node runtime
- Four threads behind the scenesOne engine, one job at a time: the event loop · Lesson 1: The Node runtime
- Every file sits inside a functionWhy programs are built from parts · Lesson 2: Modules
- Node's own modules are files tooWhy programs are built from parts · Lesson 2: Modules
- Half-finished exportsLoading a module: require · Lesson 2: Modules
- Reloading from the cacheLoading a module: require · Lesson 2: Modules
- Too late in a timerWhat a module offers: module.exports and exports · Lesson 2: Modules
- A module that offers a classWhat a module offers: module.exports and exports · Lesson 2: Modules
- Modules only with node:How require finds a module · Lesson 2: Modules
- A fourth ending: .nodeHow require finds a module · Lesson 2: Modules
- TypeScript, with the types wiped outES modules in Node: import and export · Lesson 2: Modules
- Node can guess the module kindES modules in Node: import and export · Lesson 2: Modules
- require can load ES modules nowChoosing, and mixing the two · Lesson 2: Modules
- require inside an ES moduleChoosing, and mixing the two · Lesson 2: Modules
- npm, also known as IsaacPackages and npm · Lesson 3: npm and packages
- npm joined GitHub in 2020Packages and npm · Lesson 3: npm and packages
- 214 characters, all small lettersThe project's card: package.json · Lesson 3: npm and packages
- A field that stops publishingThe project's card: package.json · Lesson 3: npm and packages
- node_modules/.bin joins the PATHA project's jobs: scripts · Lesson 3: npm and packages
- Scripts that run before and afterA project's jobs: scripts · Lesson 3: npm and packages
- The day left-pad vanishedInstalling a package: npm install · Lesson 3: npm and packages
- npm ci, the strict installInstalling a package: npm install · Lesson 3: npm and packages
- Why the caret appearsVersions and ranges · Lesson 3: npm and packages
- x, X and * as wild cardsVersions and ranges · Lesson 3: npm and packages
- Global packages are not for requireHow Node finds a package · Lesson 3: npm and packages
- NODE_PATH, a PATH for modulesHow Node finds a package · Lesson 3: npm and packages
- A write that will not overwriteReading and writing a file · Lesson 4: Files
- Two kinds of line endingReading and writing a file · Lesson 4: Files
- A Buffer is a Uint8ArrayText and bytes: Buffers · Lesson 4: Files
- allocUnsafe can show old memoryText and bytes: Buffers · Lesson 4: Files
- Indents stop at 10Data in files: JSON · Lesson 4: Files
- Write to a copy, then renameData in files: JSON · Lesson 4: Files
- cp -r in one callFolders: make, list, look, move, remove · Lesson 4: Files
- A folder with a random nameFolders: make, list, look, move, remove · Lesson 4: Files
- ENOENT, no entityWhen it goes wrong: Node's errors · Lesson 4: Files
- Too many open filesWhen it goes wrong: Node's errors · Lesson 4: Files
- Not Sync in a serverThree ways to ask: sync, callback, promise · Lesson 4: Files
- Promises came in Node 10Three ways to ask: sync, callback, promise · Lesson 4: Files
- One module, two kinds of pathPaths: finding files from anywhere · Lesson 4: Files
- From a file URL to a pathPaths: finding files from anywhere · Lesson 4: Files
- A warning at 11 listenersEvents, listeners and emit · Lesson 5: Events and streams
- An older name for emittersEvents, listeners and emit · Lesson 5: Events and streams
- Events as a loopListening once, in order, and no more · Lesson 5: Events and streams
- An event about listenersListening once, in order, and no more · Lesson 5: Events and streams
- A switch for async listenersThe error event · Lesson 5: Events and streams
- Watching errors without catching themThe error event · Lesson 5: Events and streams
- The browser's EventTarget, in NodeEmitters of your own · Lesson 5: Events and streams
- Before class there was util.inheritsEmitters of your own · Lesson 5: Events and streams
- Streams once poured at onceStreams: a file a piece at a time · Lesson 5: Events and streams
- readline also listens to peopleStreams: a file a piece at a time · Lesson 5: Events and streams
- pipe leaves a mess on errorsWriting streams and pipes · Lesson 5: Events and streams
- Streams of objectsWriting streams and pipes · Lesson 5: Events and streams
- Doors below 1024 are guardedRequests and responses · Lesson 6: An HTTP server
- Sixteen million names for this computerRequests and responses · Lesson 6: An HTTP server
- Port 0 means any free portA first server · Lesson 6: An HTTP server
- Five minutes to askA first server · Lesson 6: An HTTP server
- A size limit on headersReading the request · Lesson 6: An HTTP server
- Two headers with one nameReading the request · Lesson 6: An HTTP server
- Browsers guess a missing typeWriting the response · Lesson 6: An HTTP server
- Five seconds of keep-aliveWriting the response · Lesson 6: An HTTP server
- Capital letters count in pathsRoutes: one server, many answers · Lesson 6: An HTTP server
- Gone, not just missingRoutes: one server, many answers · Lesson 6: An HTTP server
- Asking before sendingBodies: data sent to the server · Lesson 6: An HTTP server
- Undici, which means elevenBodies: data sent to the server · Lesson 6: An HTTP server
APIs
Tech School: 78 facts. Open the heading to read them in full.
- India's own stack of APIsAPIs: programs that answer programs · Lesson 1: HTTP and REST
- A promise that Linux keepsAPIs: programs that answer programs · Lesson 1: HTTP and REST
- Pages of at most 100Resources and their addresses · Lesson 1: HTTP and REST
- REST's author helped write HTTPResources and their addresses · Lesson 1: HTTP and REST
- Forms know two methodsMethods: what to do with a resource · Lesson 1: HTTP and REST
- PATCH came lastMethods: what to do with a resource · Lesson 1: HTTP and REST
- 402, reserved since 1997Status codes in an API · Lesson 1: HTTP and REST
- 429, for too many requestsStatus codes in an API · Lesson 1: HTTP and REST
- The price of standing aloneEvery request stands alone · Lesson 1: HTTP and REST
- A key that works for whoever holds itEvery request stands alone · Lesson 1: HTTP and REST
- GitHub's versions have datesDesigning an API · Lesson 1: HTTP and REST
- Hyrum's LawDesigning an API · Lesson 1: HTTP and REST
- Each parser sets its own limitsThe JSON format · Lesson 2: JSON
- Not quite a subset, until 2019The JSON format · Lesson 2: JSON
- JSON.rawJSON keeps every digitJSON.stringify in depth · Lesson 2: JSON
- Lone surrogates come out escapedJSON.stringify in depth · Lesson 2: JSON
- X sends its ids as textJSON.parse in depth · Lesson 2: JSON
- A reviver that sees the digitsJSON.parse in depth · Lesson 2: JSON
- No charset for JSONJSON over HTTP · Lesson 2: JSON
- The label from 2006JSON over HTTP · Lesson 2: JSON
- Date.parse is sure of one formatChecking a body · Lesson 2: JSON
- Checks written as dataChecking a body · Lesson 2: JSON
- INR, 356 and 2Shapes of data that age well · Lesson 2: JSON
- The Tolerant ReaderShapes of data that age well · Lesson 2: JSON
- Ten years to Express 5The first app · Lesson 3: Express routing
- Inspired by SinatraThe first app · Lesson 3: Express routing
- QUERY, the newest methodRoutes: a verb and a path · Lesson 3: Express routing
- Two settings make paths strictRoutes: a verb and a path · Lesson 3: Express routing
- No patterns inside string pathsNames inside the path · Lesson 3: Express routing
- One callback per parameterNames inside the path · Lesson 3: Express routing
- Express 5 reads queries the plain wayThe query string, and the rest of the request · Lesson 3: Express routing
- Faster, or standardThe query string, and the rest of the request · Lesson 3: Express routing
- Redirects that keep the methodSending the answer · Lesson 3: Express routing
- Escaped JSON, on requestSending the answer · Lesson 3: Express routing
- A router of its ownRouters: routes in groups · Lesson 3: Express routing
- app.router came backRouters: routes in groups · Lesson 3: Express routing
- Middleware from ConnectWhat middleware is · Lesson 4: Middleware
- Koa, from the same teamWhat middleware is · Lesson 4: Middleware
- One log line for every serverA logger, and middleware on one route · Lesson 4: Middleware
- A logger named after DexterA logger, and middleware on one route · Lesson 4: Middleware
- A 401 must say how to log inGuards, and passing data along · Lesson 4: Middleware
- Comparing keys in constant timeGuards, and passing data along · Lesson 4: Middleware
- Bodies that must stay rawReading the body · Lesson 4: Middleware
- Files need multipartReading the body · Lesson 4: Middleware
- Dot files stay hiddenServing files · Lesson 4: Middleware
- Where the types come fromServing files · Lesson 4: Middleware
- Express counts the parametersThe end of the line: a 404 and an error handler · Lesson 4: Middleware
- A 404 is not an errorThe end of the line: a 404 and an error handler · Lesson 4: Middleware
- The X- prefix, retiredHeaders in both directions · Lesson 5: Requests and responses
- Headers after the bodyHeaders in both directions · Lesson 5: Requests and responses
- 406, or something usefulOne address, several forms · Lesson 5: Requests and responses
- The rules of qOne address, several forms · Lesson 5: Requests and responses
- Names that carry a promiseCookies: a note the client brings back · Lesson 5: Requests and responses
- Max-Age winsCookies: a note the client brings back · Lesson 5: Requests and responses
- Names in any scriptFiles and downloads · Lesson 5: Requests and responses
- An attack with a nameFiles and downloads · Lesson 5: Requests and responses
- Files that never changeAnswers the client already has · Lesson 5: Requests and responses
- Two lifetimes in one answerAnswers the client already has · Lesson 5: Requests and responses
- Errors that help an attackerWhere every error lands · Lesson 6: Error handling
- Production runs faster tooWhere every error lands · Lesson 6: Error handling
- No made-up status codesOne shape for every error · Lesson 6: Error handling
- Problem Details, since 2016One shape for every error · Lesson 6: Error handling
- A thousand fields at mostErrors from the parsers, and validation · Lesson 6: Error handling
- Three names for 413Errors from the parsers, and validation · Lesson 6: Error handling
- One string is not an errorSeveral handlers, in order · Lesson 6: Error handling
- Express 5 checks the statusSeveral handlers, in order · Lesson 6: Error handling
- Liveness and readinessThe failures that are not errors · Lesson 6: Error handling
- Retry-After, in seconds or as a dateThe failures that are not errors · Lesson 6: Error handling
- Pushing before WebSocketsA line that stays open · Lesson 7: WebSockets
- A standard in 2011, and over HTTP/2 in 2018A line that stays open · Lesson 7: WebSockets
- Socket.IO is not a WebSocketA server beside the routes · Lesson 7: WebSockets
- Node's own WebSocket is a clientA server beside the routes · Lesson 7: WebSockets
- Every client frame is maskedMessages: text, JSON and bytes · Lesson 7: WebSockets
- 100 MiB per messageMessages: text, JSON and bytes · Lesson 7: WebSockets
- Messages that wait in lineMany clients: broadcast and rooms · Lesson 7: WebSockets
- Compression, off by defaultMany clients: broadcast and rooms · Lesson 7: WebSockets
- 1006 is never sentThe life of a line · Lesson 7: WebSockets
- Add jitter to the delayThe life of a line · Lesson 7: WebSockets
Postman
Tech School: 34 facts. Open the heading to read them in full.
- A side project from BangalorePostman's window, in words · Lesson 1: Requests in Postman
- From a Chrome app to ElectronPostman's window, in words · Lesson 1: Requests in Postman
- br is a small Swiss breadA request, written down · Lesson 1: Requests in Postman
- No Host, no answerA request, written down · Lesson 1: Requests in Postman
- OpenAPI began as SwaggerA first collection · Lesson 1: Requests in Postman
- Collections as plain textA first collection · Lesson 1: Requests in Postman
- Named after a mail carrierRunning a collection with Newman · Lesson 1: Requests in Postman
- Rewritten as a library firstRunning a collection with Newman · Lesson 1: Requests in Postman
- From newman -c to newman runNewman on the command line · Lesson 1: Requests in Postman
- Who named continuous integrationNewman on the command line · Lesson 1: Requests in Postman
- A misspelt folder once said nothingFolders and their order · Lesson 2: Collections
- Folders inside folders, then several at onceFolders and their order · Lesson 2: Collections
- Variables that make up dataCollection variables · Lesson 2: Collections
- A newer API than it looksCollection variables · Lesson 2: Collections
- A toolbox built into every scriptScripts for a whole collection · Lesson 2: Collections
- The old way of writing testsScripts for a whole collection · Lesson 2: Collections
- A run that steers itselfRunning the whole collection · Lesson 2: Collections
- Many users at onceRunning the whole collection · Lesson 2: Collections
- Nineteen layers deepEnvironments: one collection, many servers · Lesson 3: Environments and variables
- A colour for each serverEnvironments: one collection, many servers · Lesson 3: Environments and variables
- Your values stay on your machineFive scopes, and who wins · Lesson 3: Environments and variables
- A vault for secretsFive scopes, and who wins · Lesson 3: Environments and variables
- Serial numbers that told a secretPassing a value to the next request · Lesson 3: Environments and variables
- The address of the new thingPassing a value to the next request · Lesson 3: Environments and variables
- Common for decades, written down in 2005A data file: one round per row · Lesson 3: Environments and variables
- A cell that runs a formulaA data file: one round per row · Lesson 3: Environments and variables
- Names that read as sentencesWhat a test is · Lesson 4: Tests in Postman
- Where API tests sit in the pyramidWhat a test is · Lesson 4: Tests in Postman
- A cut at forty charactersChecking values with pm.expect · Lesson 4: Tests in Postman
- A style that changes every objectChecking values with pm.expect · Lesson 4: Tests in Postman
- A JSON object has no orderChecking the response itself · Lesson 4: Tests in Postman
- A status for content that cannot be processedChecking the response itself · Lesson 4: Tests in Postman
- Born on a flight to AtlantaFailures, the summary and the exit code · Lesson 4: Tests in Postman
- Five reporters, one with emojiFailures, the summary and the exit code · Lesson 4: Tests in Postman
SQL
Tech School: 75 facts. Open the heading to read them in full.
- A theory in 1970What a database is · Lesson 1: Databases and tables
- From an idea to System RWhat a database is · Lesson 1: Databases and tables
- In the flight software of an airlinerSQLite and the sqlite3 command · Lesson 1: Databases and tables
- Far more test code than codeSQLite and the sqlite3 command · Lesson 1: Databases and tables
- Affidavits in a firesafeSQLite and the sqlite3 command · Lesson 1: Databases and tables
- No true and false, no datesMaking a table: CREATE TABLE · Lesson 1: Databases and tables
- The engine that breaks the ruleMaking a table: CREATE TABLE · Lesson 1: Databases and tables
- When the ids run outPutting rows in: INSERT · Lesson 1: Databases and tables
- A doubled quote, as in PascalPutting rows in: INSERT · Lesson 1: Databases and tables
- Many rows in one INSERTPutting rows in: INSERT · Lesson 1: Databases and tables
- A switch that turns answers aroundReading a table: SELECT · Lesson 1: Databases and tables
- Titles over an empty answerReading a table: SELECT · Lesson 1: Databases and tables
- The remainder throws fractions away firstChoosing and computing columns · Lesson 2: SELECT and filtering
- DISTINCT keeps one NULLChoosing and computing columns · Lesson 2: SELECT and filtering
- Two ways to say not equalKeeping the rows that fit: WHERE · Lesson 2: SELECT and filtering
- Capitals come before small lettersKeeping the rows that fit: WHERE · Lesson 2: SELECT and filtering
- What counts as trueCombining tests: AND, OR and NOT · Lesson 2: SELECT and filtering
- When not known is good enoughCombining tests: AND, OR and NOT · Lesson 2: SELECT and filtering
- Only English letters foldRanges, lists and patterns: BETWEEN, IN and LIKE · Lesson 2: SELECT and filtering
- A pattern with bash's wildcardsRanges, lists and patterns: BETWEEN, IN and LIKE · Lesson 2: SELECT and filtering
- Decided by experimentFinding missing values: IS NULL · Lesson 2: SELECT and filtering
- A test that never says not knownFinding missing values: IS NULL · Lesson 2: SELECT and filtering
- A sort builds an index of its ownSorting with ORDER BY · Lesson 3: Sorting and limiting
- How ORDER BY reads a word in quotesSorting with ORDER BY · Lesson 3: Sorting and limiting
- Columns counted from 1Several columns, and settling ties · Lesson 3: Sorting and limiting
- Keeping the ties: WITH TIESSeveral columns, and settling ties · Lesson 3: Sorting and limiting
- Smallest here, largest thereWhere NULL goes when you sort · Lesson 3: Sorting and limiting
- NULLS LAST arrived in 2019Where NULL goes when you sort · Lesson 3: Sorting and limiting
- Offset first, on purposeOnly the first few: LIMIT and OFFSET · Lesson 3: Sorting and limiting
- LIMIT is not in the standardOnly the first few: LIMIT and OFFSET · Lesson 3: Sorting and limiting
- The skipped rows still cost workOnly the first few: LIMIT and OFFSET · Lesson 3: Sorting and limiting
- iif(): a CASE written shortRules of your own: CASE · Lesson 3: Sorting and limiting
- The short form compares with =Rules of your own: CASE · Lesson 3: Sorting and limiting
- Two counts in one pass: FILTERCounting: COUNT · Lesson 4: Aggregates and grouping
- DISTINCT works inside other aggregates tooCounting: COUNT · Lesson 4: Aggregates and grouping
- A sum of nothing is NULL, by the standardAdding up: SUM, AVG and ROUND · Lesson 4: Aggregates and grouping
- Negative places: two databases, two answersAdding up: SUM, AVG and ROUND · Lesson 4: Aggregates and grouping
- A sum too big to holdAdding up: SUM, AVG and ROUND · Lesson 4: Aggregates and grouping
- SQLite's bare columnsSmallest and largest: MIN and MAX · Lesson 4: Aggregates and grouping
- One name, two functionsSmallest and largest: MIN and MAX · Lesson 4: Aggregates and grouping
- PostgreSQL's rule, and its exceptionOne answer per group: GROUP BY · Lesson 4: Aggregates and grouping
- Subtotals and a grand total: ROLLUPOne answer per group: GROUP BY · Lesson 4: Aggregates and grouping
- HAVING without GROUP BY, since 2022Choosing groups: HAVING · Lesson 4: Aggregates and grouping
- No nicknames in PostgreSQL's HAVINGChoosing groups: HAVING · Lesson 4: Aggregates and grouping
- SQLite moves row tests out of HAVINGChoosing groups: HAVING · Lesson 4: Aggregates and grouping
- Checks you must switch onTwo tables, and the keys between them · Lesson 5: Joins
- Parent and child tablesTwo tables, and the keys between them · Lesson 5: Joins
- A join is a loop inside a loopSide by side: JOIN · Lesson 5: Joins
- At most 64 tables in one joinSide by side: JOIN · Lesson 5: Joins
- RIGHT and FULL joins, long overdueKeeping the unmatched: LEFT JOIN · Lesson 5: Joins
- Outer joins keep their orderKeeping the unmatched: LEFT JOIN · Lesson 5: Joins
- Named after DescartesEvery pairing: CROSS JOIN · Lesson 5: Joins
- CROSS JOIN as a steering wheelEvery pairing: CROSS JOIN · Lesson 5: Joins
- INTERSECT and EXCEPTStacking answers: UNION · Lesson 5: Joins
- 500 answers in one stackStacking answers: UNION · Lesson 5: Joins
- AUTOINCREMENT is usually not neededAdding rows: INSERT · Lesson 6: Creating, updating and deleting
- RETURNING arrived in 2021Adding rows: INSERT · Lesson 6: Creating, updating and deleting
- A NULL passes a CHECKRules the table enforces: constraints · Lesson 6: Creating, updating and deleting
- A primary key that allows NULLRules the table enforces: constraints · Lesson 6: Creating, updating and deleting
- UPDATE FROM, borrowed from PostgreSQLChanging rows: UPDATE · Lesson 6: Creating, updating and deleting
- The count is a function tooChanging rows: UPDATE · Lesson 6: Creating, updating and deleting
- Deleted, but not wipedRemoving rows: DELETE · Lesson 6: Creating, updating and deleting
- The truncate shortcutRemoving rows: DELETE · Lesson 6: Creating, updating and deleting
- Four changes, and only fourChanging the table itself: ALTER and DROP · Lesson 6: Creating, updating and deleting
- Rename in 2018, drop in 2021Changing the table itself: ALTER and DROP · Lesson 6: Creating, updating and deleting
- The first row, or NULLA question inside a question · Lesson 7: Subqueries
- PostgreSQL says noA question inside a question · Lesson 7: Subqueries
- The NOT IN rule, in writingA list from a query: IN · Lesson 7: Subqueries
- An empty list is allowed in SQLiteA list from a query: IN · Lesson 7: Subqueries
- Only 0 or 1Is there any? EXISTS · Lesson 7: Subqueries
- SELECT 1 or SELECT *, it does not matterIs there any? EXISTS · Lesson 7: Subqueries
- Once, or every timeA subquery that looks outward · Lesson 7: Subqueries
- Outer values held stillA subquery that looks outward · Lesson 7: Subqueries
- WITH arrived in 2014Queries built on queries: FROM and WITH · Lesson 7: Subqueries
- A Sudoku solved by one queryQueries built on queries: FROM and WITH · Lesson 7: Subqueries
No fact matches. Try a shorter word, or take the tag off.