frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Box of Rain - Auto-Layouted ASCII Diagrams

https://github.com/switz/box-of-rain
10•switz•3d ago

Comments

latchkey•3d ago
Neat, but you can just do this in mermaid too. Taking one of your examples:

  <mermaid>
  flowchart LR

  web([Frontend])

  subgraph platform [Cloud Platform]
    api([API Server])
    db[(Database)]
    api --> db
  end

  web -->|HTTPS| api
  </mermaid>
If you install the latest https://oj-hn.com , you can see it rendered inline here.
switz•3d ago
Fair point. I added basic mermaid parsing to the library so you can do that here too.

    $ echo 'flowchart LR
        web([Frontend])
        subgraph platform [Cloud Platform]
          api([API Server])
          db[(Database)]
          api --> db
        end
        web -->|HTTPS| api' | npx box-of-rain --mermaid

                           ╔══ Cloud Platform ════════════════════╗
                           ║                                      ║
    ╭──────────╮           ║  ╭────────────╮      ╔════════════╗  ║
    │          │           ║  │            │      ║            ║  ║
    │ Frontend │ ─── HTTPS ──▶│ API Server │ ────▶║  Database  ║  ║
    │          │           ║  │            │      ║            ║  ║
    ╰──────────╯           ║  ╰────────────╯      ╚════════════╝  ║
                           ╚══════════════════════════════════════╝
Retr0id•42m ago
On my system the "right arrow" glyph is 2 units wide and breaks all the layouts.
switz•33m ago
Huh, sounds like a fun unicode rendering width issue. I suppose if I claim it's ASCII, I should just use ASCII. maybe I'll add an `--ascii` flag?

Claude Sonnet 4.6

https://www.anthropic.com/news/claude-sonnet-4-6
825•adocomplete•7h ago•720 comments

Thank HN: You helped save 33k lives

339•chaseadam17•8h ago•43 comments

BarraCUDA Open-source CUDA compiler targeting AMD GPUs

https://github.com/Zaneham/BarraCUDA
130•rurban•4h ago•46 comments

Show HN: AsteroidOS 2.0 – Nobody asked, we shipped anyway

https://asteroidos.org/news/2-0-release/index.html
258•moWerk•5h ago•31 comments

Rathbun's Operator

https://crabby-rathbun.github.io/mjrathbun-website/blog/posts/rathbuns-operator.html
24•bb88•42m ago•5 comments

Gentoo on Codeberg

https://www.gentoo.org/news/2026/02/16/codeberg.html
246•todsacerdoti•7h ago•75 comments

Using go fix to modernize Go code

https://go.dev/blog/gofix
268•todsacerdoti•8h ago•59 comments

I swear the UFO is coming any minute

https://www.experimental-history.com/p/i-swear-the-ufo-is-coming-any-minute
78•Ariarule•2h ago•15 comments

So you want to build a tunnel

https://practical.engineering/blog/2026/2/17/so-you-want-to-build-a-tunnel
156•crescit_eundo•8h ago•65 comments

Async/Await on the GPU

https://www.vectorware.com/blog/async-await-on-gpu/
148•Philpax•8h ago•44 comments

GrapheneOS – Break Free from Google and Apple

https://blog.tomaszdunia.pl/grapheneos-eng/
1052•to3k•15h ago•751 comments

Physicists Make Electrons Flow Like Water

https://www.quantamagazine.org/physicists-make-electrons-flow-like-water-20260211/
73•rbanffy•4d ago•8 comments

Show HN: Pg-typesafe – Strongly typed queries for PostgreSQL and TypeScript

https://github.com/n-e/pg-typesafe
38•n_e•6h ago•18 comments

Structured AI (YC F25) Is Hiring

https://www.ycombinator.com/companies/structured-ai/jobs/q3cx77y-gtm-intern
1•issygreenslade•4h ago

Show HN: I wrote a technical history book on Lisp

https://berksoft.ca/gol/
150•cdegroot•9h ago•51 comments

Assistant to the Regional Manager

https://smallpotatoes.paulbloom.net/p/assistant-to-the-regional-manager
50•NaOH•4d ago•16 comments

I converted 2D conventional flight tracking into 3D

https://aeris.edbn.me/?city=SFO
208•kewonit•10h ago•42 comments

HackMyClaw

https://hackmyclaw.com/
247•hentrep•8h ago•130 comments

Is Show HN dead? No, but it's drowning

https://www.arthurcnops.blog/death-of-show-hn/
388•acnops•14h ago•336 comments

'My Words Are Like an Uncontrollable Dog': On Life with Nonfluent Aphasia

https://thereader.mitpress.mit.edu/my-words-are-like-an-uncontrollable-dog-on-life-with-nonfluent...
15•anarbadalov•2h ago•1 comments

Show HN: Box of Rain - Auto-Layouted ASCII Diagrams

https://github.com/switz/box-of-rain
10•switz•3d ago•4 comments

Old School Telecine, circa 1980s (2017)

https://www.liftgammagain.com/forum/index.php?threads/old-school-telecine-circa-1980s.9984/
5•exvi•1d ago•2 comments

Contra "Grandmaster-level chess without search" (2024)

https://cosmo.tardis.ac/files/2024-02-13-searchless.html
27•luu•1d ago•0 comments

Discord Rival Gets Overwhelmed by Exodus of Players Fleeing Age-Verification

https://kotaku.com/discord-alternative-teamspeak-age-verification-check-rivals-2000669693
195•thunderbong•7h ago•96 comments

After 800 episodes, 'The Simpsons' creators look back and ahead

https://apnews.com/article/simpsons-800-episodes-72d723e6d885b1944c9a1ec8b9a24c3a
35•1659447091•2d ago•29 comments

Climbing Mount Fuji visualized through milestone stamps

https://fuji.halfof8.com/
52•gessha•7h ago•10 comments

Show HN: I taught LLMs to play Magic: The Gathering against each other

https://mage-bench.com/
90•GregorStocks•8h ago•73 comments

Launch HN: Sonarly (YC W26) – AI agent to triage and fix your production alerts

https://sonarly.com/
25•Dimittri•8h ago•9 comments

Show HN: 6cy – Experimental streaming archive format with per-block codecs

https://github.com/byte271/6cy
28•yihac1•8h ago•8 comments

Hamming Distance for Hybrid Search in SQLite

https://notnotp.com/notes/hamming-distance-for-hybrid-search-in-sqlite/
69•enz•2d ago•11 comments