Tool · 2026 · Live See inside a compressed file. Every repeated phrase turns out to be a pointer back to its first appearance, and each letter is colored by what it cost to store. Files you drop never leave your browser. deflate x-ray See inside a compressed file. Every repeated phrase turns out to be a pointer back to its first appearance, and each letter is colored by what it cost to store. Files you drop never leave your browser. What it is Almost every compressed file, from .zip and .png to .gz and most web pages, uses the same method, DEFLATE. When text repeats, it’s replaced with a short pointer back to where it appeared before: copy 41 bytes from 57 back. Letters that come up often get shorter codes than rare ones. A normal decompressor hands you only the result. deflate x-ray takes the file apart with its own decompressor, written from scratch, and shows you every pointer and what each byte cost. What you can see What each letter cost. Every byte is colored by its cost in bits. A letter stored as itself costs several bits. Inside a long copy it costs a fraction of one. The cheap repeats fade and the expensive surprises glow. Where each piece came from. Click any byte to see the pointer that wrote it, its raw bits, and an arc back to the text it copied. How deep the copying goes. In The House That Jack Built each verse copies the one before: copies of copies, 11 generations deep. A smooth PNG gradient goes 150 deep. Where the bits went. How many went to letters, pointers and headers, with the file’s checksum checked against what came out. Your files stay with you Type anything, and your browser compresses it with its own built-in DEFLATE, so you see what a real compressor chose. Or drop a .gz, .zlib, .png or .zip file on the page. The page reads it in your browser. There’s no upload and no server involved: the page makes no network requests at all. How it works The decompressor follows RFC 1951 and is built like zlib’s reference decoder, puff. It handles all three block types and finds the DEFLATE stream inside gzip, zlib, PNG and ZIP files. One test checks that the headers, pointers and end-of-block codes add up to exactly the number of bits in the stream, for every block type. The whole viewer is one 45 KB page. Honest limits It paints the first 150,000 bytes of a stream. The statistics cover all of it. Only the first member of a multi-member gzip file is traced. ZIP64, encrypted ZIP entries and zlib preset dictionaries aren’t supported. Bytes outside printable ASCII, including accented letters, show as ·. How it was made This is one of my nightly builds: an AI agent invents, builds and tests a new project every night. deflate x-ray came out of the 15 October 2026 run. Keep reading. Article · 14 min readSpreadsheets were the first vibe codingIn 1979 VisiCalc let people who had never used a computer write programs without calling them that. Forty-seven years of spreadsheet errors, and of the people paid to catch them, say what happens next to the software people now build with AI.Read article Article · 13 min readThe Jevons paradox has a second halfIn 1865 Jevons argued that efficient engines would make Britain burn more coal, and that cheaper products would mean more work. He was right for about fifty years. What coal, light, farms, bank tellers and switchboards say about software jobs now that AI makes code cheap.Read article Article · 16 min readSigns of AI writing, and how to fix each oneThe patterns that make a text read as generated, from “it’s not X, it’s Y” to flat rhythm, why readers notice each one, and the edit that fixes it.Read article
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL
Show HN: Deflate X-Ray, See inside a compressed file
Article URL: https://hrih.si/projects/deflate-xray/ Comments URL: https://news.ycombinator.com/item?id=50572389 Points: 1 # Comments: 0
翻译服务暂未运行,当前显示原文。