KayavakLibrary

Kayavak / Shelves

Shelves

Every book in the library

Each book is a subject from first principles to how it works inside. New to a subject? Start each book at its first chapter. Not sure which book? Trails pick the chapters for a goal, across books.

Software Engineering

From how a computer works to running systems in production: one roadmap, written as textbooks that start from zero and go all the way to internals. 21 books, ~95 h of reading.

Volume 1

Foundations of Computing

Chapter 1 assumes no programming at all; every later chapter opens with a plain-language Start here section, then goes all the way to internals, compared across C, C++…

11 chapters~11 h readingBegin: Computers, Programs and Your Toolbox
Volume 2

The Web Frontend

The opening chapter assumes you have never built a web page; every later chapter opens with a plain-language Start here section, then goes all the way to browser…

23 chapters~12 h readingBegin: How the Web Works
Volume 3

The Backend

The opening chapter assumes you have never written server code; every later chapter opens with a plain-language Start here section with small programs whose output was…

24 chapters~12 h readingBegin: What a Backend Is
Volume 4

Databases

The opening chapter assumes you have never used a database; every later chapter opens with a plain-language Start here section whose queries and programs were actually…

12 chapters~5 h readingBegin: What a Database Is
Volume 5

Distributed Systems

The opening chapter assumes you have only ever run programs on one machine; every later chapter opens with a plain-language Start here section whose experiments were…

16 chapters~5 h readingBegin: What a Distributed System Is
Volume 6

Infrastructure

The opening chapter assumes you have only ever run programs on your own machine; every later chapter opens with a plain-language Start here section whose commands were…

8 chapters~3 h readingBegin: Where Your Code Actually Runs
Volume 7

Cloud

The opening chapter assumes you have never used a cloud account; every later chapter opens with a plain-language Start here section whose experiments were actually run…

9 chapters~3 h readingBegin: What the Cloud Actually Is
Volume 8

DevOps, CI/CD and IaC

The opening chapter assumes you have committed code but never shipped it, and runs a real five-step pipeline that ships one commit and stops another; every later chapter…

7 chapters~2 h readingBegin: How Code Reaches Production
Volume 9

Observability and SRE

The opening chapter assumes you have never looked inside a running system, and follows one slow order through logs, metrics and a trace to the database query that caused…

11 chapters~3 h readingBegin: Seeing Inside a Running System
Volume 10

Security

The opening chapter assumes you have built web apps but never defended one, and shows three real flaws in one small app with the attack and the fix side by side. From…

10 chapters~3 h readingBegin: Thinking Like a Defender
Volume 11

Testing

The opening chapter assumes you have written code but few tests, and tests one billing function three ways, including a property test that finds a real bug. From there…

9 chapters~2 h readingBegin: Your First Tests
Volume 12

System Design

The opening chapter assumes you have built applications but never designed a system, and works one small design end to end, from requirements and numbers to a measured…

17 chapters~5 h readingBegin: Your First System Design
Volume 13

Software Architecture

The opening chapter assumes you write working code but haven't thought much about its structure, and changes one checkout function written two ways to show what design…

11 chapters~4 h readingBegin: Code That Is Cheap to Change
Volume 14A

AI and ML Foundations

The opening chapter assumes you have never trained a model, and trains one from scratch in twenty lines of NumPy. From there: the map of AI, Python for AI, linear…

18 chapters~6 h readingBegin: Your First Model
Volume 14B

Applied AI Systems

Building production systems on top of models: embeddings and vector databases, retrieval-augmented generation and how to evaluate it, fine-tuning, preference…

24 chapters~7 h readingBegin: From a Model to a System
Volume 15

Product Engineering

The engineering side of building the right thing: framing problems, personas, journeys and acceptance criteria; discovery through interviews, surveys, usability tests…

9 chapters~2 h readingBegin: Building the Right Thing
Volume 16

Production Deployment

Getting software into production and keeping it there: the application lifecycle and walking skeletons, a reference production architecture, production readiness…

10 chapters~3 h readingBegin: Shipping Safely
Volume 21

Data Engineering for Analytics

Turning an application's data into decisions, from first principles: why analytical engines store data by column and how that changes everything, dimensional modelling…

11 chapters~84 min readingBegin: From Events to Decisions
Volume 22

Mobile Engineering

Building Android and iOS apps that are fast, frugal, secure and reliable on real phones and real networks, from first principles: the app lifecycle and the single UI…

11 chapters~78 min readingBegin: The Phone Is a Different Computer
Volume 23

Internationalisation

Building software that works in every language, script, region, time zone and currency, from first principles: what a character really is and how Unicode encodes it…

9 chapters~2 h readingBegin: One App, Many Languages, Every Time Zone
Volume 24

