惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
Your AI Is Starving For PDFs
mkotlikov · 2026-05-18 · via Hacker News - Newest: "AI"

Two recent AI infrastructure arguments point to the same problem: plain text loses information that matters.

Andre Karpathy’s version came through DeepSeek’s OCR paper, which showed that rendering a page as an image could preserve the original with high fidelity while using far fewer tokens than raw text. Karpathy’s takeaway was not “better OCR.” It was more radical: maybe text tokens are wasteful historical baggage, and the image is a better memory substrate.

Thariq Shihipar, engineering lead for Claude Code at Anthropic, made the opposite-end argument in The Unreasonable Effectiveness of HTML. For agent outputs — plans, reports, code reviews — markdown is too thin. HTML carries layout, hierarchy, emphasis, and structure that plain text cannot.

Different ends of the pipe. Same complaint: flat text throws away meaning.

The format that solves both already exists.

Yes, PDF. The thing your bank sends you. The thing governments, lawyers, accountants, academics, and companies have standardized on for decades. The format running global civilization while software people made fun of it.

Its advantage is not just that it supports images. It preserves the author’s arrangement.

A document is not only words. The diagram next to the paragraph is information. The caption under the figure is information. The number in a table cell under a particular header is information. Convert that document to markdown, scrape it into text, chunk it into 512-token fragments, and you destroy much of what made it intelligible.

Then you hand the wreckage to a model and act surprised when it hallucinates the thing your pipeline deleted.

A PDF page is closer to source truth. The model sees what the human sees: text, layout, tables, captions, images, hierarchy. That is exactly what Karpathy wants on input and what Shihipar wants on output.

RAG systems spent years debating chunk sizes: 256 tokens, 512 tokens, semantic windows, overlapping windows. But the natural unit already exists.

It is a page.

Humans organized knowledge into pages because a page is roughly the amount a person can absorb and reason about at once. Modern frontier models now accept PDFs natively, which means we no longer need to flatten documents into fragments and hope the structure survives.

The page is the chunk. The document is the source. The vector database should be the index, not the payload.

Semantic search is still useful. Use embeddings to find relevant passages across a corpus. But do not feed the retrieved text fragment to the model as if it were the document.

Feed the page.

Each embedded chunk should carry metadata: document ID, page number, coordinates if needed. Search finds the match; the system resolves it back to the original page; the model gets the actual PDF page, untouched.

The vector DB finds the evidence. The PDF preserves the evidence.

The operational case is boring, which is why it matters. Word, PowerPoint, Excel, Pages, Google Docs, emails, screenshots, scans, web pages, and images all export or print cleanly to PDF. Every operating system knows how to make one. Every device knows how to open one.

Markdown has no comparable universal converter. Try converting a complex Word document with charts, tables, footnotes, and captions into clean markdown. Something will vanish, flatten, or land in the wrong place.

PDF is not elegant. It is universal.

PDFs can be heavier than markdown. But DeepSeek’s result points in the other direction: a rendered page can be a compressed representation of its own text, not an inflated one. And the old reason markdown won — tiny context windows and token rationing — is fading.

PDFs are not hand-editable. Fine. You edit the source document and export again. You do not edit memory; you edit source.

PDF diffs are ugly. True. So are diffs for every binary format. Version the artifact and let the model compare versions when needed.

Scanned faxes are messy. So is the real world. That is exactly why a format that preserves visual context matters.

Karpathy and Shihipar are making the same argument from opposite directions. Input should preserve the page. Output should preserve structure. Plain text is too thin for both.

The principle is simple: distance from the source is the enemy. Every transformation between author and model is a place where truth leaks out.

PDF minimizes that distance. It preserves layout, survives transmission, renders everywhere, and gives models the same unit humans already use: the page.

Index with vectors. Store the truth as PDF. Feed the model pages, not mangled text fragments.

PDFs are not the past. They are the substrate the next decade of AI infrastructure gets built on.

No posts