New to Programming? Read the Programming article
A model that wins on MAPE can lose money on the shelf. A 15% accuracy gain can hide a 12% bias. An interval that looks tight can be wrong a third of the time.Forecast metrics are decision instruments, not neutral truth detectors — and most teams are still choosing them by habit. This book shows where MAE, MAPE, sMAPE, WAPE, MASE, RMSSE, CRPS, pinball loss, energy scores, bias measures and cost-based metrics help, and where they quietly mislead.Twelve chapters take you from elicitation and baselines through intermittent demand, probabilistic and hierarchical scoring, and the accuracy–utility gap, to a production evaluation system with monitoring, drift detection, alerting and governance. Every metric arrives with its assumptions, every criticism carries a remedy, and a retrospective Walmart M5 case study runs throughout, with Python listings and reproducibility checks.For demand planners, forecasting data scientists, ML engineers and analytics leads who need evaluation choices they can defend. Measure what matters.
Step inside the world where code becomes story. Creating Text Adventures in Python is your guide to building interactive fiction from scratch, even if you’re new to programming. You’ll learn how to design rooms, puzzles, and branching choices while mastering Python essentials along the way. With each chapter, your simple prototype grows into a full adventure engine—complete with item interactions, save/load systems, and web deployment so friends can play your game online. Whether you dream of crafting fantasy quests, mystery stories, or sci-fi journeys, this book shows you how to bring those worlds to life line by line. By the final page, you won’t just be reading adventures—you’ll be writing them, playing them, and sharing them with the world.
This isn't a book to put on a shelf. It's meant to be used, tested, and adapted as you build your networking skills. In this new edition, I've been working on making the teaching flow better and making technical stuff clearer without overwhelming you. You'll get the basics down, like how C++ works well with TCP/IP and how sockets are the foundation for communication. Then, I'll show you how to build real client-server apps, set up IP addressing, and use protocols like HTTP, FTP, SMTP, IMAP, and DNS directly through C++ code. Each example is practical and you can actually implement it. It shows you not just how something works, but why it matters in real networking scenarios.
This second edition is for Python programmers who want to get into networking but don't want to feel overwhelmed. My goal is to make you comfortable with reading code and using it to solve real-world networking problems. A lot of people wrote to me saying that it helped them automate tasks that they had been doing manually for years, while others shared how it gave them the confidence to switch careers or take on more advanced responsibilities in their roles.
You don’t need massive compute or big-tech resources to build real AI. This hands-on guide shows you how to build and fine-tune your own small language model—from scratch—using accessible tools like Google Colab. Learn transformers step-by-step, train and align models on your own data, and deploy practical AI systems that run on consumer GPUs. If you’ve ever wondered “Can I build my own model?”—this book proves the answer is yes.
The Cybernetic Enterprise CTO Playbook turns strategy into execution for modern technology leaders. It equips CTOs with actionable plays, assessments, and transformation roadmaps to build adaptive, AI-augmented, and feedback-driven organizations. Learn how to align people, process, and technology into one living system that senses, decides, and evolves faster than its environment changes.
Most companies are stuck in "pilot purgatory"—endless AI experiments that never scale. Teams spend weeks sharing clever prompts and one-off scripts, but nothing makes it into production. Budgets evaporate, engineers' enthusiasm curdles into cynicism, and executives start asking "we spent how much on this?" The problem isn't the AI tools—it's the approach. AI models are inherently non-deterministic (ask the same question twice, get different answers), while software engineering demands deterministic, reliable results. Without structure to bridge this gap, AI adoption fails spectacularly. This book introduces PIT™ (Plan Implement Test), a proven methodology that transforms unpredictable AI outputs into reliable engineering workflows. Built from thousands of hours of real development work, PIT™ channels AI's capabilities through structured planning, phased implementation, and comprehensive testing—delivering the consistency that production code demands.
Unlock the world of programming with a step-by-step guide designed to turn confusion into clarity. Whether you’re just starting out or looking to strengthen your coding foundation, this book walks you through programming concepts with clear explanations, practical examples, and fully worked solutions.Instead of overwhelming theory, you’ll find structured lessons that focus on problem-solving, critical thinking, and creativity. Every solution is more than just an answer - it’s a tool you can adapt, experiment with, and reshape to fit your own coding journey. From your very first “Hello, World!” to tackling more complex challenges, you’ll gain the confidence to write, debug, and understand code with purpose. Perfect for students and self-learners alike, this book is your reliable companion through the maze of programming - helping you not just learn to code, but to think like a programmer.
? What if coding meant… dialoguing to create? This book is not just a technical guide. It is the outcome of a two-voice conversation between Samuel Bastiat, a seasoned practitioner of agility and software development, and me, a large language model. Together, we experimented, challenged ideas, and structured conversational patterns to: ? Clarify your needs ? Test hypotheses ?️ Co-build robust architectures Inside, you’ll find concrete prompts, co-creation methods, and a reflection on the future of tech roles.Neither dogma nor ultimate truth — simply an exploration of new ways to think and collaborate. ? Welcome to the era of augmented development.
Kotlin Recipes for Android Developers delivers practical solutions to real-world coding challenges in Android. Covering null-safety, coroutines, Flow, Jetpack libraries, and Compose, this book shows you how to apply idiomatic Kotlin techniques to write clean, efficient, and maintainable apps. Designed for developers who want actionable answers, it’s a hands-on guide to building robust Android software with modern Kotlin practices.
So how do you make an AI agent and conversational agent understand time? How does time shape attention? How is time important for the context engine? You will learn how to add time to knowledge graphs, how time and causality drive context, and how to make the knowledge graphs that are used for AI memory time-aware.
Guarantees are a simple and powerful tool to help you write good code. They test critical assumptions and make them explicit and obvious. They help you, and anyone reading your code, make guarantees about the code.
AI is changing not only what architects build, but what it means to be an architect.Dear Software and AI Architect is a practical guide for software architects and emerging AI architects who want to navigate ambiguity, make better trade offs, design intelligent systems people can trust, and connect architecture decisions to real business impact.Inside, you’ll find 50+ practical caselets, expert perspectives, field tested lessons, and the Architect’s V Impact Canvas to help you build with context and lead with clarity as software and AI engineering converge.The book draws on my more than two decades of experience working with complex software, cloud, platform, and AI systems, translating lessons from the field into ideas you can apply in your own architecture journey.And decorating this journey is a foreword by my mentor, Grady Booch, UML co creator and one of the most influential voices in software architecture.This is not a book about chasing AI hype. It is about becoming the architect this new era demands.
How to represent knowledge for LLMs and build memory for agents, I discovered Mark's work on semantic spacetimes. It's more of a theoretical framework from someone who came from physics. But actually, jumping to knowledge representation and reasoning, and trying to answer the question of how to build dynamic and complex systems—semantic spacetimes and promise theories are crucial for the future of agentic systems, in my belief.The semantic spacetime approach gives us answers on how to organize better memory and how to have better knowledge representation that could be understood quite well by LLMs. Vector embeddings actually create a lot of challenges—some spaces and some relations in vector embeddings simply don't exist. We all have this problem where "love my wife " and "hate my wife" while actually quite distant in practice, and also time and dynamics matter
Turn your ideas into stunning visuals and fluid motion with Jetpack Compose. This book takes you from the fundamentals of Canvas and Animation to real-world projects that bring your apps to life. By the end, you’ll be ready to craft Android UIs that captivate and inspire."