Software Engineering

Insights on software development, engineering practices, architecture patterns, and the craft of building robust, scalable systems.

440 items · Page 8 of 10

Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Instruction Tuning for Language Models

Jul 7, 2025·14 min read

Covers instruction tuning introduced in 2021. Explains how fine-tuning on diverse instruction-response pairs changed language models.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Isolation Forest: Unsupervised Anomaly Detection

Jul 6, 2025·48 min read

Covers Isolation Forest covering unsupervised anomaly detection, path length calculations, harmonic numbers, anomaly scoring.

Open notebook
AI Agent HandbookMachine LearningSoftware Engineering

Implementing Memory in Our Agent

Jul 5, 2025·17 min read

Build a complete AI agent memory system combining conversation history and persistent knowledge storage.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Position Interpolation

Jul 3, 2025·49 min read

Explains how Position Interpolation extends transformer context windows by scaling position indices to stay within training distributions.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Boosted Trees: Gradient Boosting Algorithm & Implementation

Jul 3, 2025·44 min read

Covers boosted trees and gradient boosting, covering ensemble learning, loss functions, sequential error correction, and scikit-learn implementation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

DALL·E 2: Diffusion and CLIP-Guided Image Generation

Jul 3, 2025·14 min read

Covers OpenAI's DALL·E 2, the major text-to-image generation model that combined CLIP-guided diffusion with high-quality image synthesis.

Open notebook
AI Agent HandbookMachine LearningSoftware Engineering

Long-Term Knowledge Storage and Retrieval

Jul 3, 2025·14 min read

Explains how AI agents store and retrieve information across sessions using vector databases, embeddings, and semantic search.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Context Length Challenges

Jul 2, 2025·39 min read

Examines the fundamental barriers limiting transformer context windows, including quadratic memory scaling, position encoding extrapolation failures.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Codex: AI-Assisted Code Generation

Jul 1, 2025·18 min read

Codex adapted GPT-3 for code completion and generation. Covers its training data, natural-language prompts, benchmark results, and role in developer tools.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Random Forest: Ensemble Learning

Jun 30, 2025·43 min read

Covers Random Forest covering ensemble learning, bootstrap sampling, random feature selection, bias-variance tradeoff, and implementation in scikit-learn.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

DALL·E: Text-to-Image Generation

Jun 29, 2025·12 min read

Covers OpenAI's DALL·E, the early text-to-image generation model that extended transformer architectures to multimodal tasks.

Open notebook
AI Agent HandbookMachine LearningSoftware Engineering

Adding a Calculator Tool to Your AI Agent

Jun 29, 2025·15 min read

Build a working calculator tool for your AI agent from scratch. Topics include the complete workflow from Python function to tool integration.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

CART Decision Trees: Classification and Regression Trees

Jun 27, 2025·45 min read

Covers CART (Classification and Regression Trees), including mathematical foundations, Gini impurity, variance reduction.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

GPT-3 and In-Context Learning

Jun 27, 2025·21 min read

GPT-3 showed that scaling autoregressive transformers could enable in-context and few-shot learning. Covers its architecture, data, prompting, and limitations.

Open notebook
AI Agent HandbookMachine LearningSoftware Engineering

Using a LLM in Code: API Integration & Implementation

Jun 27, 2025·15 min read

Call language models from Python code, including GPT-5, Claude Sonnet 4.5, and Gemini 2.5. Covers API integration, error handling.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

T5 and Text-to-Text Framework

Jun 25, 2025·19 min read

Covers Google's T5 (Text-to-Text Transfer Transformer) introduced in 2019. Explains how the text-to-text framework unified diverse NLP tasks.

Open notebook
AI Agent HandbookMachine LearningSoftware Engineering

Designing Simple Tool Interfaces

Jun 25, 2025·14 min read

Design effective tool interfaces for AI agents, from basic function definitions to multi-tool orchestration.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Logistic Regression: Math & Python

Jun 24, 2025·46 min read

Covers logistic regression covering mathematical foundations, the logistic function, optimization algorithms, and practical implementation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Longformer: Efficient Attention for Long Documents

Jun 23, 2025·55 min read

Explains how Longformer combines sliding window and global attention to process documents of 4,096+ tokens with O(n) complexity instead of O(n²).

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Sparse Attention Patterns: Local, Strided

Jun 22, 2025·61 min read

Implement sparse attention patterns including local windows, strided attention, and block-sparse methods.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Poisson Regression: Count Data Modeling with Math & Python

Jun 21, 2025·49 min read

Covers Poisson regression for count data analysis. Topics include mathematical foundations, maximum likelihood estimation, rate ratio interpretation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Transformer-XL: Extending Transformers to Long Sequences

Jun 21, 2025·6 min read

Transformer-XL extends context with segment recurrence and relative positions. Covers its architecture, efficiency, training method, and influence.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Spline Regression: Non-Linear Modeling with Math & Python

Jun 18, 2025·65 min read

Spline regression models nonlinear relationships with piecewise polynomials. Covers B-splines, knot selection, natural cubic splines, and Python.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Multinomial Logistic Regression: Math & Python

Jun 15, 2025·48 min read

Covers multinomial logistic regression covering mathematical foundations, softmax function, coefficient estimation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

