Simon Willison's Weblog

Building a World Map with only 500 bytes

6.7内容质量
Building a World Map with only 500 bytes

TL;DR · AI 摘要

Building a World Map with only 500 bytes Simon Willison’s Weblog Subscribe smallhead Sponsored by: Sonar — Gartner just...

核心要点

  • 主题聚焦:Building a World Map with only 500 bytes
  • 来源:Simon Willison's Weblog,建议结合原文判断细节。
  • AI 分析暂不可用,本条为保底评分与摘要。
#AI#编程#前端
打开原文

Building a World Map with only 500 bytes

Simon Willison’s Weblog

Subscribe

#smallhead

Sponsored by:

Sonar — Gartner just named Sonar a Leader in the 2026 Magic Quadrant™ for Technical Debt Management Tools. Read the report and learn how to measure and remediate technical debt across your codebase.

Get the report

4th July 2026 - Link Blog

Building a World Map with only 500 bytes ( via ) Iwo Kadziela (assisted by Codex) figured out a way to generate a credible ASCII world map using 445 bytes of data:

The key trick is to use deflate compression, which is then wired together using this neat snippet of JavaScript. I didn't know you could use fetch() with data: URIs like this:

code
fetch('data:;base64,1ZpLsgIxCEXnrM...==').then(
  r => r.body.pipeThrough(new DecompressionStream('deflate-raw'))
).then(
  s => new Response(s).text()
).then(
  t => b.innerHTML = '<pre style=font-size:.65vw>' + t
)

Posted

4th July 2026

at 11:09 pm

Recent articles

  • sqlite-utils 4.0rc2, mostly written by Claude Fable (for about $149.25) - 5th July 2026
  • Have your agent record video demos of its work with shot-scraper video - 30th June 2026
  • Porting the Moebius 0.2B image inpainting model to run in the browser with Claude Code - 22nd June 2026

#primary

This is a link post by Simon Willison, posted on 4th July 2026 .

ascii-art

5

data-urls

11

javascript

760

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe

.metabox

#secondary

#wrapper

  • Disclosures
  • Colophon
  • ©
  • 2002
  • 2003
  • 2004
  • 2005
  • 2006
  • 2007
  • 2008
  • 2009
  • 2010
  • 2011
  • 2012
  • 2013
  • 2014
  • 2015
  • 2016
  • 2017
  • 2018
  • 2019
  • 2020
  • 2021
  • 2022
  • 2023
  • 2024
  • 2025
  • 2026