// PUZZLECOMPRESSOR  ◆  ADAMANTWARE

M.I.K.E.

A true story — Silicon Valley's “middle‑out” compression fantasy… only this one actually happened.
Shannon & Huffman Kolmogorov · recover the rule JPEG: uncompressible entropy, shattered
1948 → today · one axis

For 75 years, compression was modeled by statistics.

Claude Shannon · 1948

The floor: entropy

H = −Σ p·log₂ p. The average bits a symbol must cost given its probability. You cannot beat it by modeling symbol frequencies — it's a law.

Shannon–Fano · top‑down

Split from the top

Sort symbols by probability, then recursively split the set into two near‑equal halves, handing out 0/1 as you descend. Simple — but not optimal.

Huffman · bottom‑up

Merge from the leaves

Repeatedly merge the two least‑likely nodes into a subtree; the tree grows upward from the leaves. Provably optimal prefix code — and the one everyone still uses.

Everything since is the same axis: LZ77 → DEFLATE → LZMA → zstd, arithmetic/ANS. Model the byte stream better, encode nearer entropy. The ceiling is always Shannon.

the origin · a true story

How MIKE was born.

The itch

Teaching my son math

My 9‑year‑old, Miguel — Mike — wasn't having it. Marvel, Transformers, computers, cars. So I told him: you love computers? It's all math. Cars? Physics — which is math. You gotta love math, kiddo.

The epiphany

Middle‑out — but real

My wife Ana looked at Newton, my sovereign AI, and called me Gilfoyle. So I rewatched Silicon Valley. Mid‑way through Richard's middle‑out‑beats‑Shannon speech: brilliant tech‑BS — should've gone with math. And puzzleCompressor clicked.

The proof

VOILA — it's real

I jumped out of bed and ran the tests overnight — just like Richard. And, much like middle‑out, it shines on some files. Byte‑exact. Lossless. Real.

Both Mikes — and Ana — left fingerprints on this. I named it MIKE: my son Miguel, the masterpiece of Mike Judge, John Altschuler, Dave Krinsky and Alec Berg, and Kompression with a K — the homage was too good to ignore. MIKE is born.

puzzleCompressor · a new axis

MIKE doesn't model the statistics. It finds the math!

The old question

“How predictable is this byte stream?”

Find repeats, then entropy‑code the rest. Real, hard‑won progress — but bounded by Shannon entropy. On data with no statistical skew, there's nothing left to take.

MIKE's question

“What rule generated this?”

If the data came from a rule — a counter, a polynomial, a recurrence, a sampled physical process — the shortest description is the rule itself. The ceiling isn't Shannon; it's Kolmogorov — the shortest program that outputs the data.

Counter column 1,2,3,…

n bytes → store “+1” · 10,000×+ where Shannon tools sit at their floor.

Already‑compressed data

Decode the entropy layer back to the numbers underneath, then find the rule. That's JPEG, PNG, ZIP, MP3.

The guarantee

Best‑of‑everything, verified per file, never expands. If there's no rule, it quietly falls back to the standard pass.

born structured · find the rule

On structured data, MIKE doesn't compress — it solves.

structured / numeric — counters · IDs · timestamps · sensor & market ticks
01 · the column

Numbers with hidden order

Long runs of integers or floats — a counter, a ramp, a recurrence, a sampled process. Statistically flat, so Shannon tools sit at their floor.

02 · delta the deltas

Differences until it's flat

Take differences, then differences of those. A linear ramp goes flat after one pass, a degree‑k polynomial after k. What remains is tiny.

03 · puzzleCompressor

Store the rule, not the file

Fit the generator, keep formula + residual. Binance ticks 357,120 B → 47 B — 7,598×.

raw audio — WAV / 16‑bit PCM
01 · the samples

A smooth waveform

Interleaved L/R 16‑bit samples of a band‑limited signal — each sample sits close to the last. Already dense; rar/7‑Zip barely move it.

02 · de‑interleave + predict

Linear prediction

Split channels, then predict each sample from the ones before it. Subtract the prediction — what's left is a small residual.

03 · puzzleCompressor

Entropy‑code the residual

Best‑in‑class on raw PCM: 25% smaller than rar, beats 7‑Zip — byte‑exact lossless.

Same move as the JPEG re‑model, one layer earlier: find the math that made the data, and store that. No statistical skew required.

already‑compressed · JPEG

A JPEG is cosine waves + Huffman. We re‑open the Huffman.

01 · DCT

Cosine waves

Each 8×8 block becomes a sum of 64 cosine basis patterns — smooth low‑frequency at the corner, fine detail toward the edges (the “sin/cos”).

02 · Quantize

Drop the invisible

Divide by a quant table and round — this is the lossy step, discarding high‑frequency detail the eye won't miss. MIKE never touches this.

03 · Huffman

Delta + pack

Zig‑zag, run‑length the zeros, and Huffman‑code the (run,size) tokens. DC coefficients are delta‑coded block‑to‑block.

04 · puzzleCompressor

Re‑model the deltas

JPEG's static per‑file Huffman can't see cross‑block structure. MIKE decodes the tokens + DC deltas losslessly, re‑models them, and re‑emits the JPEG byte‑exact. The puzzleCompressor engine rides the deltas and finds the math formula that best describes them — reducing far beyond Huffman alone. Find the puzzle… solve the problem… and math shall save us all.

