Leanpub Header

Skip to main content

Filters

Category: "Computers and Programming"

Computers and Programming

New to Programming? Read the Programming article

  1. The AI Digital Fortress
    The AI Digital Fortress
    Navigating Ethics, Security, and Human Rights in the Age of Algorithms
    Farhan Tanvir

    ### **Book Overview** * **Total Chapters:** 11 Chapters * **Structure:** 4 Sections * **Scope:** 40+ Key Topics * **Estimated Reading Time:** ~3 hours ### **Preface** * **Theme**: Knowledge is the most powerful defense in an age of invisible algorithmic systems. * **Target Audience**: A comprehensive guide for curious minds, including students, professionals, parents, and policymakers. * **Mission**: To empower readers to build a "digital fortress" around their data, identities, and values. ### **Section 1: The Foundations of the Fortress** * **Chapter 1: The Invisible Architect** * Explores how AI silently shapes daily digital life, from news feeds to medical treatments. * Includes a timeline of AI milestones from 1950 (Turing Test) to 2024 (drug discovery and climate modeling). * Discusses the "Black Box" problem and the lack of explainability in neural networks. * **Chapter 2: Algorithms vs. Ethics** * Debunks the myth of machine objectivity. * Analyzes sources of algorithmic bias: training data, feature selection, feedback loops, and aggregation. * Case studies: COMPAS (criminal justice), Amazon’s hiring tool, and facial recognition errors. * **Chapter 3: The Data Fuel** * Examines "Surveillance Capitalism" and how personal data is treated as the world's most valuable raw material. * Details the types of data collected: identity, behavioral, location, social, and inferred data. ### **Section 2: Inside the Walls: Security & Risks** * **Chapter 4: The Sentinel AI** * Analyzes AI in cybersecurity as both a "Guardian" (threat detection, automated response) and a "Threat" (AI-powered phishing, malware generation). * **Chapter 5: Deepfakes and Deception** * Explains Generative Adversarial Networks (GANs) and the death of "epistemic trust". * Highlights impacts: political manipulation, financial fraud, and the "Liar's Dividend". * **Chapter 6: Automated Warfare** * Discusses Lethal Autonomous Weapons Systems (LAWS) and the moral rupture of removing human accountability from the battlefield. ### **Section 3: The Human Connection** * **Chapter 7: AI and Human Rights** * Investigates digital mass surveillance, social credit systems, and facial recognition networks. * **Chapter 8: The Future of Work** * Addresses "automation anxiety" and the shift from replacing physical labor to replacing cognitive labor. * Strategies for an "AI-proof" career: empathy, leadership, and cross-domain expertise. * **Chapter 9: Ethical AI Frameworks** * Reviews global regulations: EU AI Act (2024), NIST Risk Management Framework, and Asilomar AI Principles. ### **Section 4: The Future Outlook** * **Chapter 10: Building Your Personal Fortress** * A practical, three-level action plan for digital security. * **Level 1 (Essential)**: Password managers, 2FA, and system updates. * **Level 2 (Enhanced)**: VPNs, privacy browsers, and search engine alternatives. * **Level 3 (Advanced)**: Signal for messaging, encrypted email (ProtonMail), and quarterly digital hygiene. * **Chapter 11: Toward a Symbiotic Future** * Moving beyond techno-optimism and techno-pessimism toward critical engagement. * Visions for AI in medicine, education, and climate governance guided by human values. ### **Final Word** * A closing reminder that the future of AI is determined by our choices as citizens, consumers, and humans.

  2. Rusty Graphs - AI Ready Graphs for Rust Developers

    Language models guess. Knowledge graphs know. Rusty Graph shows you how to build a local AI agent whose memory is a real knowledge graph — typed, validated, reasoned over, and queryable with SPARQL — all inside a single static Rust binary. No JVM. No Docker sidecar. No Python runtime bolted to the side. You will build Ares a research-assistant agent that observes papers, forms beliefs, makes promises to other agents, and tracks the provenance of every fact it holds. Chapter by chapter, Ares grows from an empty Cargo workspace into a full pipeline: > load → reason → validate → query → answer All of it in under a thousand lines of idiomatic Rust, using three crates that actually work today: `oxigraph`, `reasonable`, and `rudof_lib`. `grapfeo` You will learn how to- Model a domain as RDF triples and load them into an embedded store. - Write RDFS and OWL 2 RL axioms that infer trust, identity, and inverse relationships — automatically. - Guard your graph with SHACL shapes that reject bad data at the boundary, not in production. - Query everything with SPARQL, from simple lookups to federated queries across named graphs. - Wire the graph into a hybrid RAG pipeline so your LLM answers are grounded in facts, not vibes. Who it is forRust developers building agents, assistants, or any system where the answer "the model said so" is not good enough. You should be comfortable with Cargo and traits. You do **not** need any prior semantic-web background — every concept is introduced through Ares before any formal definition appears. Why Rust, why nowLocal agents are the next deployment target: a user's laptop, a Raspberry Pi, a WASM sandbox. Python cannot go there comfortably. Rust can. This book is the missing manual for the Rust side of the semantic web — the one that tells you exactly which crates work, where the ecosystem is thin, and how to ship anyway. Stop hoping your model tells the truth. Give it a graph that does.

  3. Game NPC Intelligence: Behavior Trees Implementation
    No Description Available
  4. Building LLM and AI Agent-Based Applications for the Process Industry
    Building LLM and AI Agent-Based Applications for the Process Industry
    A gentle introduction to building useful agentic AI industrial solutions
    Ankur Kumar and Akhilesh Jain

    This book familiarizes readers with the world of LLM and agentic AI, and helps them quickly gain a working-level knowledge of building useful agentic AI solutions for process industry operations. With no prerequisites required, practical demo applications, and a hands-on approach adopted throughout, this book makes advanced AI technologies accessible to process engineers and data scientists alike. It aims to help process data scientists and engineers take their first confident steps into Agentic AI world, understand the full picture, and build a strong enough foundation to keep learning and building on their own. Also available here.

  5. 构建你自己的编程智能助手
    构建你自己的编程智能助手
    零魔法:纯Python实现人工智能代理指南
    J. Owen and TranslateAI

    跳过黑箱框架。用纯 Python 从零构建生产级 AI 编程智能体——云端或本地,用 pytest 测试,全部在一个文件中完成。

  6. Construye tu Propio Agente de Programación
    Construye tu Propio Agente de Programación
    Guía Sin-Magia para Agentes de IA en Python Puro
    J. Owen and TranslateAI

    Olvídate de los frameworks de caja negra. Construye un agente de programación de IA de nivel profesional desde cero en Python puro — en la nube o local, probado con pytest, todo en un solo archivo.

  7. コーディングエージェントの作り方
    コーディングエージェントの作り方
    魔法なしで学ぶ Pure Python による AIエージェント開発ガイド
    J. Owen and TranslateAI

    ブラックボックスのフレームワークは不要。純粋なPythonでプロダクションレベルのAIコーディングエージェントをゼロから構築。クラウドでもローカルでも、pytestでテスト済み、すべて1つのファイルに収まります。

  8. My Adventures with Large Language Models
    My Adventures with Large Language Models
    Build foundational LLMs from Transformers to DeepSeek, from scratch, in PyTorch.
    Prathamesh S.

    Build GPT-2, Llama 3, and DeepSeek from scratch in PyTorch. Every chapter has runnable end-to-end code and loads real pretrained weights. Goes well past where most LLM tutorials stop.

  9. Notes on Dynamical Systems for Actor-Critic Learning
    Notes on Dynamical Systems for Actor-Critic Learning
    A Dynamical Systems Approach to Reinforcement Learning Mean Dynamics
    Vladyslav Prytula

    An introduction to actor-critic algorithms as dynamical systems: featuring hand-computable examples, fast-slow reductions, and machine-checked Lean 4 proofs

  10. Nothing Shared, Everything Gained
    Nothing Shared, Everything Gained
    From Legacy PHP to Sustainable Architecture
    Kore Nordmann

    Side effects are the enemy. A distillation of seven years consulting 100+ teams and eight years building a product through multiple pivots without a single rewrite. Five building blocks, two perspectives, zero dogma.

  11. JavaScript: The Parts
    JavaScript: The Parts
    and How The Parts Fit Together
    Avalynn Circe

    You can build things in JavaScript. You can ship them. You can make them work. But when someone asks you to explain what your code is doing, the words are not there, and neither is the understanding that would produce them. You learned by imitation. This book teaches you what you were actually doing.

  12. Sam Altman: From Silicon Valley Dropout to AI Visionary

    Go behind the scenes of the AI revolution in this definitive biography of OpenAI CEO Sam Altman. From his days as a restless Stanford dropout to the high-stakes boardroom battles that nearly toppled his empire, discover how one man is architecting the future of human intelligence. It is an essential look at the visionary holding the blueprint for the machines of tomorrow.

  13. Layerd FP in Scala
    Layerd FP in Scala
    Clean Architecture, Hexagonal and Onion with Scala 3 and ZIO
    Piotr Pruchniewicz

    Clean, Hexagonal, Onion—one dependency rule, three names. Walk a runnable multi-module SaaS billing service in Scala 3 and ZIO: a pure domain ring, ports and use cases in the middle, PostgreSQL + Flyway + JDBC and a thin HTTP shell on the outside—with full source in the PDF, not truncated snippets. See how ZLayer at the composition root keeps one repository for the whole graph, how webhook idempotency stays on the right side of the boundary, and how munit and zio-test (plus optional Docker) prove the architecture you intend to defend in code review.

  14. Event Sourcing in Scala
    Event Sourcing in Scala
    Scala 3, ZIO, PostgreSQL and the log beyond the database
    Piotr Pruchniewicz

    CRUD erases the story your system lived through; event sourcing keeps it. Build an account aggregate in Scala 3 and ZIO: past-tense events, a pure applyEvent fold, decide for invariants and idempotency, then wire an append-only PostgreSQL journal, transactions, and a balance projection—and trace one account from HTTP command to read model. When the log must leave the database, follow the same events through transactional outbox, Kafka, and at-least-once consumers without pretending you have magic consistency. For architects and implementers who want decision-grade ES + CQRS, not a toy demo.

  15. Saga Architecture in Scala
    Saga Architecture in Scala
    Functional Saga Architecture in Scala 3 and ZIO
    Piotr Pruchniewicz

    No distributed transaction spans your whole business process—so you design steps and compensations instead. In Scala 3 and ZIO, build a full order-placement saga from domain types and service algebras to orchestration and event-driven choreography, with tests that prove compensations fire when things break. Then see what it takes to move the same design toward production: outbox, idempotency, persistence, and how to choose between central coordination and decentralized reactions.