chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
2021-04-06T02:49:18.057500Z

Sean, so you always start a repl from the command line and manually input the generated port number in VSCode? I’m just wondering if there’s a way to connect the editor automatically – I actually use Emacs, but I guess the problem is the same.

seancorfield 2021-04-06T02:50:35.057700Z

I always start the REPL from the command-line -- because my REPLs are very long-lived.

seancorfield 2021-04-06T02:50:53.057900Z

Whereas I have to restart VS Code more often 🙂

seancorfield 2021-04-06T02:51:24.058100Z

The REPL I've been using to work on HoneySQL V1 has been running since January 31st!

2021-04-06T02:53:08.058300Z

Oh, okay. Now it makes sense that your setup is able to add libs dynamically etc (saw your talk). Yeah, for that use case I guess the pain of connecting to a repl is minimal 🙂

seancorfield 2021-04-06T02:54:41.058500Z

My main work REPL has been running since March 24th (I just ssh'd into my desktop from my laptop, then used telnet to connect to the work REPL, and ran (dev/up-since) which is part of my dot-clojure setup (a function in my dev.clj file).

seancorfield 2021-04-06T02:56:26.058700Z

I have four REPLs running on my desktop I think.

2021-04-06T03:01:50.058900Z

Got it. I deal with micro-services so I have to start multiple repls very often. I don’t want to keep the repls alive because they eat a considerable amount of memory - for example, I just started a nrepl for one micro-service and it’s taking 1,5gb of ram (while I’m doing nothing). To be honest, I’m surprised with this – never had realised that before testing this now

2021-04-06T03:02:01.059100Z

(oh, there’s an integration project that uses deps.edn and load multiple services libraries and knows how to wire them together so that you’re able to use the test components for integration tests that involves multiple services - that’s the project the resembles a monorepl the most, but still, it’s another beast.)

seancorfield 2021-04-06T03:05:24.059300Z

That's what we do at work: a single REPL with our entire codebase accessible -- 40+ subprojects making up about 14 services.

seancorfield 2021-04-06T03:07:05.059500Z

I talk a bit about our structure here https://corfield.org/blog/2021/02/23/deps-edn-monorepo/ There's also Polylith, which also works around a single dev REPL with the entire codebase available but everything organized in a modular way @andre.peric

2021-04-06T03:08:34.059800Z

:nice: , will have a look at it.