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
seancorfield 2020-10-07T00:00:07.021500Z

Or maybe you'll need to use some other local JAR installer... I can't remember. I'm no longer using Powershell for any development. I switched to WSL2 so I could just rely on brew or the Linux scripts.

seancorfield 2020-10-07T00:01:02.021800Z

Yeah, the install script just runs mvn -q org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install-file -Dfile=rebl-0.9.242/rebl-0.9.242.jar

seancorfield 2020-10-07T00:03:02.022400Z

Ah, looks like deps-deploy might need a pom.xml file... let me try that...

seancorfield 2020-10-07T00:05:01.022900Z

Yeah, you'd need a pom.xml file to use deps-deploy to install it locally.

seancorfield 2020-10-07T00:06:10.023400Z

Let's see what else you asked in that long message @flyingpython...

seancorfield 2020-10-07T00:09:10.026200Z

I would say don't bother using :socket-rebl if you weren't already using it. It's intended for a different use case than Chlorine.

Rowan Barnard 2020-10-07T00:09:38.026900Z

Ah sorry about the long message, I find brevity to be difficult when I'm trying to be specific in my explanation 😅

seancorfield 2020-10-07T00:09:38.027Z

(I have used it with an Emacs inferior mode successfully)

Rowan Barnard 2020-10-07T00:11:06.028400Z

Normally before I was running :rebl-11-win and :socket options on your old deps file to run a socket repl and have it submit to REBL and the socket repl

Rowan Barnard 2020-10-07T00:11:34.029300Z

So I just want to replicate that setup again using the new deps file if possible

seancorfield 2020-10-07T00:11:58.029800Z

Right, so the only change for you is to use :rebl instead of :rebl-11-win -- after installing the latest REBL locally.

Rowan Barnard 2020-10-07T00:12:22.030300Z

OK so it is just that I need REBL on the classpath now?

seancorfield 2020-10-07T00:13:11.031700Z

"it spits out some messages saying some things are deprecated" -- I don't think that has any bearing on the dot-clojure deps.edn file. It's purely about how you invoke the aliases. So you could just go back to the version of the deps.edn that was already working for you.

Rowan Barnard 2020-10-07T00:13:13.031800Z

I ran the rebl option but it is looking in maven repo for it and not finding it

seancorfield 2020-10-07T00:13:51.032300Z

Just go back to the version of deps.edn you had before.

seancorfield 2020-10-07T00:14:29.033400Z

You're creating a lot of work for yourself at this point since there's a lot about the ecosystem I think you're not familiar with.

Rowan Barnard 2020-10-07T00:15:49.035200Z

Yes I am pretty unfamiliar with a lot of how Java and classpaths and Clojure ecosystem are working, I will keep using the old deps file, thanks very much for your advice and input 😉

seancorfield 2020-10-07T00:15:58.035500Z

All you needed to do after updating the CLI was to start using -M instead of -A in the clj command.

Rowan Barnard 2020-10-07T00:16:16.035800Z

Ah OK thank you very much! 🙂

seancorfield 2020-10-07T00:17:44.037Z

At some point, you will definitely need to become more familiar with the Java ecosystem and classpaths and stuff like that. You can't avoid it forever 🙂 You may also have to give in and start using WSL2 instead of Powershell.

Rowan Barnard 2020-10-07T00:18:02.037400Z

Yes I know I want to learn it!

Rowan Barnard 2020-10-07T00:18:24.037900Z

But some of the stuff I looked up for it seemed a bit scary and went a bit over my head

Rowan Barnard 2020-10-07T00:19:53.039100Z

Yeah I think WSL2 might be a good choice a lot of the stuff in Clojure community seems written more for Linux than Windows - or programming community in general for that matter

seancorfield 2020-10-07T00:48:53.040100Z

Yeah, I rebuilt my ancient Win10 laptop (which had WSL1 on it) to use WSL2 and installed Xlaunch which is a free Windows app that provide an X Windows server so you can run X11 apps on WSL2.

seancorfield 2020-10-07T00:49:32.040900Z

That's how I'm running my dev env now: atom on Linux and REBL or Reveal on Linux, so they run their UI via Xlaunch.

seancorfield 2020-10-07T00:50:15.041700Z

(then I bought a Surface Laptop 3 and set it up with WSL2 and I'm loving that as a dev env -- Microsoft had a sale on certain colors of Surface Laptop 3 🙂 )

seancorfield 2020-10-07T00:52:38.042900Z

Windows has always been very much a "second class citizen" in the Clojure world. Having a Powershell script for Clojure CLI is a "big deal" but of course it's still alpha and it's a bit of a pain to install because of the security stuff.

Rowan Barnard 2020-10-07T00:55:34.044200Z

Cool, I'll look into this kind of WSL setup but keep using my current setup for now; as it's working 😁

seancorfield 2020-10-07T00:56:56.045Z

And next time you get unexpected warnings after updating something, perhaps ask about them before trying to update everything else in your dev env to "fix" them 🙂

Rowan Barnard 2020-10-07T01:06:35.052100Z

😂 Ah yeah good idea! Actually now the messages aren't appearing any more, after updating Clojure with scoop I tried running with your new deps file but couldn't get REBL to run so I switched back to the old deps file and then got the messages (it still ran OK though) but now today when I run it again the messages are gone - I can only think maybe there was some difference from running the 2 deps files that got cached and caused the messages and now today that is clear or something like that or maybe my imagination is just running wild, I am using the -A option still and not the -M option yet so it is not that

seancorfield 2020-10-07T01:45:14.053100Z

Oh, probably caching based on the aliases -- so clj doesn't need to re-run that part.

seancorfield 2020-10-07T01:45:42.053800Z

You can always use -Sforce (as the first argument to clj) to get it to rebuild the cache for that particular set of aliases.

seancorfield 2020-10-07T01:46:08.054200Z

(so, yes, "some difference ... got cached" essentially)

seancorfield 2020-10-07T01:46:33.054500Z

But, yeah, switch to -M and you'll be happy 🙂

seancorfield 2020-10-07T01:47:25.055400Z

Coming soon in my deps.edn file, I'll probably add support for -X on the tools that provide that. I've already started to add it to depstar and clj-new...

Rowan Barnard 2020-10-07T02:05:15.055900Z

Ah OK thanks for the explanation Sean 🙂