membrane-term

lread 2021-11-30T21:15:59.150500Z

Heya @smith.adriane, thought I’d look at updating those docstrings. Which led me to want to see what my docstrings looked like in cljdoc. But there’s a thing or two preventing me from doing a cljdoc local preview. One thing is that we are referencing your fork of https://github.com/phronmophobic/vt via git deps. Do you think you’ll publish this to Clojars? Also… curious… are the cljs portions of vt relevant to your fork?

phronmophobic 2021-11-30T21:17:14.151100Z

Oh, I can push a jar to clojars sometime today. It's not much work, so happy to just take care of it if it's blocking something.

phronmophobic 2021-11-30T21:17:41.151600Z

The cljs portions don't really seem useful right now. Why do you ask?

lread 2021-11-30T21:20:18.154300Z

Was just locally hacking around vt fork not being on clojars yet. And my current cljdoc error relates to cljdoc failing to eval cljs. Might not be a problem. But if cljs in vt was definitely extra cruft, was going to suggest we turf it, to avoid any extra complexity.

phronmophobic 2021-11-30T23:17:55.162400Z

I wonder if this is causing the cljs issue? https://github.com/phronmophobic/membrane.term/blob/main/deps.edn#L17

lread 2021-12-01T04:18:00.164700Z

I'll give it a retry tomorrow and letcha know if I hit any stumpers.

👍 1
lread 2021-12-01T15:47:30.165Z

Can do local previews with cljdoc now, tx!

lread 2021-11-30T21:21:18.155300Z

I guess you’ll need that vt fork up on clojars eventually anyway to be able to deploy membrane.term to clojars, yeah?

lread 2021-11-30T21:21:57.156Z

I’m in no real hurry for any of this, just toodling about.

phronmophobic 2021-11-30T21:22:22.156500Z

yea, might as well

lread 2021-11-30T21:24:22.157200Z

Oh and given https://blog.asciinema.org/post/smaller-faster/, we should probably reimplement everything in Rust. simple_smile

🤣 1
phronmophobic 2021-11-30T21:26:29.158300Z

I saw that. seems weird to me. It seems like the problem he's trying to solve is replay terminal sequences, increase performance, reduce payload, and avoid dependency conflicts

phronmophobic 2021-11-30T21:27:22.159300Z

the way I would do that is use vt on the server side to produce a state machine that minimally does the work of transitioning between frames.

phronmophobic 2021-11-30T21:27:55.160Z

and just send that minified js file that does just that

phronmophobic 2021-11-30T21:28:11.160400Z

rather than sending a full terminal emulator

phronmophobic 2021-11-30T21:28:31.160700Z

and rewriting everything in rust

lread 2021-11-30T21:35:20.161500Z

Yeah, well… he’s not got your brain in his head. simple_smile

phronmophobic 2021-11-30T21:55:13.161700Z

very true

phronmophobic 2021-11-30T21:56:12.162300Z

he did have some cool demo terminal programs that would be interesting to try