Senior Engineering Craft

The crafts that turn good code into good outcomes, from first principles: writing design docs that change designs before code does, reviewing code for understanding as…

9 chapters~83 min readingBegin: What Changes When You Become Senior

Shelves to come

12 more subjects that improve everyday life, about 260 books, planned and not yet written. None is published until it has been written and checked like the rest of the library, and the plan may change.

Planned 12 books

Computer Science, Applied

The computer science the Software Engineering shelf doesn't already teach: the theory behind information, codes, computation and signals, where each idea came from, how it works and where it runs now.

  • Information Theory
  • Error Correction
  • Compression
  • Computability
  • Complexity: P, NP and Beyond
  • +7 more
See all 12 books
  1. Information Theory
  2. Error Correction
  3. Compression
  4. Computability
  5. Complexity: P, NP and Beyond
  6. Logic, Automata and Formal Languages
  7. Lambda Calculus and Type Theory
  8. Formal Verification and Model Checking
  9. Signals and Signal Processing
  10. Computer Graphics
  11. Quantum Computing
  12. Cellular Automata and Emergent Computation

Planned 21 books

Mathematics

From counting to research-level ideas, A to Z: each book from first principles, with worked examples and practice.

  • Arithmetic and Numbers
  • Algebra
  • Geometry
  • Trigonometry
  • Coordinate Geometry
  • +16 more
See all 21 books
  1. Arithmetic and Numbers
  2. Algebra
  3. Geometry
  4. Trigonometry
  5. Coordinate Geometry
  6. Sets, Logic and Proof
  7. Functions and Graphs
  8. Calculus
  9. Linear Algebra
  10. Probability
  11. Statistics
  12. Number Theory
  13. Discrete Mathematics
  14. Differential Equations
  15. Real Analysis
  16. Complex Analysis
  17. Abstract Algebra
  18. Topology
  19. Optimisation
  20. Numerical Methods
  21. Mathematical Modelling

Planned 17 books

Physics

How the physical world works, A to Z: theory, practicals and applications, from school to university.

  • Measurement and Units
  • Mechanics
  • Waves and Sound
  • Heat and Thermodynamics
  • Electricity
  • +12 more
See all 17 books
  1. Measurement and Units
  2. Mechanics
  3. Waves and Sound
  4. Heat and Thermodynamics
  5. Electricity
  6. Magnetism and Electromagnetism
  7. Optics
  8. Modern Physics
  9. Fluids
  10. Oscillations
  11. Electronics
  12. Quantum Mechanics
  13. Relativity
  14. Statistical Physics
  15. Nuclear and Particle Physics
  16. Condensed Matter
  17. Astrophysics and Cosmology

Planned 19 books

Chemistry

What matter is made of and how it changes, A to Z: theory, lab practicals and the chemistry of everyday life.

  • Matter and Measurement
  • Atoms and the Periodic Table
  • Chemical Bonding
  • Reactions and Equations
  • States of Matter
  • +14 more
See all 19 books
  1. Matter and Measurement
  2. Atoms and the Periodic Table
  3. Chemical Bonding
  4. Reactions and Equations
  5. States of Matter
  6. Solutions
  7. Acids, Bases and Salts
  8. Chemical Kinetics
  9. Thermochemistry
  10. Equilibrium
  11. Electrochemistry
  12. Organic Chemistry
  13. Inorganic Chemistry
  14. Physical Chemistry
  15. Analytical Chemistry
  16. Biochemistry
  17. Polymers and Materials
  18. Environmental Chemistry
  19. Chemistry in the Kitchen and the Home

Planned 18 books

Biology

Life from molecules to ecosystems, A to Z: theory, practicals and what it means for health and the planet.

  • The Cell
  • Biomolecules
  • Genetics and Heredity
  • Evolution
  • Plants
  • +13 more
See all 18 books
  1. The Cell
  2. Biomolecules
  3. Genetics and Heredity
  4. Evolution
  5. Plants
  6. Animals
  7. Human Anatomy
  8. Human Physiology
  9. Nutrition
  10. Microbiology
  11. Immunology
  12. Ecology
  13. Molecular Biology
  14. Biotechnology
  15. Neuroscience
  16. Developmental Biology
  17. Health and Disease
  18. Public Health

Planned 26 books

Engineering

How things are designed, built and kept working, A to Z, from every perspective: the science, the design, the drawings, the safety, the cost and the people.

  • What Engineers Do: Design and Problem Solving
  • Engineering Mathematics
  • Engineering Drawing and CAD
  • Statics and Dynamics
  • Mechanics of Materials
  • +21 more
See all 26 books

