Black Friday Deals For Authors Are On Now!

Leanpub Header

Skip to main content

Filters

Category: "Textbooks"

Textbooks

  1. Process Plant Layout

    Updated, useful reference for those involved in plant design, covering all aspects of plant layout in broad detail

  2. AI Agents for Mathematicians: A Practical Guide to Proof, Computation, and Discovery

    A practical, code-first guide to using AI agents for proof, computation, and discovery — propose freely, verify relentlessly, and keep the understanding your own.

  3. LLM Inference Engineering Memory, Kernels, and Production Serving
    LLM Inference Engineering Memory, Kernels, and Production Serving
    Mastering LLM Runtimes, Memory Architectures, Multi-Agent Swarms, and Scalable Serving Infrastructure
    AhmedAdawy

    About the Book Running an LLM is one problem. Understanding its memory footprint, execution phases, and serving behavior is another.LLM Inference Engine Architecture explores the engineering behind language-model inference—from prefill and decode to KV-cache management, attention kernels, quantization, and request scheduling.Written for software engineers and ML engineers with a working knowledge of Python and transformer fundamentals, the book connects mathematical explanations with implementation examples and serving-system design considerations.What You Will ExploreInference fundamentals: Trace the request lifecycle and understand the different computational characteristics of prefill and decode.Memory budgeting: Work through model-weight and KV-cache estimates, including the effects of context length, KV-head count, precision, and concurrent sequences.Attention and memory management: Explore PagedAttention, non-contiguous KV allocation, and the relationship between attention computation and memory access.Quantization: Examine weight and KV-cache precision choices, including FP8 and low-bit weight-quantization approaches.Serving architecture: Study continuous batching, request scheduling, multi-GPU execution, and latency and throughput metrics.Kernel development: Explore CUDA and Triton concepts, kernel fusion, and a quantized matrix-multiplication case study.The book includes numerical examples, reference code, and an educational asynchronous serving simulator. These examples are intended to explain mechanisms and trade-offs—not to replace hardware-specific profiling or production validation.Read the sample to review the mathematical level, coding style, and scope before purchasing.

  4. The Mach-O File Format
    The Mach-O File Format
    Architecture, Internals, Parsing, Linking, Loading and Runtime Execution
    Steve Publications

    Go beyond the surface of Apple binaries and uncover the inner workings of Mach-O. From file structures and dynamic linking to code signing and runtime execution, this book delivers the technical depth, practical tools and implementation details needed to analyze, understand and master executable binaries across the Apple ecosystem.

  5. The Psychology of Mechanical Intelligence
    The Psychology of Mechanical Intelligence
    Why Some People Can Fix Anything
    Steve Publications

    Why can some people fix almost anything while others struggle to figure out how it works? The answer lies in mechanical intelligence, a way of thinking that helps us understand how things fit together, spot problems and find solutions. Discover the science behind this remarkable ability and learn how to develop it yourself.

  6. Building High-Performance Network Stacks
    Building High-Performance Network Stacks
    From First Principles to Production-Grade Systems
    Steve Publications

    What does it take to build a network stack that can handle millions of packets per second? This book takes you from the fundamentals of networking to the inner workings of Linux, showing how protocols, kernel internals and low-level optimization techniques come together in real-world systems. Learn by building, measuring and tuning code in C and Rust.

  7. Beyond Context Graphs: Agentic Memory, Cognitive Processes, and Promise Graphs
    Beyond Context Graphs: Agentic Memory, Cognitive Processes, and Promise Graphs
    Enterprise level agent in user pocket
    Volodymyr Pavlyshyn

    AI engines are booming, and the more we work with agentic systems, the more we see that we need something to make them work at the enterprise level. We're quite active in exploring ideas around context graphs, decision traces, and supporting explainability—giving agents the ability to make more aware and company-aligned decisions.But this makes sense not only for enterprises, but for users and individuals building personal agents as well. Unfortunately, we have zero-to-none inclination on how to actually build a context graph.I'll try to explain how to build something like a context graph—but go beyond it. I deeply believe that to make this work, we need specific agentic memory and a set of cognitive processes that truly help agents use this memory and learn from experience and data.That's why this is the Book: Beyond Context Graphs—with a focus on real-life enterprise tasks and how to make agents make better decisions and, let's say, hallucinate less.

  8. Supervised Machine Learning for Science
    Supervised Machine Learning for Science
    How to stop worrying and love your black box
    Christoph Molnar and Timo Freiesleben

    This book explores supervised machine learning for scientific research, addressing its limitations in interpretability, causality, and uncertainty quantification. By unifying philosophical justification with practical solutions, it provides a roadmap for turning machine learning into a rigorous tool for science.

  9. Git Workbook
    Git Workbook
    Self-Study Guide to Git
    Lorna Mitchell

    So you want to learn git? Work through this practical book of explanations and real-world exercises to level up your git skills one at a time.

  10. Introduction to Data Science
    Introduction to Data Science
    Data Analysis and Prediction Algorithms with R
    Rafael A Irizarry

    The demand for skilled data science practitioners in industry, academia, and government is rapidly growing. This book introduces concepts from probability, statistical inference, linear regression and machine learning and R programming skills. Throughout the book we demonstrate how these can help you tackle real-world data analysis challenges.

  11. A Hands-On Guide to Fine-Tuning Large Language Models with PyTorch and Hugging Face

    A practical guide to fine-tuning Large Language Models (LLMs), offering both a high-level overview and detailed instructions on how to train these models for specific tasks.Get the paperback version here. Get the Kindle version here.

  12. Reliable Generative AI
    Reliable Generative AI
    A Practical Guide to Prompt Design, RAG, Agents, and Safer AI Workflows
    George Tome

    Reliable Generative AI bridges business use and technical architecture. It teaches the foundations of prompt design, RAG, agentic workflows, tool use, structured outputs, safety patterns, and evaluation without assuming the reader is a software engineer. The focus is practical: understanding how AI workflows fail, how to design around those failures, and how to build systems that professionals can trust.

  13. Build Your Own Redis with C/C++
    Build Your Own Redis with C/C++
    Network programming, data structures, and low-level C.
    build-your-own.org

    Build real-world software by coding a Redis server from scratch.Network programming. The next level of programming is programming for multiple machines. Think HTTP servers, RPCs, databases, distributed systems.Data structures. Redis is the best example of applying data structures to real-world problems. Why stop at theoretical, textbook-level knowledge when you can learn from production software?Low-level C. C was, is, and will be widely used for systems programming and infrastructure software. It’s a gateway to many low-level projects.From scratch. A quote from Richard Feynman: “What I cannot create, I do not understand”. You should test your learning with real-world projects!

  14. Methods in Biostatistics with R
    Methods in Biostatistics with R
    A Rigorous and Practical Treatment of Biostatistics Foundations using R
    Ciprian Crainiceanu, Brian Caffo, and John Muschelli

    The book provides a modern look at introductory Biostatistical concepts and the associated computational tools using the latest developments in computation and visualization in the R language environment. The book includes practical data analysis based on datasets that can be downloaded here: https://github.com/muschellij2/biostatmethods.

  15. Sprinting Through the V
    Sprinting Through the V
    A Practical Workflow for Running Automotive V-Model Programs on Agile Sprints
    Blagoje Mrkic

    An MBSE workflow for automotive systems engineering teams — run V-model programmes on real agile sprints, with ASPICE and ISO 26262 evidence produced as you go, not reconstructed before the audit.