{R}R 開発ノート


合計 58 件の記事が見つかりました。

The Engineering of Intent, Chapter 10: The Five-Layer Quality Gate Stack

Chapter 10 of The Engineering of Intent blog series. Every AI-generated change must pass five layers of automated gates before a human sees it. A teaser on linting, strict types, SAST, test synthesis, and agentic E2E — plus the anti-patterns that quietly invalidate the stack.
2026-04-26

The Engineering of Intent, Chapter 4: The Model Context Protocol (MCP)

Chapter 4 of The Engineering of Intent blog series. MCP is to agents what HTTP was to the early Web — a common protocol that turns bespoke integrations into reusable infrastructure. A teaser on host/client/server roles, the anatomy of a good tool, the six anti-patterns, and the security pitfalls every team trips over.
2026-04-20

The Engineering of Intent, Chapter 2: Cognitive Load and Material Disengagement

Chapter 2 of The Engineering of Intent blog series. When the agent does most of the typing, the real failure mode is the engineer who has stopped engaging. A teaser on material disengagement, impressionistic scanning, the autocomplete trap, decision fatigue, and the seven habits of engaged engineers.
2026-04-18

The Engineering of Intent, Chapter 1: The Triadic Relationship Model

Chapter 1 of The Engineering of Intent blog series. Software used to be a dyad between engineer and machine. Now a third actor — the AI agent — has joined permanently. A teaser covering the Triadic Relationship Model, the CMDP view of software, and the six failure modes every AI-native team needs to name.
2026-04-17

Frictionless SaaS, Chapter 22: AI, Automation, and the Future of Frictionless Design

In the AI era, features are commoditized overnight. So what actually becomes defensible? A teaser for Chapter 22 of Frictionless SaaS, covering the AI-Era SaaS Framework and the Experience Moat — the only lasting competitive advantage left.
2026-04-12

OpenClaw Engineering, Chapter 13: Hardening the Ecosystem

The final chapter: ecosystem security, the ClawHavoc incident, defending against malware in dependencies, confirming high-risk operations, and building auditing and disaster recovery systems.
2026-03-28

OpenClaw Engineering, Chapter 9: Scheduling and Deterministic Orchestration

Time-based automation for agents: cron jobs for simple periodic tasks and the Lobster workflow engine for complex, deterministic, resumable multi-step pipelines with human approval gates.
2026-03-24

OpenClaw Engineering, Chapter 6: Extending Capabilities with SKILL.md

The anatomy of SKILL.md files in OpenClaw: how to author reusable, versioned instruction sets with YAML frontmatter, dependencies, and explicit procedural guidance for agents.
2026-03-21

OpenClaw Engineering, Chapter 4: Managing the Gateway and Models

Configuring your running gateway with the onboard wizard, diagnostics, and openclaw.json. How to connect model providers, manage API keys securely, and route different queries to different models.
2026-03-19

Chapter 17 – Guardrails and Governance

Chapter 17 of Master Claude Chat, Cowork and Code moves from understanding risks to implementing controls — permission isolation, tool allow-lists, human-in-the-loop approval workflows, validation hooks, and enterprise-grade audit logging.
2026-03-18

Chapter 15 – Managing Context Rot and Entropy

Chapter 15 of Master Claude Chat, Cowork and Code tackles the silent failure mode of long-running AI sessions — context rot. Learn strategies for context compression, structured state management, and thinking like an operations team to keep Claude sharp over time.
2026-03-16

Chapter 1: Why Identity Is Hard — The Trust Problem Behind Every Login

Chapter 1 of the OpenID: Modern Identity book series — why identity is a trust problem first and a technology problem second, and why authentication and authorization must never be conflated.
2026-03-07

OpenID: Modern Identity for Developers and Architects — A 22-Part Blog Series

Introduction and index for the 22-part blog series based on OpenID: Modern Identity for Developers and Architects by Sho Shimoda — with links to every chapter from Why Identity Is Hard through Identity in AI Systems.
2026-03-06

Master Claude, Chapter 1: The Evolution of Large Language Models — From Markov Chains to Context Engineering

Chapter 1 of Master Claude Chat, Cowork and Code traces the journey from statistical text prediction to reasoning engines — and explains why context engineering, not bigger models, is where the next leap in AI productivity comes from.
2026-03-02

Art of Coding, Chapter 10: Anti-Patterns to Avoid

Anti-patterns are the structural traps that silently erode codebases. Learning to recognize them early is one of the most valuable skills a developer can have.
2026-01-05

Art of Coding, Chapter 7: Error Handling and Resilience

Designing for failure, not avoiding it. How graceful error handling, clear logging, and balanced defense build systems that endure.
2026-01-01

8.4 PCA and Spectral Methods

An intuitive, in-depth explanation of PCA, spectral clustering, and eigenvector-based data analysis. Covers covariance matrices, graph Laplacians, and why eigenvalues reveal hidden structure in data. Concludes Chapter 8 and leads naturally into SVD in Chapter 9.
2025-10-10

