You are viewing archived messages.
Go here to search the history.

Patrick Dubroy 2025-03-27 16:31:09

Hello! Thought some people here might be interested in my most recent blog post — Reflections on writing a book. It's about some of the things Mariano Guerra and I learned in over the 2.5 year it took us to write our book (💬 #share-your-work@2025-03-10)

[March 10th, 2025 6:13 AM] mariano: After two and a half years of work with <@U01DWJSAF2B>, we are happy to announce the release of <https://wasmgroundup.com/|WebAssembly from the Ground Up>, a book that teaches you about WebAssembly 1.0 by building a simple compiler in JavaScript with https://ohmjs.org/|Ohm/JS.

Here’s a 25% discount code you can use: FOCWASM25

We decided to do a “digital first” book to take advantage of interactivity and “explorable explanations”, and learned a couple of things along the way.

We also decided that all the code should be in the book and that it should run if you copy and paste the snippets as you read.

To achieve this we had to create most of the tooling around the book ourselves:

• The server that handles authentication and access to the book • The script that extracts the snippets from the original source code and generates: ◦ The snippets you can copy to clipboard. ◦ The “Copy up to here” code segments. ◦ The checkpoints and chapter modules in the code repo, accessible through stackblitz. ◦ The emit library, a standalone library to emit WebAssembly 1.0 binary modules. • The early access feedback system using embedded https://hypothes.is/ • PDF generation (puppeteer, pdftk, imagemagick, poppler). • A tool to generate code snippet ranges for “highlight on text hover”. We plan on writing about some of our takeaways in the coming weeks, but that will have to wait. :sweat_smile:

Let us know if you have any questions!

Kartik Agaram 2025-03-27 17:47:26

Rivulet

I don't even.. just check this out.

Ivan Reese 2025-03-27 17:52:05

Ah, it's by Daniel Temkin, author of Esoteric.codes. Makes sense.

Eli Mellen 2025-03-27 18:46:08

Came here to share specifically with Ivan Reese and to ask when can this be incorporated into ink?

Ivan Reese 2025-03-27 18:49:21

I don't know anything about ink. I only think with sand now.

Eli Mellen 2025-03-27 19:08:33

I’m so behind the times

Tak Tran 2025-03-30 21:05:43

Pas a Pas: A tangible interface for making stop motion animation

Kartik Agaram 2025-03-30 21:17:43

I only recently learned about onion skinning at a children's museum. And now this video has taught me it's called "onion skinning" ❤

Joshua Horowitz 2025-03-31 04:49:31

I wonder if the right optics could direct a tablet’s camera to look at its own screen, so this could be done with a minimum of purpose-specific hardware. (Purpose-specific hardware is also cool, but I wonder.)

Tak Tran 2025-03-30 21:05:43

Pas a Pas: A tangible interface for making stop motion animation

Kartik Agaram 2025-03-30 21:17:43

I only recently learned about onion skinning at a children's museum. And now this video has taught me it's called "onion skinning" ❤

Joshua Horowitz 2025-03-31 04:49:31

I wonder if the right optics could direct a tablet’s camera to look at its own screen, so this could be done with a minimum of purpose-specific hardware. (Purpose-specific hardware is also cool, but I wonder.)