Scoopfeeds — Intelligent news, curated.
computer-science

My Favorite Bugs: Invalid Surrogate Pairs

Hacker News · May 16, 2026, 12:49 PM

Key takeaways

  • May 14th, 2026 • ~2,000 words • 8 minute read
  • If you're in the business of building things that run on computers long enough, I think you will eventually acquire a favorite bug story.
  • I was working on migrating a legacy editor to a more collaborative experience with my team.

May 14th, 2026 • ~2,000 words • 8 minute read

If you're in the business of building things that run on computers long enough, I think you will eventually acquire a favorite bug story. This is a short story about mine. I've also built an interactive tool where you can explore the concepts underpinning the heart of this bug.

I was working on migrating a legacy editor to a more collaborative experience with my team. Tip Tap on top (itself a wrapper around Prose Mirror), Yjs underneath handling the CRDT magic for real-time syncing. It worked well! Mostly.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop