Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sickill
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
sickill
5y ago
It does try to launch the same shell as your current one by looking at SHELL env variable, and only falls back to sh if it's not there. See: https://github.com/asciinema/asciinema/blob/9ccf4efd4d3babc4...
32.
▲
by
sickill
5y ago
Feel free to report a bug here https://github.com/asciinema/asciinema-player/issues/new (including browser version, OS would help a lot). Btw, it's not a product, just a side, hobby project of mine.
33.
▲
by
sickill
5y ago
Spot on.
34.
▲
by
sickill
5y ago
Thanks Ryan! And thanks again for your work on Solid.js.
35.
▲
by
sickill
5y ago
> The speedup is not a result of abandoning clojurescript, it's from moving from immutable data structures to mutable arrays and primitives. The same can be done in clojurescript or javascript. More or less, yes. The majority of the
36.
▲
by
sickill
5y ago
That's not how asciinema-player works though. The player internally represents the terminal buffer as a grid of characters. So for 80x24 terminal you have 80*24=1920 grid cells, each keeping a unicode char + color attrs. When rendering
37.
▲
by
sickill
5y ago
The player has other UI parts, mainly the control bar with current time, progress/seek bar, full-screen toggle etc. Of course it could be built with plain JS but a small library like Solid.js does the job well. The terminal lines with
38.
▲
by
sickill
5y ago
Before attempting JS/Rust rewrite I tried using transients [0]. I converted small part of the vt code to use mutable data structures to see if it's giving any improvements. It barely did, the difference was negligible. I believe i
39.
▲
by
sickill
5y ago
> no third party websites FYI you're not forced to use asciinema.org for hosting the recordings, it's fully self-hosting friendly: https://github.com/asciinema/asciinema-player/#quick-start
40.
▲
by
sickill
5y ago
Yup. No more React.js conflict. That was caused by the way how ClojureScript bundle has been built (reagent's copy of React added to the bundle's global/window namespace). Also, the dependency on Solid.js is unlikely to cause
41.
▲
by
sickill
7y ago
The JVM part is not in practical use, but it was just to easy to use cljc to not do it this way
42.
▲
by
sickill
8y ago
Haha, yeah, you're not the first one: https://github.com/asciinema/asciinema/issues/279
43.
▲
by
sickill
8y ago
Yes but script command on *BSD and macOS doesn't support this. Long long time ago asciinema was wrapping script then doing upload. But it work only on Linux and I wanted it to work for users of other Unix-like systems so here we are.
44.
▲
by
sickill
8y ago
Yup. There's project called svg-term-cli which generates animated SVG from asciicast file.
45.
▲
by
sickill
8y ago
asciinema dev here. Where did you get impression it's proprietary? I'm really curious because it's fully open-source, with all components open-source and usable independently, and there's no company or business model beh
46.
▲
by
sickill
9y ago
Oh, that's a bummer. I'll fix that!
47.
▲
by
sickill
9y ago
There's no native support for Windows due to completely different way of terminal is implemented in Windows and Unix-like systems. But there are some options to have it working, see this thread: https://github.com/ascii
48.
▲
by
sickill
9y ago
Yes, this is read-only. I believe it's a nice example of how you can combine different unix tools together to achieve interesting result. It's not a scalable, reliable streaming solution. But we'll get there :) For collaborat
49.
▲
by
sickill
9y ago
Thanks! I'm glad it's useful to you!
50.
▲
by
sickill
9y ago
You can use https://github.com/asciinema/asciicast2gif to turn asciicast into GIF animation.
51.
▲
by
sickill
9y ago
script was main inspiration for asciinema. I read its source code many times, and in the very first version it was used for recording. However on BSD based systems (and so on macOS) the shipped version of script doesn't support writing
52.
▲
by
sickill
9y ago
I'm here :) I'm very happy asciinema is useful to you!
53.
▲
by
sickill
10y ago
I updated the blog post with motivations for moving from Python to Go in the first place.
54.
▲
by
sickill
10y ago
Yup. People asked me to write this post as they were genuinely curious. I also think it adds something to our collective knowledge.
55.
▲
by
sickill
10y ago
We did. But you see, theoretical analysis doesn't always produce accurate result and you won't learn about practical issues until you get your feet wet. Also, like I said in the post, it turned out to be not great choice for combi
56.
▲
by
sickill
10y ago
99% of asciinema users don't care about Go, Python, static binaries and other details like this. They're happy they can 'brew install asciinema' or 'sudo yum install asciinema' and just use the tool. You'r
57.
▲
by
sickill
11y ago
Pronunciation and etymology: https://twitter.com/asciinema/status/612898969073635328
58.
▲
by
sickill
11y ago
Yeah, see here: https://news.ycombinator.com/item?id=9755166
59.
▲
by
sickill
11y ago
This is something I have been fighting with in my head for quite a while. "Piping shit into sh" is not really great way to do it, I fully agree. Let me describe you the situation. At the moment there are native packages for Ubuntu
60.
▲
by
sickill
11y ago
See here: https://news.ycombinator.com/item?id=9754681
More ›