8.3 The QR Algorithm (High-Level Intuition)

A clear, intuitive, and comprehensive explanation of the QR algorithm—how repeated QR factorizations reveal eigenvalues, why orthogonal transformations provide stability, and how shifts and Hessenberg reductions make the method efficient. Ends with a smooth bridge to PCA and spectral methods.
2025-10-09

8.2 Rayleigh Quotient

An intuitive and comprehensive explanation of the Rayleigh quotient, why it estimates eigenvalues so accurately, how it connects to the power method and inverse iteration, and why it forms the foundation of modern eigenvalue algorithms. Ends with a natural transition to the QR algorithm.
2025-10-08

8.1 Power Method and Inverse Iteration

A clear, practical, and intuitive explanation of the power method and inverse iteration for computing eigenvalues. Covers dominance, repeated multiplication, shifted inverse iteration, and real applications in ML, PCA, and large-scale systems. Smoothly introduces the Rayleigh quotient.
2025-10-07

Chapter 8 — Eigenvalues and Eigenvectors

A deep, intuitive introduction to eigenvalues and eigenvectors for engineers and practitioners. Explains why spectral methods matter, where they appear in real systems, and how modern numerical algorithms compute eigenvalues efficiently. Leads naturally into the power method and inverse iteration.
2025-10-06

7.4 Why QR Is Often Preferred

An in-depth, accessible explanation of why QR decomposition is the preferred method for solving least squares problems and ensuring numerical stability. Covers orthogonality, rank deficiency, Householder reflections, and the broader role of QR in scientific computing, with a smooth transition into eigenvalues and eigenvectors.
2025-10-05

7.3 Least Squares Problems

A clear, intuitive, book-length explanation of least squares problems, including the geometry, normal equations, QR decomposition, and SVD. Learn why least-squares solutions are central to ML and data science, and why QR provides a stable foundation for practical algorithms.
2025-10-04

7.2 Householder Reflections

A clear, intuitive, book-length explanation of Householder reflections and why they form the foundation of modern QR decomposition. Learn how reflections overcome the numerical instability of Gram–Schmidt and enable stable least-squares solutions across ML, statistics, and scientific computing.
2025-10-03

7.1 Gram–Schmidt and Modified GS

A clear, practical, book-length explanation of Gram–Schmidt and Modified Gram–Schmidt, why classical GS fails in floating-point arithmetic, how MGS improves stability, and why real numerical systems eventually rely on Householder reflections. Ideal for ML engineers, data scientists, and numerical computing practitioners.
2025-10-02

Chapter 7 — QR Decomposition

A deep, intuitive introduction to QR decomposition, explaining why orthogonality and numerical stability make QR essential for least squares, regression, kernel methods, and large-scale computation. Covers Gram–Schmidt, Modified GS, Householder reflections, and why QR is often preferred over LU and normal equations.
2025-10-01

6.3 Applications in ML, Statistics, and Kernel Methods

A deep, intuitive explanation of how Cholesky decomposition powers real machine learning and statistical systems—from Gaussian processes and Bayesian inference to kernel methods, Kalman filters, covariance modeling, and quadratic optimization. Understand why Cholesky is essential for stability, speed, and large-scale computation.
2025-09-30

6.2 Memory Advantages

A detailed, intuitive explanation of why Cholesky decomposition uses half the memory of LU decomposition, how memory locality accelerates computation, and why this efficiency makes Cholesky essential for large-scale machine learning, kernel methods, and statistical modeling.
2025-09-29

6.1 SPD Matrices and Why They Matter

A deep, intuitive explanation of symmetric positive definite (SPD) matrices and why they are essential in machine learning, statistics, optimization, and numerical computation. Covers geometry, stability, covariance, kernels, Hessians, and how SPD structure enables efficient Cholesky decomposition.
2025-09-28

Chapter 6 — Cholesky Decomposition

A deep, narrative-driven introduction to Cholesky decomposition explaining why symmetric positive definite matrices dominate real computation. Covers structure, stability, performance, and the role of Cholesky in ML, statistics, and optimization.
2025-09-27

5.4 Practical Examples

Hands-on LU decomposition examples using NumPy and LAPACK. Learn how pivoting, numerical stability, singular matrices, and performance optimization work in real systems, with clear Python code and practical insights.
2025-09-26

5.3 LU in NumPy and LAPACK

A practical, in-depth guide to how LU decomposition is implemented in NumPy and LAPACK. Learn about partial pivoting, blocked algorithms, BLAS optimization, error handling, and how modern numerical libraries achieve both speed and stability.
2025-09-25

5.2 Numerical Pitfalls