Foundations

  1. What Engineers Do: Design and Problem Solving
  2. Engineering Mathematics
  3. Engineering Drawing and CAD
  4. Statics and Dynamics
  5. Mechanics of Materials
  6. Thermodynamics and Heat Transfer
  7. Fluid Mechanics
  8. Materials Science

Disciplines

  1. Mechanical Engineering
  2. Civil and Structural Engineering
  3. Electrical Engineering
  4. Electronics and Embedded Systems
  5. Chemical Engineering
  6. Aerospace Engineering
  7. Biomedical Engineering
  8. Environmental Engineering
  9. Telecommunications

Systems and practice

  1. Control Systems
  2. Robotics
  3. Manufacturing and Production
  4. Systems Engineering
  5. Reliability and Safety Engineering
  6. Energy Systems and Power Grids
  7. Engineering Economics
  8. Engineering Ethics, Standards and Law
  9. Project Management for Engineers

Planned 20 books

Beautiful Intersections

Where subjects meet and make each other more powerful: twenty intersections of mathematics, computer science, information theory, physics and engineering, each with the idea at its centre and where it shapes the world.

  • Information Theory × Probability × Thermodynamics
  • Abstract Algebra × Geometry × Error-Correcting Codes
  • Fourier Analysis × Linear Algebra × Signal Processing
  • Number Theory × Algebra × Computer Security
  • Mathematical Logic × Computation × Programming Languages
  • +15 more
See all 20 books

Information, uncertainty and communication

  1. Information Theory × Probability × Thermodynamics
  2. Abstract Algebra × Geometry × Error-Correcting Codes
  3. Fourier Analysis × Linear Algebra × Signal Processing
  4. Number Theory × Algebra × Computer Security

Computation, logic and the limits of machines

  1. Mathematical Logic × Computation × Programming Languages
  2. Combinatorics × Algorithms × Computational Complexity
  3. Boolean Algebra × Digital Logic × Formal Verification
  4. Distributed Systems × Graph Theory × Impossibility Proofs

Structure, networks and emergence

  1. Graph Theory × Discrete Mathematics × Networks
  2. Cellular Automata × Computation × Complexity Science
  3. Control Theory × Differential Equations × Robotics
  4. Probability × Graph Theory × Causal Inference

Mathematics meeting physical reality

  1. Numerical Analysis × Differential Equations × Engineering
  2. Linear Algebra × Quantum Mechanics × Computation
  3. Solid-State Physics × Materials Science × Computer Architecture

Learning, intelligence and optimisation

  1. Calculus × Linear Algebra × Machine Learning
  2. Statistics × Bayesian Inference × Scientific Reasoning
  3. Game Theory × Optimisation × Economics

Intersections that change how you think

  1. Dynamical Systems × Fractal Geometry × Chaos Theory
  2. Topology × Geometry × Data Analysis

Planned 35 books

Social Studies

How societies work, A to Z: law and civics across countries, economics, history and geography, and the sectors everyone depends on.

With notes for 8 countries to start: India, United States, United Kingdom, Canada and more.

  • How Governments Work
  • Constitutions and Rights
  • Basics of Law
  • Courts and Justice
  • Contracts and Everyday Law
  • +30 more
See all 35 books

Law and civics, across countries

  1. How Governments Work
  2. Constitutions and Rights
  3. Basics of Law
  4. Courts and Justice
  5. Contracts and Everyday Law
  6. Elections and Citizenship
  7. International Law and Institutions

Economics, A to Z

  1. Economics from Zero
  2. Microeconomics
  3. Macroeconomics
  4. Money, Banking and Central Banks
  5. Public Finance and Taxation
  6. International Trade
  7. Development Economics
  8. Behavioural Economics
  9. Labour Economics
  10. Econometrics

Society

  1. World History
  2. History of India
  3. Geography
  4. Political Science
  5. Sociology
  6. Psychology
  7. Anthropology
  8. Philosophy and Ethics
  9. Media and Information Literacy

Sectors everyone depends on

  1. Healthcare Systems
  2. Education Systems
  3. Agriculture and Food Systems
  4. Energy
  5. Transport and Infrastructure
  6. Financial Systems
  7. Housing and Cities
  8. Water and Sanitation
  9. Public Administration

Planned 22 books

Adulting

What nobody teaches you about running a life, A to Z, for men, women and people of every gender, with the rules of the country you live in.

For Men, Women, Other genders, with notes for 8 countries to start.

  • Money Basics
  • Taxes
  • Banking and Credit
  • Insurance
  • Investing
  • +17 more
