Leanpub Header

Skip to main content

Filters

Category: "Computers and Programming"

Computers and Programming

New to Programming? Read the Programming article

  1. A Complete Guide to AI Agents
    A Complete Guide to AI Agents
    Concepts, Architecture, Frameworks Overview
    Samir Solanki

    From LLMs and RAG to Memory, MCP, Agent Frameworks and Enterprise AI Controls—discover how modern AI Agents work internally within today's rapidly evolving AI ecosystem.

  2. Policy-as-Code
    Policy-as-Code
    Field Guide
    Sudhanshu Jaiswal

    Tired of 2 AM fire drills because a rogue container slipped into production? Policy-as-Code Field Guide is your battle-tested playbook for automating compliance, security, and operational guardrails—before they become incidents.From OPA’s Rego to Kyverno’s YAML, Conftest’s pre-commit checks to Sentinel’s Terraform controls, this guide cuts through the noise with real-world policies, CI/CD integrations, and production hardening tips you can use today.Shift left. Enforce early. Sleep better.

  3. Building Pragmatic AI Agents That Use Tools and APIs
    Building Pragmatic AI Agents That Use Tools and APIs
    Building Systems That Use Tools and APIs with DSPy, Pydantic AI, Claude SDK, OpenAI Agents SDK, and Google ADK
    Steve Publications

    Most AI systems can talk, but few can actually do. This book shows you how to build AI agents that reliably use tools, call APIs and automate real workflows. Using DSPy, Pydantic AI, the Claude Agent SDK, the OpenAI Agents SDK and Google ADK, you'll learn practical patterns for building reliable agents that work in production.

  4. From Grid to Core: How a Nuclear Power Plant Works, for the Engineer Who Has Never Seen One.

    Stop reading dry atomic physics textbooks and start driving a live nuclear reactor from your browser. From Grid to Core takes a reverse-engineering approach designed for software, control, and electrical engineers, walking you upstream from the familiar 400 kV switchyard straight into the nuclear core.

  5. Rust for Linux Programming
    Rust for Linux Programming
    Build kernel modules, drivers, file systems, networking, and memory using Rust's ownership, traits, and RAII
    GitforGits | Asian Publishing House

    I wrote this book to show exactly what happens when you add Rust to the kernel. Not as a toy. Not as a single driver in a conference demo. It's a full module that covers process management, memory allocation, file systems, networking, device drivers, inter-process communication, and even machine learning inference. It's all built on safe abstractions, all compiled into one loadable binary, all tested on a running kernel. You'll find that each chapter adds new source files to the same module.

  6. AI API Security Scanner: Build It From Scratch

    Every web application has security headers, cookies, TLS configurations, and CORS policies that need to be correct. Most teams find out they're wrong only after a penetration test — or worse, after an incident. This book shows you how to build a scanner that catches these issues automatically. You'll create a Python CLI tool that uses Hurl (declarative HTTP testing) to assert security properties, SSLyze to validate TLS protocol versions, and AI to generate specific remediation for every failure it finds. The output: structured JSON reports, visual HTML dashboards, and AI-generated security posture assessments. **What you'll build:** - 9 declarative Hurl security test files (headers, cookies, CORS, HSTS, CSP, CSRF, redirects, TLS) - A preprocessor that handles domain substitution and authentication - An output parser with built-in remediation guidance for every test - A TLS scanner validating SSL 2.0/3.0 disabled and TLS 1.2/1.3 enabled - An AI analyzer that generates context-specific fixes using Ollama, OpenAI, or Bedrock - An HTML reporter with dark-themed visual dashboards - Docker multi-architecture deployment - CI/CD pipeline with GitHub Actions **Who this is for:** - Developers who want security checks before deploying - DevSecOps engineers building CI/CD security gates - Penetration testers who need quick baseline assessments - Security students learning web vulnerability concepts hands-on - Platform teams enforcing security standards across services Every failure includes: what was expected, what was received, why it matters, how to fix it, and a documentation link. AI adds domain-specific code examples on top.

  7. AI-Powered Web Vulnerability Scanner: Build It From Scratch

    Every web application has security headers, cookies, TLS configurations, and CORS policies that need to be correct. Most teams find out they're wrong only after a penetration test — or worse, after an incident. This book shows you how to build a scanner that catches these issues automatically. You'll create a Python CLI tool that uses Hurl (declarative HTTP testing) to assert security properties, SSLyze to validate TLS protocol versions, and AI to generate specific remediation for every failure it finds. The output: structured JSON reports, visual HTML dashboards, and AI-generated security posture assessments. **What you'll build:** - 9 declarative Hurl security test files (headers, cookies, CORS, HSTS, CSP, CSRF, redirects, TLS) - A preprocessor that handles domain substitution and authentication - An output parser with built-in remediation guidance for every test - A TLS scanner validating SSL 2.0/3.0 disabled and TLS 1.2/1.3 enabled - An AI analyzer that generates context-specific fixes using Ollama, OpenAI, or Bedrock - An HTML reporter with dark-themed visual dashboards - Docker multi-architecture deployment - CI/CD pipeline with GitHub Actions **Who this is for:** - Developers who want security checks before deploying - DevSecOps engineers building CI/CD security gates - Penetration testers who need quick baseline assessments - Security students learning web vulnerability concepts hands-on - Platform teams enforcing security standards across services Every failure includes: what was expected, what was received, why it matters, how to fix it, and a documentation link. AI adds domain-specific code examples on top.

  8. Building an AI Threat Modeling MCP Server

    Threat modeling is broken. It takes days, costs thousands, and most teams skip it entirely. What if your AI coding assistant could do it for you — systematically, consistently, and in minutes? This book shows you how to build an MCP server that makes it happen. You'll create 80+ structured tools that guide any AI assistant through a rigorous 9-phase STRIDE threat modeling workflow. Not vague prompts that produce unstructured text — real, typed, validated tools that build up a complete threat model piece by piece: business context, architecture, threat actors, trust boundaries, data flows, STRIDE-based threats, mitigations, and a final JSON export compatible with AWS Threat Composer. **What you'll build:** - A full MCP server with FastMCP (stdio + SSE transport) - Pydantic v2 data models for type-safe threat modeling - Case-insensitive enum validation (because AI isn't always consistent) - 11 tool modules covering every phase of STRIDE analysis - Customizable organization security guidelines loaded from `.md` files - Docker deployment for team-wide access - Compliance gap analysis that validates against mandatory controls - A complete workflow orchestrator with progress tracking **What makes this different:** The server doesn't call any LLM itself. It provides the structure and tools — your AI assistant (Claude, Kiro, Cursor, Copilot) provides the intelligence. This means it works with any model, any provider, forever. No API keys, no token costs for the server itself. **Who this is for:** - Security engineers who want to automate repetitive threat modeling - Python developers building MCP servers for any domain - DevSecOps teams embedding security into AI-assisted workflows - Architects who need consistent, auditable threat models - Anyone curious about how MCP tools work under the hood **By the end of this book**, you'll have a production-ready MCP server, a deep understanding of how AI tools are structured, and transferable patterns for building MCP servers in any domain — not just security.

  9. Product Strategy Under Uncertainty
    Product Strategy Under Uncertainty
    Building Products in Volatile and Emerging Markets
    Chukwuemeka Jerome Nzegbuna

    The product playbooks built for Silicon Valley break the moment the internet drops, the currency crashes, or the regulator rewrites the rules at midnight. This book provides the alternative: a battle-tested system for building products that thrive under uncertainty, drawn from real experience across Africa, Southeast Asia, and Latin America. If you build products in the real world, this is your field guide.

  10. Behind the Black Box: Building Neural Networks From Scratch
    Behind the Black Box: Building Neural Networks From Scratch
    Build, Train, Validate, and Understand a Neural Network with Pure Python and NumPy
    AhmedAdawy

    Stop treating neural networks as a black box. Build a two-layer binary classifier from scratch with Python and NumPy. Learn the forward pass, binary cross-entropy, backpropagation, gradient descent, mini-batch training, L2 regularization, gradient checking, and leakage-safe evaluation. This book focuses on understanding—not copying code.

  11. AI Powered Threat Modeling
    AI Powered Threat Modeling
    Joseph Thachil George

    Security threat modeling is expensive ($5K–$20K per engagement), slow (2–5 days), and requires rare expertise. What if you could automate it? This book shows you how to build AITM — an open-source Python tool that uses Large Language Models to generate comprehensive STRIDE threat analyses from a simple system description. One command. 30 seconds. Professional results. You'll build every component from scratch: - A stateless threat modeling engine with a 3-step AI workflow - Multi-provider LLM integration (Amazon Bedrock, OpenAI, Ollama) - Structured output parsing with Pydantic — no regex, no fragile parsing - Architecture diagram analysis using vision models - A professional CLI with progress indicators and colored output - Markdown and JSON report generation Whether you're a developer automating security reviews, a DevSecOps engineer integrating threat modeling into CI/CD, or a student learning how to build real-world LLM-powered tools — this book gives you the complete blueprint. Includes 5 real-world use cases, full source code on GitHub, and step-by-step instructions that work on macOS and Linux. No security expertise required. Just Python and curiosity.

  12. INTERVIEW READY GUIDE
    INTERVIEW READY GUIDE
    Lead DevOps Engineer
    Sudhanshu Jaiswal

    Stop Guessing. Start Dominating Your DevOps Interview.You’ve spent years mastering GCP, Terraform, Kubernetes, and CI/CD—but can you articulate your expertise under pressure? Most candidates stumble on strategic framing, production scenarios, or leadership questions. This guide changes that.What’s Inside? 🔹 End-to-End CI/CD Pipeline Design – From GitHub Actions to ArgoCD, with security gates and rollback strategies. 🔹 Secure Multi-Env GCP Infrastructure – Private GKE clusters, Workload Identity, Secret Manager, and VPC Service Controls—all production-ready. 🔹 Kubernetes + ArgoCD at Scale – App-of-Apps patterns, RBAC, and zero-downtime deployments for multi-team platforms. 🔹 Python for DevOps Automation – Audit IAM bindings, build operators, and automate workflows like a pro. 🔹 Leadership & Behavioral Mastery – STAR method stories for incidents, tool adoption, and mentorship.Why This Guide? ✔ No Fluff – Only actionable, interview-tested content. ✔ Real-World Code – Terraform modules, ArgoCD manifests, and Python scripts you can use today. ✔ Interviewer Mindset – Learn what hiring managers actually look for in a Lead DevOps Engineer.Your Next Career Move Starts Here. 📖 Grab your copy and walk into your interview prepared to impress.

  13. Artificial Intelligence Fundamentals - Natural Language Processing
    Artificial Intelligence Fundamentals - Natural Language Processing
    Sentence Similarity
    Howard Pong Yuen LAM, PhD

    Have you ever wondered how AI knows that "Which company designs iPhone?" is best answered by "Apple designs iPhone" — and not "I love to eat apple" or "Both Apple and Orange are fruits"? This book takes you on a visual, step-by-step journey to discover how artificial intelligence reads the meaning behind words — not just the words themselves. By the end, you'll understand the elegant idea powering modern AI chatbots, and write your own Python programs to find the best answer to any question from a list of sentences.

  14. Evaluating And Testing AI Using Real-World Work
    Evaluating And Testing AI Using Real-World Work
    The LLM INQUISITOR Methodology Field Manual
    William Argo

    There are no magic prompts to test AI. What you can do is give AI real work under realistic conditions and observe what happens - exactly the kind of evaluation now required under the EU AI Act.

  15. Tidyplots: publication-ready plots for scientific papers (e1.2.0)

    Tidyplots (an R package) is easier for many common plotting tasks.