A deep, accessible explanation of the numerical pitfalls in LU decomposition. Learn about growth factors, tiny pivots, rounding errors, catastrophic cancellation, ill-conditioning, and why LU may silently produce incorrect results without proper pivoting and numerical care.
2025-09-24

5.1 LU with and without Pivoting

A clear and practical explanation of LU decomposition with and without pivoting. Learn why pivoting is essential, how partial and complete pivoting work, where no-pivot LU fails, and why modern numerical libraries rely on pivoted LU for stability.
2025-09-23

Chapter 5 — LU Decomposition

An in-depth, accessible introduction to LU decomposition—why it matters, how it improves on Gaussian elimination, where pivoting fits in, and what modern numerical libraries like NumPy and LAPACK do under the hood. Includes a guide to stability, practical applications, and a smooth transition into LU with and without pivoting.
2025-09-22

4.4 When Elimination Fails

An in-depth, practical explanation of why Gaussian elimination fails in real numerical systems—covering zero pivots, instability, ill-conditioning, catastrophic cancellation, and singular matrices—and how these failures motivate the move to LU decomposition.
2025-09-21

4.3 Pivoting Strategies

A practical and intuitive guide to pivoting strategies in numerical linear algebra, explaining partial, complete, and scaled pivoting and why pivoting is essential for stable Gaussian elimination and reliable LU decomposition.
2025-09-20

4.2 Row Operations and Elementary Matrices

A deep but intuitive explanation of row operations and elementary matrices, showing how Gaussian elimination is built from structured matrix transformations and how these transformations form the foundation of LU decomposition and numerical stability.
2025-09-19

4.1 Gaussian Elimination Revisited

A deep, intuitive exploration of Gaussian elimination as it actually behaves inside floating-point arithmetic. Learn why the textbook algorithm fails in practice, how instability emerges, why pivoting is essential, and how elimination becomes reliable through matrix transformations.
2025-09-18

4.0 Solving Ax = b

A deep, accessible introduction to solving linear systems in numerical computing. Learn why Ax = b sits at the center of AI, ML, optimization, and simulation, and explore Gaussian elimination, pivoting, row operations, and failure modes through intuitive explanations.
2025-09-17

3.4 Exact Algorithms vs Implemented Algorithms

Learn why textbook algorithms differ from the versions that actually run on computers. This chapter explains rounding, floating-point errors, instability, algorithmic reformulation, and why mathematically equivalent methods behave differently in AI, ML, and scientific computing.
2025-09-16

3.3 Conditioning of Problems vs Stability of Algorithms

Learn the critical difference between problem conditioning and algorithmic stability in numerical computing. Understand why some systems fail even with correct code, and how sensitivity, condition numbers, and numerical stability determine the reliability of AI, ML, and scientific algorithms.
2025-09-15

3.2 Measuring Errors

A clear and intuitive guide to absolute error, relative error, backward error, and how numerical errors propagate in real systems. Essential for understanding stability, trustworthiness, and reliability in scientific computing, AI, and machine learning.
2025-09-14

3.1 Norms and Why They Matter

A deep yet accessible exploration of vector and matrix norms, why they matter in numerical computation, and how they influence stability, conditioning, error growth, and algorithm design. Essential reading for AI, ML, and scientific computing engineers.
2025-09-13

Chapter 3 — Computation & Mathematical Systems

A clear, insightful introduction to numerical computation—covering norms, error measurement, conditioning vs stability, and the gap between mathematical algorithms and real implementations. Essential reading for anyone building AI, optimization, or scientific computing systems.
2025-09-12

2.4 Vector and Matrix Storage in Memory

A clear, practical guide to how vectors and matrices are stored in computer memory. Learn row-major vs column-major layout, strides, contiguity, tiling, cache behavior, and why memory layout affects both speed and numerical stability in real systems.
2025-09-11

2.3 Overflow, Underflow, Loss of Significance

A clear and practical guide to overflow, underflow, and loss of significance in floating-point arithmetic. Learn how numerical computations break, why these failures occur, and how they impact AI, optimization, and scientific computing.
2025-09-10

2.2 Machine Epsilon, Rounding, ULPs

A comprehensive, intuitive guide to machine epsilon, rounding behavior, and ULPs in floating-point arithmetic. Learn how precision limits shape numerical accuracy, how rounding errors arise, and why these concepts matter for AI, ML, and scientific computing.
2025-09-09

2.1 Floating-Point Numbers (IEEE 754)

A detailed, intuitive guide to floating-point numbers and the IEEE 754 standard. Learn how computers represent real numbers, why precision is limited, and how rounding, overflow, subnormals, and special values affect numerical algorithms in AI, ML, and scientific computing.
2025-09-08

Chapter 2 — The Computational Model

An introduction to the computational model behind numerical linear algebra. Explains why mathematical algorithms fail inside real computers, how floating-point arithmetic shapes computation, and why understanding precision, rounding, overflow, and memory layout is essential for AI, ML, and scientific computing.
2025-09-07