New blog post introducing string diagrams: this is a visual language that we can use to talk about many different kinds of type systems.
Then I use them to show how a monad really *is* a monoid in a category of endofunctors.
https://t.co/Vn4WlV79GV
@terminaltrove@ratatui_rs It can also be used as a Markdown reader (`c` - open ToC, `z` - Zen mode).
Just pipe any Markdown output into it
(re-upload, sound removed)
upmd is a TUI that makes Markdown docs runnable in your terminal.
You can run markdown code blocks as tasks, chain them into workflows, keep output beside the docs, run them in a CI and more.
@rezigned made upmd using @ratatui_rs & is Terminal Tool of the Week! โญ๏ธ
Found a task runner that changes everything!
๐ upmd โ Turn Markdown code blocks into runnable tasks and dependency-aware workflows
๐ฏ Keep instructions, commands, dependencies, and live terminal output together in the same document
๐ฆ Written in Rust & built with @ratatui_rs
โญ GitHub: https://t.co/D0KounQHmt
#rustlang #ratatui #tui #markdown #devtools #cli #opensource
Announcing today rio-vt and librio: Rio's terminal engine, now embeddable.
โข rio-vt ~ a rust crate, the VT parser, grid, scrollback, selection, search, PTY and Sixel/Kitty/iTerm2 images.
โข librio: ~ the same core as a C ABI for Swift & C, on macOS, Linux & Windows.
@raphamorim Wow, good timing, and that's great news! I'm tired of the current Rust's go-to VT parser crate's issues, plus I don't want to pay the FFI cost for libghostty for my little project.
Time to explore `rio-vt` ๐
https://t.co/VFBbXD1YHZ
Since the @bunjavascript folks recently wrote about their experience moving from Zig to Rust, it seemed like a good time to write about our experience rewriting @roc_lang from Rust to Zig!
https://t.co/JkPboqnGTn
I've tried many tiling window managers on macOS, and by far, OmniWM is the most feature-complete and responsive.
It also fixes the floating window issue in other managers that stopped me from using them.
https://t.co/4iwp0Qutyy
Introducing MorphoHDL, a minimal language prototype for growing boolean circuits! https://t.co/BAVKXKkXes
Early this year I wanted to design a size-agnostic graph rewrite rule system that could build functional boolean circuits. First I thought about "chemistry"-like reactive systems, but rules were too complicated with many different node types carrying multiple indices...
Then I realized, that cell division is much more natural way of building complex structures, and once I started to treat graph edges as buses instead of single wires, everything clicked. No new formalism โ just taking good old recursion and seeing how far I can push it. Ripple-carry adder, BrentโKung adder, multipliers ... and some Haeckel-esque creatures along the way! Hope you enjoy the report of my journey and the demos.