Skip to content

Useful Teaching Tool -- Recording Terminal Sessions #53

Closed as not planned

Activity

  1. mmcky commented on Aug 7, 2026

    @mmcky
    ContributorAuthor

    Closing this, but recording it properly rather than dropping it — the idea was sound and the reason it never went anywhere is worth writing down.

    First, what is not true. asciinema is alive and well: v3.0.0, a full rewrite in Rust, shipped 2025-09-15, v3.2.1 followed in June 2026, and asciinema.org is still a free operating service. Both links in this issue still resolve, and so do all five of the casts the Hugo page was embedding when this was filed. This is not a dead-technology close.

    What changed is the exemplar, not the tool. The Hugo quick-start guide was cited here as the demo, and in January 2022 it embedded five casts. Hugo removed its asciicast shortcode entirely in November 2022 and now teaches every command-line step with plain static code fences. It reached the same conclusion we have.

    The reason it closes is that our terminal moments are one-shot, non-interactive commands with static output — pip install jupyterlab, jupyter-lab, conda update conda. For that shape a fenced code block wins on every axis we care about: smaller, copy-pasteable, greppable, readable by a screen reader, and it survives the PDF and downloadable-notebook builds that a JavaScript embed does not reach. Four and a half years with no comments and no adoption anywhere in the org is the other half of the answer.

    There is a real finding in here, though, and it is being carried forward rather than lost. lecture-python-programming/lectures/workspace.md has two sections headed "Using the terminal", and jupyter_lab_cmd.png is 1,399,850 bytes of raster screenshot whose entire content is a terminal printing the Jupyter server URL — with alt text that is just the filename. That lecture was created in December 2023, nearly two years after this issue was filed, so the need was growing rather than fading. Replacing those screenshots with fenced text is worth doing on its own merits and needs no recording tool at all.

    Where this now lives. This issue is the reason we are standing up a technology register at docs/tech in QuantEcon/lectures — see QuantEcon/lectures#6. It records, per technology, what it is, which named files it would apply to, and what was decided and when. A link on its own decays into nothing; the pairing is what makes it actionable. The asciinema entry is the first one written, and it carries the three application sites above, the reasoning, a revisit condition, and a note that if we do pick this up later the 2026 candidate to evaluate alongside is charmbracelet/vhs, which emits a committed artifact rather than a hosted one.

    Deliberately not converted to a Discussion — the three link-share buckets there hold one, zero and zero comments between them, so that would be strictly less visible than this issue has been.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions