unrepl

discussing specification of an edn-based repl and its implementations.
bozhidar 2018-01-31T08:57:47.000056Z

We’ve got some code for dealing with ssh tunneling in CIDER - I guess you can take a look at it.

bozhidar 2018-01-31T08:59:23.000102Z

It’s just for cider-jack-in and it relies on tramp - something similar can be done with connect I guess, although it’s a bit odd to me to be doing ssh tunnelling unless you’re already editing the remote source files.

👍 1
volrath 2018-02-01T18:39:34.000360Z

this is really cool, I'll check it out!

bozhidar 2018-01-31T08:59:32.000219Z

But I can see your point.

j0ni 2018-01-31T19:54:47.000006Z

fwiw, a use case that I value is when I have an instance of an application running in a cloud environment, in an integration context which is difficult to replicate locally, maybe even as one trial balloon in production. In that case, tunneling in to connect to a repl port from emacs is super useful, though with cider I have to jump through hoops to get code navigation working. The ability to tweak, evaluate the tweak and test it live is awesome, even if it's despised by ops people often.

j0ni 2018-01-31T19:55:03.000333Z

anyway, that's an example of tunneling without remote editing

j0ni 2018-01-31T19:58:34.000447Z

(otoh, I would generally rather create the tunnel myself and connect to a forwarded port)

cgrand 2018-01-31T20:01:08.000561Z

Why?

j0ni 2018-01-31T20:15:43.000319Z

dunno really... I like exposed plumbing

j0ni 2018-01-31T20:15:53.000161Z

I find it easier to reason about

j0ni 2018-01-31T20:17:39.000717Z

I mean, that's kind of the attraction to emacs too... I think it's probably irrational.