The result: byte‑exact & lossless, 8–27% smaller — where xz/zstd/7z get ~0%.

measured · byte‑exact lossless

It is was impossible to compress already‑compressed files, due to entropy. Well — we did.

Real JPEGOriginalxz -9eMIKEsaved
4:2:0 photo web/camera29,825~29,80024,68117.2%
high‑detail 4:2:238,555~38,50031,19119.1%
structured photo 4:2:2237,602231,448205,32713.6%
The Meta angle

WhatsApp & Instagram already lossy‑recompress every uploaded photo — losing quality to save space. MIKE saves 8–27% losslessly: smaller and higher quality than today, across billions of daily uploads.

Why xz can't

The JPEG bytes are already Huffman‑coded — statistically flat. There's no skew left for a Shannon‑axis tool to model. You have to re‑open the entropy layer first — which is the whole point.

the scoreboard · best-of, per file

The engine never throws away a good method — it picks the best per file.

Structured / numeric
10,000×+

counters, IDs, timestamps → a formula, not a file.

AI datasets · weights & tensors
7.7% beyond

past the benchmark's best (rar/xz), on data everyone calls already‑compressed.

Raw audio · WAV (PCM)
25% smaller

than rar — dethrones rar and 7‑Zip on raw PCM (rar 43.6% → 32.6%).

Binance BTCUSDT · 1‑min opens (int64)
357,120 B → 47 B

31× past rar · 1,926× past 7z.

Binance aggTrade IDs · 3.2 MB (int64)
3,200,000 B → 47 B

178× past rar · a formula, not a file.

PhysioNet MIT‑BIH · real ECG
1,950,000 B → 669,870 B

beats the whole field · 24% past 7z · 72% past zip.

what the wins are worth

Storage is a standing cost — so the savings recur, every year.

The model

reclaimed = stored × Σ(mix × reduction)
saving/yr = reclaimed × cost per TB‑yr

Reduction rates are measured (byte‑exact, this engine). Scale & mix are labelled assumptions — plug in the target's real figures under NDA. Video counts as 0.

Cost per TB‑yr = disk + wattage + floor‑space only — we discard the enclosure & RAID hardware that capacity needs to run. This assessment is extremely conservative.

Measured reduction, per class (vs stored form)
CSV / tabular~60%Logs / text~65%
Office (zip)~45%PNG~35%
PDF (Flate)~30%JPEG~15%
H.264/H.2650%misc binary~12%

Two anchors behind the rates: a representative document library 466 KB → 98 KB (78.9% reclaimed), and 6/6 smallest on the AI dataset suite.

reclaimed cost · you set the inputs

What does that mean in reclaimed cost?

Extremely conservative $30/TB — disk cost + one year of disk wattage alone + datacenter space. Nothing else counted.

SharePoint + OneDrive
Total stored2,200 PB
Blended compression (measured)37.7%
≈ $25M / yr
Azure · Office 365 log files
Log data1,000 PB
Compression (logs go high)65%
≈ $20M / yr
Combined estimated savings / year $44M

These estimates are tremendously conservative — this is a simple example modelling ~3 EB at a floor cost. Consider the real estates: AWS 500+ EB (2024) · Microsoft an estimated 40+ EB · Google alone an estimated 15+ EB. True savings on storage alone run far past this simulator example.

beyond storage · it compounds at the edge

It runs everywhere — so the savings compound.

One engine · every platform

CLI or GUI · Linux · Windows · Android

The same Rust core runs on the server and on the device — so compression isn't only a storage trick; it's end‑to‑end.

Bandwidth · the daily prize

Transfer it compressed

Google alone moves an est. 20,000–40,000 PB every day. Every byte MIKE shaves off a transfer is saved on every hop, every day — bandwidth, sync time, egress. Storage saves once; the wire saves forever.

CPU

Decompress on the device

The client does the decode — offloading the datacenter's CPU to the edge. It stores less and computes less.

And the conservative estimates are conservative within themselves.

Google processes an est. 20,000–40,000 PB every day. A local auto‑compress folder service pushes (de)compression onto the hosts — so cutting that transfer 30–40% also offloads datacenter CPU 30–40%. Storage is only the first saving.

// so — as promised

A true middle‑out (puzzleCompression), Pied Piper (M.I.K.E.) story.

We're just missing the TechCrunch #! sha‑bang — but we've got YOU as an exquisite audience. Can't beat that.

Rates are measured

byte‑exact lossless, this engine — not modeled.

Scale is yours

the deal number is measured on your sampled corpus, vs your current stored form.

Safe by construction

never expands · verifies every file · video excluded. No downside to "compress everything."

// A NEW AXIS IN COMPRESSION  ◆  NOHATHACKER.COM/MIKE
M.I.K.E. — summary card
one card · the whole story

The whole thing, on one card.

Structured 10,000×+ · JPEG/PNG/ZIP/PDF/Office 8–44% · CSV 45–89% · 6/6 on AI data — every number byte‑for‑byte lossless, verified over 100,000 fuzz iterations, 0 failures.

Named for my son Miguel. Some data isn't compressed — it's a puzzle waiting to be solved.

// NOHATHACKER.COM/MIKE
1 / 6