I agree a few seem authentic but soon it just feels like a waste of time — and break in the flow of presentation.
If you need to add something because of an audience question you can just insert a new cell.
It looks live and in my opinion better than faffing in a terminal.
You also have the bonus of being able to provide the notebook to your audience after the talk (or they can follow along with you).
I swear I've said these exact words.
^C and <esc> do interrupt the playback and print 'Aborted!' to stdout.
>Might have to start incorporating intentional flubs into the script to make things authentic
Unfortunately, flubs give a bit away by showing the temp file that's being run:
$ datl
/tmp/tmpzygMVj: line 4: datl: command not found
I also tried inserting some ^H backspaces in the script. It almost looks like it will work (shows the backspace and correction), then spits out "/tmp/tmp2qhBos: line 4: $'datl\be': command not found"Also for cleanup, wrap this command in its own shell script; for example:
#!/bin/bash
rm -rf temp || true
doitlive session.sh
I have two primary concerns:
1) When you’re doing a live presentation, making the occasional mistake is not only expected, it helps prove that what you’re doing is really live. With a tool like this, everything might be TOO perfect. Might have to start incorporating intentional flubs into the script to make things authentic.
2) I haven’t tried this out yet, but I wonder what happens when something goes wrong. I’ve had too many live situations impacted by some unforeseen thing. Forgot to clean up the working directory last time I ran the demo, or who knows what. I’d want to have the ability to take over the controls if needed.
And of course, the antidote to #2 is having very carefully planned repeatable steps with a “cleanup” at the beginning or end to prep for the next time around.
All said, very cool, and I’ll be trying this soon.
Edit: Downvotes, really?