Fork me on GitHub
#conjure
<
2020-06-23
>
Olical08:06:37

Working on adding the relative path resolving in the next update too, something I had in the JVM version. So if you do ,ef inside a docker container that shares a different root path like /opt/xyz/src... and your local source you're working on is /home/me/repos/xyz/src... then it'll resolve the file path to be relative to the common ancestor, xyz/.... This will also be used in "go to file" so you should be able to hop around even if the path CIDER is handing back is absolute in a different file system. This will apply across every language, not just Clojure, it'll be generic 😄

Olical08:06:23

This technique will also be used in my experiment with Janet (and scheme languages I think) to auto require your current file as you enter it.

Olical08:06:02

So develop has a bunch of small bug fixes as well as an entirely different config system right now. It's stable but testing before I release will be much appreciated 😄 I salute you, intrepid develop branch users.

Olical08:06:56

Also need to make go to def fall through to nvim's built in text based search. These are things I've discovered working on projects at my new job where I don't have up to date nREPL / CIDER etc, so I'm finding and fixing edge cases 😄

dominicm09:06:25

Side rant: it's very annoying when a project includes cider. It's like, no, one developer needed it, not everyone. That's their choice, don't make it for everyone.

Olical09:06:02

True, unless it’s on a specific profile and is to give all nREPL users a level playing field with a make repl command or something. I do that on my personal projects so others can start up the dev env and don’t have to rely on jack in. Although now I’ve found your wonderful vim-jack-in… maybe I’ll just start removing those opinions…

Olical09:06:57

The projects here are years old and are merges of projects at runtime using a custom system, so nREPL is stuck at 0.2 or something and cider is basically not there + can’t be required due to dep conflicts. I’m working with someone at the moment to clean it all up and bump everything to latest though 😄

dominicm10:06:06

Oh god, abort on conflict is amongst the most annoying features.

dominicm10:06:13

I know I'm conflicting, I mean to, just leave me to it!

dominicm10:06:26

deps.edn is far more elegant here: you get the latest version and that's that!

Olical10:06:47

Yeah, this project was pre deps.edn but needed lots of local in repo requires of modules (kinda mono-repo-esc but not quite), so the solution is solving a similar problem to what deps would provide. Maybe one day we’ll swap to it 🙂 For now I’m getting Clojure <1.8 flow through to runtime and I have no idea where it comes from so CIDER won’t load.

Olical10:06:05

A problem for a timeboxed attack I think

dominicm10:06:24

You learn a lot from these things. Then you get grumpy like me.

Olical11:06:45

Hah, I’ve been grumpy for a while, that’s why I went 100% Clojure in the first place 😄

Aron12:06:44

You hide it well.

Olical20:06:53

Hah, you should see me when I'm forced to touch JavaScript.

Aron21:06:10

I like js, especially ES5, but now the class keyword and typescript took over everything almost. I just watched a talk by the creator of TS, Hejlsberg, and he said it's only for development time. So I feel completely justified for making the move 2 months ago to clojurescript from js

Aron21:06:21

vindicated? i never know

Olical21:06:22

Conjure has a mascot + logo 😄 🎉

🎉 36
Olical21:06:38

The artist named her Lillian and it's as good as any.

dave22:06:17

nice! 👍 for cultural diversity

🎉 9
dave22:06:33

and it looks great