Live data from Hacker News

Asciinema

asciinema.org

81–90 of 95 posts

Re: Asciinema

#82

Earlier quoted context omitted.

If you are doing a terminal video, I'm pretty sure you are smart enough to break down that pipe and first download, and then run it.

So why not make that the way the instructions tell you to do it?

Because as other commenters have said, anyone interested in doing that will do it anyways.

Re: Asciinema

#84
post #29

Earlier quoted context omitted.

piping random shit into sh is wrong because domains go away, yet installation instructions might be repeated in countless other tutorials. easy to snap up domains and host malware. and SSL has nothing to do with it. packages are not cryptographically signed either and once on the system can easily become root.

Once you've installed it you've given local privileges (or even root) to the app, so you're hosed anyway.

It's pretty rare for an app to need root privileges. You typically need root to write to the system dirs (/usr/* /bin etc). And in this particular case, the app has access (by design) to your terminal, so yeah, you need to trust the app a bit. But why would you need to demand all users of your system (even if that's just system users) also trust it?

Put it in ~/opt with xstow, and add ~/opt/bin to your path, ~/opt/man to your man-path, ~/opt/include, ~/opt/lib... to the various paths.

In this case, it seems like a lot of effort to get a tgz-archive just to download a single executable. I gather it's distributed as an archive in order for the Changelog, Readme and License to be available -- but as it's all downloaded from github anyway, it's hard to see why that really matters (rather than just have -h spit out a link or two).

As, if you're using a normal, full-featured web browser, there's no way of knowing if what you select, is what you copy and then paste -- it would probably be better to just link directly to the latest binary release for the various platforms (linux32, linux64, linux-arm, OSX 32bit, OSX 64bit) -- and let the user save the binary somewhere.

Limit the "command line instructions" to:

  go get github.com/asciinema/asciinema
rather than fighting idiomatic go practices.

If you really want to be clever, why not just use 0install?

http://0install.net/

Re: Asciinema

#86

It's be great to have a polished product like this but for programming sessions in a text editor like Sublime.

Just curious, what benefit would this have over something like git? Just to show your programming process?

some people like to watch a screencast video instead of reading through documentation. It's not a bad way to get introduced to a new language or framework, for example.

Re: Asciinema

#87
post #80
post #50

ttyrec is a tiny terminal utility that does this on your terminal. It was released in 2000, it's one of those nice little gems one is glad to discover. It records and playbacks terminal sessions. The recorded files are in kb's. [1] It's simple to use. 'ttyrec filename' starts recording, ctrl-c to stop recording. 'ttyplay filename' to playback. Of course with asciinema.org, you get the benefit of an html player for th…

You know this calls for a ttyrec html player...!

I’ve spent the last week producing just that, and I’m just applying final polish before publishing it. It’s a drop-in replacement for .

Re: Asciinema

#90
post #12

Earlier quoted context omitted.

Me too. Is this a sort of allusion to something?

It's supposed to read as a portmanteau of "ASCII" and "cinema", but yeah, I can see the misreading.

Pronunciation and etymology: https://twitter.com/asciinema/status/612898969073635328
Post reply on HN