See all 22 books
  1. Money Basics
  2. Taxes
  3. Banking and Credit
  4. Insurance
  5. Investing
  6. Renting and Buying a Home
  7. Jobs and Careers
  8. Health and Medical Care
  9. Mental Health
  10. Food and Cooking
  11. Fitness
  12. Relationships and Communication
  13. Parenting
  14. Legal Rights and Documents
  15. Consumer Rights
  16. Safety and Emergencies
  17. Travel
  18. Digital Life and Privacy
  19. Home Maintenance
  20. Vehicles and Driving
  21. Civic Life and Voting
  22. Ageing Parents and Care

Planned 23 books

Programming Languages

One book per language, from setup to idioms, with examples you can run.

  • Python
  • JavaScript
  • TypeScript
  • Java
  • Kotlin
  • +18 more
See all 23 books
  1. Python
  2. JavaScript
  3. TypeScript
  4. Java
  5. Kotlin
  6. C
  7. C++
  8. C#
  9. Go
  10. Rust
  11. Swift
  12. Dart
  13. Ruby
  14. PHP
  15. Scala
  16. Haskell
  17. Elixir
  18. Zig
  19. Lua
  20. R
  21. Julia
  22. SQL
  23. Bash

Planned 27 books

Mental Models

The thinking tools that carry across subjects: where each model came from, how it works on a worked example, where it misleads, and how it shows up in engineering, money, health and everyday decisions. Each model links to the shelves where it's taught in depth.

  • First Principles and Reasoning from the Ground Up
  • Inversion and Pre-Mortems
  • Second-Order Effects
  • The Map Is Not the Territory
  • Occam's Razor and Hanlon's Razor
  • +22 more
See all 27 books

Thinking clearly

  1. First Principles and Reasoning from the Ground Up
  2. Inversion and Pre-Mortems
  3. Second-Order Effects
  4. The Map Is Not the Territory
  5. Occam's Razor and Hanlon's Razor
  6. Circle of Competence

Numbers and uncertainty

  1. Base Rates and Bayesian Updating
  2. Expected Value and Asymmetric Bets
  3. Regression to the Mean
  4. Power Laws and Long Tails
  5. Margin of Safety
  6. Compounding

Systems

  1. Feedback Loops and Stocks and Flows
  2. Bottlenecks and the Theory of Constraints
  3. Leverage Points
  4. Emergence
  5. Redundancy, Slack and Fragility
  6. Little's Law and Queues Everywhere

People and incentives

  1. Incentives and Goodhart's Law
  2. Game Theory and Repeated Games
  3. Principal-Agent Problems
  4. Opportunity Cost and Comparative Advantage
  5. Cognitive Biases and How to Check Them
  6. Trust, Reputation and Network Effects

Using models well

  1. Choosing a Model: When Each One Misleads
  2. Building a Latticework: Models Across Subjects
  3. Decision Journals and Learning from Outcomes

Planned 20 books

Contributing to Open Source

How to contribute to real open-source projects across languages and stacks: finding the work, reading an unfamiliar codebase, building and testing it, getting a change reviewed and merged, and growing into a maintainer. Every chapter works through a real project, named with the commit it was checked against.

  • How Open Source Works: Licences, Governance and Money
  • Choosing a Project and Finding Your First Issue
  • Reading an Unfamiliar Codebase
  • Building, Testing and Debugging Someone Else's Project
  • Your First Pull Request: Scope, Commits and Review
  • +15 more
See all 20 books

Getting started

  1. How Open Source Works: Licences, Governance and Money
  2. Choosing a Project and Finding Your First Issue
  3. Reading an Unfamiliar Codebase
  4. Building, Testing and Debugging Someone Else's Project
  5. Your First Pull Request: Scope, Commits and Review

Across languages and stacks

  1. Java and the JVM: Spring, Apache and Gradle Projects
  2. Python: CPython, Django and the Packaging Ecosystem
  3. JavaScript and TypeScript: Node, React and npm Projects
  4. Go: Kubernetes and the Cloud-Native Projects
  5. Rust: the Compiler, Tokio and Cargo Crates
  6. C and C++: Linux, PostgreSQL, curl and LLVM
  7. Mobile, Frontend and Design Systems
  8. Documentation, Translation and Non-Code Contributions

Going deeper

  1. Bug Reports and Reproductions Maintainers Love
  2. Performance, Security and Large Changes: RFCs and Design Proposals
  3. Working in Public: Communication, Etiquette and Disagreement
  4. Testing and CI in Open-Source Projects
  5. Becoming a Maintainer: Triage, Releases and Community
  6. Your Own Project: Starting, Licensing and Sustaining It
  7. Open Source and Your Career: Portfolio, Interviews and Employers

Also in the library

Concepts (every idea, its home chapter, and where subjects meet) · Trails and guides (reading orders, mastery, the capstone project and revision) · Workbench (exercises, companions, the build and running code) · Recaps (every revision sheet, by book).