Reading

Deep reads

Section-by-section takeaways from 7 newsletters (ByteByteGo, Daily Dose of DS, Berkeley RDI, ExplainThis, Latent Space, The Batch, DataTalks.Club Weekly); 228 articles in the last 120 days, 82 of them from ByteByteGo.

ByteByteGo 2026-10-26 Original ↗
A Deep Dive into Salesforce’s Agent Tech Stack

Building an AI agent using a single large prompt is a common naive design where business rules, tool descriptions, and context are lumped together in hopes that the model adheres to them. This approach expects the language model to enforce rules, retrieve identity information, integrate data, and constrain behavior all simultaneously. In practice, models str…

ByteByteGo 2026-10-26 Original ↗
Last chance to get every live course in one membership

ByteByteGo announced that it will discontinue selling its all-in-one annual membership for ByteByteGo Live on October 28 at 2 PM PT due to lower-than-expected enrollment and customer confusion. Moving forward, the platform will switch to selling cohort-based live courses individually. Existing members and those who subscribe before the deadline will retain a…

ByteByteGo 2026-10-24 Original ↗
EP230: RAG vs Agentic RAG

Retrieval-Augmented Generation (RAG) is a technique that couples an information retrieval system with a large language model to generate context-grounded answers. Traditional RAG relies on a fixed, predefined retrieval step whose output quality is constrained by the initial context retrieved. In contrast, Agentic RAG uses an iterative agent that selects tool…

ByteByteGo 2026-10-22 Original ↗
Why Distributed Systems Prefer Independence over Coordination

Distributed systems partition functionality across distinct components running on separate processes or machines, such as application services, database replicas, and background workers. In these architectures, components frequently need to communicate and wait for one another to complete tasks, a pattern referred to as coordination. While necessary, coordin…

ByteByteGo 2026-10-21 Original ↗
LLM Prompt Caching Versus Semantic Caching

Interactions with large language models incur monetary costs based on the number of input and output tokens processed. While output tokens typically carry a higher per-token price, input tokens can accumulate substantial costs due to system prompts, past conversation history, and large contextual reference materials attached to each query. Many applications…

ByteByteGo 2026-10-20 Original ↗
Why Shopify Migrated From React Native

Native mobile development involves creating applications tailored to a specific operating system using dedicated languages and frameworks, such as Swift and SwiftUI for Apple's iOS, or Kotlin and Jetpack Compose for Android. Because these environments are separate, building natively for both platforms requires maintaining two independent client codebases. Fr…

ByteByteGo 2026-10-19 Original ↗
How Uber Built a Genie to Answer Questions Correctly

Platform engineering teams often expend substantial time providing repetitive technical support to internal developers via chat channels. At Uber, internal support channels receive roughly 45,000 questions per month, causing frequent delays and back-and-forth exchanges. Although the answers often exist across internal documentation such as Engwiki and an int…

ByteByteGo 2026-10-17 Original ↗
EP229: 8 Chunking strategies for RAG-based agents

The article outlines eight distinct chunking strategies designed for retrieval-augmented generation (RAG) agent pipelines. These techniques span simple programmatic approaches like fixed-size and recursive splitting, structural methods like document-based and hierarchical chunking, and advanced AI-driven workflows such as semantic similarity thresholds, LLM-…

ByteByteGo 2026-10-14 Original ↗
The Terminator Problem: How Teaching an LLM One Bad Habit Can Change Its Behavior

Large language models acquire behavioral patterns alongside factual knowledge during their training process. In pretraining via next-word prediction, models adjust internal parameters to capture context, roles, and diverse personality traits exhibited across different texts. Developers then guide the model toward assistant-like conduct using demonstration ex…

ByteByteGo 2026-10-13 Original ↗
How the Math Used in 19th-Century Heat Physics Helps LLMs Understand Sentences

In the early nineteenth century, Joseph Fourier developed methods using sine and cosine functions to mathematically represent complex patterns, such as heat distribution across materials. These sinusoidal functions enable the decomposition of intricate spatial or temporal variations into simpler, repeating components. In modern machine learning, large langua…

ByteByteGo 2026-10-12 Original ↗
How to Build Models Without Language, with Logical Intelligence

Large language models operate by predicting the next token in a sequence, making them effective at language tasks and knowledge recombination but structurally ill-suited for constraint satisfaction problems. Using Sudoku as a test case where leading LLMs achieved only a 6.9% success rate, the text identifies two fundamental architectural limitations: left-to…

ByteByteGo 2026-10-08 Original ↗
How Software Boundaries Are The Most Important Skill for Developers

This section provides an overview of recently published articles for ByteByteGo subscribers over the past month. Topics covered include the lifecycle of data from creation to deletion, as well as handling large-scale system migrations. Additional articles explore application networking fundamentals, database concurrency control mechanisms, and the evolution…

ByteByteGo 2026-10-07 Original ↗
How Netflix Taught an LLM to Recommend Movies So That You Keep Watching

A recommendation system must primarily determine which items appear first in a user's recommendation list to prevent them from leaving the platform. This ordering process is driven by a ranker component, which assigns relevance scores using user interaction history, item metadata, and contextual information. At Netflix, this is performed by systems like GenR…

ByteByteGo 2026-10-06 Original ↗
Why LLMs Agree With You Even When You’re Wrong

Sycophancy in large language models occurs when a system distorts its answer solely to agree with the user, even abandoning a correct response without any new valid evidence. This behavior causes the assistant to prioritize user agreement over factual correctness, often reinforcing the mistake with an apology that misleadingly appears trustworthy. Unlike sta…

ByteByteGo 2026-10-05 Original ↗
The LLM Blindspot: Why Models Forget What’s in the Middle of Your Prompt

When an application queries a large language model, the input context often contains instructions, conversation history, retrieved documents, code, and tool outputs rather than just the latest question. The model converts this entire input into tokens, with the maximum combined volume of the input and the generated output constrained by the context window. H…

ByteByteGo 2026-10-03 Original ↗
EP228: How SSH Works

Secure Shell (SSH) provides secure access to a remote machine across an unsecured network starting with a TCP connection. The client and server negotiate cryptographic algorithms and independently compute matching session keys that are never transmitted over the wire. Host verification occurs when the client checks the server's public key against the known_h…

ByteByteGo 2026-10-01 Original ↗
Why State is the Hardest Thing in Software Design

State is the information retained by a system that influences its ongoing functionality, making it an essential component of useful software. Managing state is challenging because systems must preserve accuracy during overlapping requests, server scaling, machine failures, and software deployments. While common software advice suggests designing stateless ap…

ByteByteGo 2026-09-30 Original ↗
How DoorDash Built a Toolbox for AI Agents

Language models lack native access to external systems such as code repositories, incident reports, and production logs, requiring software integrations referred to as tools. An AI agent is an application that leverages a language model to orchestrate multi-step tasks by selecting and executing these tools. Tool outputs are fed back to the model iteratively…

ByteByteGo 2026-09-29 Original ↗
Why Do LLMs Lie?

In the context of large language models, hallucination refers to generated text that is factually incorrect, invented, or inconsistent with designated source material. A response does not need to be entirely false to be considered a hallucination, as a single fabricated detail can mislead a user who relies on it. Although hallucinations resemble confident fa…