frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: WriteRoom – Dec Terminal, Markdown, Fast (macOS)

https://www.hogbaysoftware.com/writeroom/
1•jessegrosjean•11m ago
I released WriteRoom "distraction-free writing" in 2006.

The original was a NSTextView wrapper. Jump forward 20 years, a few failed rewrites, and I've built something new. From the simplest thing that could possibly work, to the opposite! This version is built from scratch. Maybe not smart, but has some benefits.

Here's what I did and what it allowed me.

WriteRoom is a Swift document based app. It supports macOS technologies back to AppleScript. It also supports Shortcuts and a terminal command with MCP. I think it's a Mac-assed app.

The editor component is custom built in Rust, using the GPU for display. At a high level the editor is:

1. Ropey[^1] crate for text storage

2. Ported/Modified CodeMirror Markdown tree

3. Sorted range lists, for selection, folds and annotations

4. CodeMirror-style height map tree for scrolling

5. WGPU crate for text atlas drawing

6. CoreText for text shaping/layout

7. Wrapped in NSView for native scrolling, integration

What fun things does this setup allow?

Flexible themes. Such as a DEC terminal as described in [^2]. Scanlines are applied at text atlas level to DEC ROM characters. Optional screen curvature is also applied. Can't do that with NSTextView.

Extreme performance. I test with the Moby Dick Workout [^3] * 1000. Over a gigabyte of Markdown structure loads in about a second and finishes parsing a few seconds later. Typing/scrolling/etc feel as fast as when typing in an empty document. Full control makes it possible to make things really fast.

Word/char counts are surprisingly expensive. Ropey and the Markdown tree are both cheap to snapshot because they share structure, so the parse and the word count both run on background threads and catch up while you type.

Mixing in IDE features such as sticky headings and minimap scrollers. That at runtime require an markdown tree for good performance and ability to do a lot of fast text drawing.

Numbered headings is another nice feature, but hard to implement without custom markdown tree. The feature is that your ### headings are rendered as numbers, so you might see 1.2.3 for a level 3 heading in first section. Feels quite nice and different in longer structured documents.

Overview mode is another feature, it mixes the minimap display with your regular document. So for example you can "zoom" and see your headings in normal text while everything else is minimap. All with a fast smooth animation. Inspired by MakePad editor[^4].

Thoughts and questions welcome.

[^1] Ropey – A UTF8 text rope for editing large text - https://news.ycombinator.com/item?id=42711966

[^2] Raster CRT Typography (According to DEC) - https://news.ycombinator.com/item?id=19528618

[^3] Moby Dick Workout - https://news.ycombinator.com/item?id=48791266

[^4] MakePad - https://makepad.dev

Affairs shattered Huang's 'cult of personality' within Nvidia, employees say

https://www.thehandbasket.co/p/huang-nvidia-current-employees-cult-of-personality
1•cdrnsf•34s ago•0 comments

Show HN: Constellation, local least-permissioned MCP for 100 services

https://github.com/madelinecameron/constellation
1•madamelic•1m ago•0 comments

The Most Egregious Parts of the 2027 MyQ Terms of Service

https://www.reddit.com/r/myq/s/HZVDFQKN3k
1•nonfamous•2m ago•0 comments

Bernie Sanders to declare AI a national emergency

https://www.axios.com/2026/12/02/bernie-sanders-ai-national-emergency
2•caseysoftware•2m ago•0 comments

Climate change could make coffee taste less good while making it cheaper

https://www.frontiersin.org/news/2026/12/02/frontiers-plant-science-climate-change-coffee-cheaper
1•giuliomagnifico•2m ago•0 comments

James Brown, P-Funk and Prince Saxophonist Maceo Parker Dead at 83

https://ultimateclassicrock.com/maceo-parker-dead/
2•toomuchtodo•5m ago•1 comments

Automattic's troubles continue with more layoffs, sources say

https://techcrunch.com/2026/11/30/automattics-troubles-continue-with-more-layoffs-sources-say/
2•ValentineC•6m ago•0 comments

Hero's Journey from the Classroom to the AI Tutor

https://uri.ai/blog/student-hero-journey-classroom-to-ai-tutor
2•shuri•6m ago•1 comments

Savvy Agents Quick Tutorial:How to Check Patients in [video]

https://www.youtube.com/watch?v=GaZIQCdaQ8U
1•savvyagents•7m ago•0 comments

Republicans say Huang was evasive in testimony and had 'wilful blindness'

https://www.bbc.com/news/articles/ckjrej1x8zdno
2•robrain•7m ago•1 comments

Please Turn Off Your GraphQL Introspection Before the Movie Begins

https://nullpt.rs/amc-graphql-introspection
1•hazebooth•7m ago•0 comments

The Underwhelming Supersonic Cargo Service That Died in the 20th Century

https://hackaday.com/2026/12/02/the-underwhelming-supersonic-cargo-service-died-in-the-20th-century/
1•dangle1•10m ago•0 comments

Show HN: Regentis – A self-learning process mining model

https://regentis.ai/
2•mronus•10m ago•1 comments

Takeaways from Jensen Huang's Interview with House Foreign Affairs Committee

https://foreignaffairs.house.gov/news/press-releases/top-five-takeaways-from-jensen-huang-s-trans...
1•cdrnsf•10m ago•0 comments

Overwhelmed cyber firms turn away hack victims as AI-powered attacks surge

https://www.msn.com/en-us/news/other/ar-AA2ixkub
2•bookofjoe•11m ago•0 comments

FirstIssue.dev – Verified beginner GitHub issues with setup kits and diff checks

https://www.firstissue.dev/
1•anni_i29•11m ago•0 comments

Nvidia Launches Vera Rubin Space Computing Platform in Partnership with SpaceX

https://nvidianews.nvidia.com/news/nvidia-launches-vera-rubin-nvl72-space-computing-platform-in-p...
1•thevilish•11m ago•0 comments

Show HN: WriteRoom – Dec Terminal, Markdown, Fast (macOS)

https://www.hogbaysoftware.com/writeroom/
1•jessegrosjean•11m ago•0 comments

Isar Aerospace Spectrum Super Heavy, a Reusable Rocket to Carry 50 Tons to LEO

https://xenospectrum.com/en/isar-spectrum-super-heavy/
1•mpweiher•12m ago•0 comments

Layoutz 1.0: Zero-dep Haskell TUIs 5x faster than Go's BubbleTea

https://github.com/mattlianje/layoutz
1•mattlianje•12m ago•0 comments

A 44M open-weights model for log anomalies that works on logs it has never seen

https://superlog.sh/blog/introducing-photon
3•Magnanten•13m ago•2 comments

SubQSavant: 4M Context Window LLM

https://subq.ai/
2•sunbum•13m ago•0 comments

Scalaxy: Open-source distributed KV db in Common Lisp

https://github.com/scalaxy/scalaxy
2•oumua_don17•13m ago•0 comments

Parallax

https://www.diabrowser.com/parallax
2•tosh•13m ago•0 comments

Finding faster quantum algorithms with agents and formal verification

https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification/
2•rbanffy•14m ago•0 comments

Show HN: RadarBG – EU bank statement, e-invoice (XRechnung/ZUGFeRD) & VAT tools

https://radarbg.com/
2•Radarbg•14m ago•0 comments

Datadog State of Java Report

https://www.datadoghq.com/state-of-java/
2•theanonymousone•15m ago•0 comments

Stars End: A Foundation Podcast

https://starsendpodcast.com/
1•mooreds•16m ago•0 comments

Show HN: Warpgate 0.31 – open-source SSH/RDP/K8s bastion/PAM, now with GitOps

https://warpgate.null.page/
2•hardex•16m ago•0 comments

MacWorld Interviews Bill Gates (1984)

https://computeradsfromthepast.substack.com/p/macworld-interviews-bill-gates-1984
2•theanonymousone•18m ago•0 comments