Text
Agents write quizzes, cards and flows straight into the notebook you already opened. Real blocks, not a scrape.
Connect Claude, ChatGPT, Cursor, or another MCP client. They write quizzes, cards and diagrams into the same notebook you open to study. Native blocks, cue-linked, yours to revoke.
Concurrency in Go
Text
Agents write quizzes, cards and flows straight into the notebook you already opened. Real blocks, not a scrape.
Heading0:00
Concurrency in Go: goroutines, channels, selects
Quote58:30
“Do not communicate by sharing memory; instead, share memory by communicating.”
Callout12:04
Errors are values. Return them. Do not throw them.
Formula
select { case msg := <-ch: return msg; default: return err }
Code runner
for msg := range ch { handle(msg) }
Image
worker-pool.png, a source image block
Definition3:12
Receiver: the value a method is attached to, named before the method.
Steps0:54
1. go mod init · 2. write main.go · 3. go run .
Compare
Buffered: send blocks only when full. Unbuffered: send always waits.
Flashcards43:55
Q: When does a buffered send block? A: When the buffer is full.
Quiz47:20
What does select do when no case is ready? → It blocks, unless default.
Flow diagram26:40
main → spawn workers → fan-in results → close
Mind map
concurrency: goroutines · channels · select
Timeline
09:00 setup · 09:12 first goroutine · 09:26 selects
Architecture
client → api → service → repo
Table
kind | cue | tool cards | 43:55 | study.create_flashcards
Sketch
Hand-drawn sketch of a worker pool
Interactive
Run this example inside the note. Sandboxed, yours.
index
learning_path
simulation
learning
Connect Claude, ChatGPT, Cursor, or another MCP client with one scoped token. It uses the same tools the workspace uses.
Quizzes, cards, flows, callouts. The agent writes the same NoteScript the editor compiles, not a dump of HTML.
Open the notebook. Cards are already in review. Every block still knows the second it came from, and which tool wrote it.
Six cutting-mat pigments, one per subject. Hover the stack and the colour follows its notebook everywhere: tabs, headers, and every card an agent sends to review.
23 native types. Press /, or let the agent pick. Hover the belt to slow it down.
Turn a concept into a short narrated lesson. An agent writes the scenes in NoteScript; NotesKit times the visuals to the words and keeps captions and transcript close by.
Mark a definition, get a card. Four grades, keyboard only, and every card carries the cue and the tool that taught it.
One scoped token. The agent gets the workspace tools (create, append, quiz, flow, revise) and every edit lands in history with the tool that made it. No scraping. Revoke in a click.
notescript.agent_guide()
notes.create(notebook: "Systems")
notes.append_notescript(type: "flashcards", cue: "43:55")
study.create_quiz(limit: 6)Every agent edit lands in the note's history with the tool that made it.
Start with one desk. Connect Claude, ChatGPT, Cursor, or another MCP client when you want it to write.