GPT-1 and GPT-2: Autoregressive Transfer Learning

Jun 15, 2025·18 min read

Covers OpenAI's GPT-1 and GPT-2 models. Explains how autoregressive pretraining with transformers enabled transfer learning across NLP tasks.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

BERT: Bidirectional Pretraining for Language Understanding

Jun 13, 2025·15 min read

Covers BERT (Bidirectional Encoder Representations from Transformers), including masked language modeling, bidirectional context understanding.

Open notebook
AI Agent HandbookMachine LearningSoftware Engineering

Prompting Strategies and Tips: Role Assignment

Jun 13, 2025·12 min read

Covers advanced prompting strategies for AI agents including role assignment, few-shot prompting with examples, and iterative refinement.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Elastic Net Regularization: Math & Python

Jun 12, 2025·52 min read

Covers Elastic Net regularization, including mathematical foundations, geometric interpretation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

XLNet, RoBERTa, ALBERT

Jun 11, 2025·17 min read

Explains how XLNet, RoBERTa, and ALBERT refined BERT through permutation language modeling, optimized training procedures, and architectural efficiency.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Layer Normalization: Stabilizing Transformer Training

Jun 9, 2025·52 min read

Explains how layer normalization enables stable transformer training by normalizing.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Polynomial Regression: Math and Python Implementation

Jun 9, 2025·38 min read

Model nonlinear relationships with polynomial regression. Covers feature construction, Python implementation, model selection, bias, variance, and overfitting.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

RLHF Foundations: Learning from Human Preferences in RL

Jun 9, 2025·13 min read

Covers preference-based learning, the framework developed by Christiano et al. in 2017.

Open notebook
AI Agent HandbookMachine LearningSoftware Engineering

The Personal Assistant We'll Build

Jun 7, 2025·14 min read

Covers what you'll build throughout this book: a capable AI agent that remembers conversations, uses tools, plans tasks, and grows smarter with each chapter.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningMachine Learning from Scratch

Ridge Regression (L2 Regularization): Math & Implementation

Jun 6, 2025·36 min read

Covers Ridge regression and L2 regularization, including mathematical foundations, geometric interpretation, bias-variance tradeoff.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Subword Tokenization and FastText

Jun 3, 2025·14 min read

Covers FastText and subword tokenization, including character n-gram embeddings, handling out-of-vocabulary words, morphological processing.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Residual Connections

Jun 1, 2025·15 min read

Covers residual connections, the architectural innovation that solved the vanishing gradient problem in deep networks.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Google NMT: End-to-End Neural Machine Translation

May 30, 2025·14 min read

Covers Google's transition to neural machine translation in 2016. Explains how GNMT replaced statistical phrase-based methods with end-to-end neural networks.

Open notebook
Data, Analytics & AISoftware EngineeringLLM and GenAI

What are AI Agents, Really?

May 27, 2025·10 min read

AI agents combine a language model with tools, memory, and control logic. This article separates agents from workflows and multi-agent systems.

Read article
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

GloVe and Adam Optimizer: Global Word Embeddings

May 26, 2025·25 min read

Covers GloVe (Global Vectors) and the Adam optimizer, two early 2014 developments that changed neural language processing.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Scaled Dot-Product Attention: The Core Transformer Mechanism

May 25, 2025·48 min read

Covers scaled dot-product attention: how queries and keys compute similarity, why dividing by sqrt(d_k) prevents softmax saturation.

Open notebook
Data, Analytics & AISoftware EngineeringLLM and GenAI

Model Context Protocol (MCP) for LLM Tool Integration

May 22, 2025·6 min read

Model Context Protocol (MCP) gives LLM applications a standard way to list tools, call them, and exchange structured results across services.

Read article
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Beam Search: Decoding and Sequence Generation

May 22, 2025·48 min read

Explains how beam search balances quality and compute in sequence generation, covering greedy decoding limits, length normalization, diverse beam search.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Teacher Forcing: Training Seq2Seq with Ground Truth Context

May 21, 2025·45 min read

Teacher forcing trains sequence-to-sequence models with ground-truth context. Covers exposure bias, scheduled sampling, and alternatives based on REINFORCE.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Bidirectional RNNs: Full-Sequence Context for NLP

May 20, 2025·50 min read

Explains how bidirectional LSTMs and GRUs provide full-sequence context by processing text forward and backward, enabling strong sequence labeling.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Neural Search: Semantic Search with Deep Learning

May 20, 2025·21 min read

Covers neural information retrieval, the advance approach that learned semantic representations for queries and documents.

Open notebook
Data, Analytics & AISoftware EngineeringLLM and GenAI

Why Temperature=0 Doesn't Guarantee Determinism in LLMs

May 18, 2025·12 min read

Temperature zero does not make an LLM deterministic. GPU kernels, batching, floating-point arithmetic, and serving choices can still change its output.

Read article
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Luong Attention: Dot Product, General & Local Mechanisms

May 18, 2025·43 min read

Examines Luong attention variants including dot product, general, and concat scoring. Topics include global vs local attention, input-feeding.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningHistory of Language AI

Layer Normalization for Sequence Models

May 18, 2025·13 min read

Covers layer normalization, the normalization technique that computes statistics across features for each example.

Open notebook
Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12