Fork me on GitHub
#conjure
<
2020-08-13
>
dharrigan07:08:24

What does the (no env) mean in the hud when connecting to a repl?

Olical08:08:47

That means the REPL doesn't know which language we're in when I asked it via reader conditionals, so I send #?(:clj :clj :cljs :cljs...) and then use that information to display what kind of REPL it is.

Olical08:08:03

Sometimes that's nil or errors which usually means the nREPL is a little non-standard.

Olical08:08:19

I need to print an explanation / link to an FAQ when it pops up really, no easy way to explain it in one word :thinking_face:

Olical08:08:30

Added a small section here https://github.com/Olical/conjure/wiki/Frequently-asked-questions#what-does-no-env-mean-in-the-log-when-connecting-to-a-clojure-nrepl but nobody will ever find it, so I might link to it when it shows up in the session list

Olical09:08:13

That being said, what is your setup? How're you getting that? It's basically just Conjure shrugging at the response from a fairly simple question and usually means reader conditionals aren't allowed or the REPL language isn't set. Both are bad.

Olical09:08:25

I feel like I saw this in bb but I'm not sure...

dharrigan10:08:22

a fairly standard setup. a repl and neovim and conjure

Olical10:08:34

Huh... very odd

Olical10:08:38

nREPL 0.8?

dharrigan10:08:55

I do have some middleware injected

dharrigan10:08:04

happy to share that with you to see if that is confusing the situation?

Olical10:08:18

Absolutely no idea 😅 but yeah, if you can dump some info on this it'd be really useful, even if it's in a GitHub issue. It shouldn't be happening. So something is wrong, even though what I'm doing is super simple (like most things in Conjure! I try to keep things simple so they have less to go wrong)

dharrigan10:08:05

okay. I'll make a note and get to it eventually. just tied up atm with having FTTP installed atm.

Olical10:08:47

No problem! And no worries if you never get around to it, I hope it's something small and not scary 🙂

bendy07:08:20

Is there a way to evaluate top/root level forms within a comment block?

bendy07:08:10

(comment
  (+ 1 (+ 1 |1)))
i.e. running (+ 1 (+ 1 1)) where | is your cursor location

dharrigan08:08:22

yes, this was discussed very recently

bendy08:08:29

doh, should have searched first

Olical08:08:53

No problem! And thank you @U11EL3P9U for explaining! It's on my todo list, but it's long and constantly shuffled around + I'm away on holiday next week. I think it's a really good general feature so I'll try to get it in soon!

dharrigan08:08:54

np, you're welcome 🙂

Olical09:08:42

What do people think about me removing the "this session is sponsored by X" from the Clojure client and instead adding a single short line to the top of every clients first line of output :thinking_face: I want to show some recognition for people who sponsor me but I feel like doing it in the Clojure client will be too narrow in the long term, what about Janet/CL/Racket users! It'll be pushed off screen pretty quick so it should never get in the way, it'll just be a little thanks to the people who are helping make the amount of work sustainable into the future. (will repost to https://conjure.fun/discord too)

dharrigan10:08:06

I think a simple line saying "Thanks to all my sponsors" with a link to the github page with the list there.

👍 3
dharrigan10:08:11

that would be okay?

dharrigan10:08:18

(words to that effect anyway)

dharrigan10:08:33

Thanks to all my super doopar awesome-o 9000 sponsors

dharrigan10:08:53

no need to keep the sponsorship just to clojure devs 🙂

Olical10:08:27

Oh I was gonna pick someone at random every time from the sponsor list to say thanks to 😅

dharrigan10:08:40

that works too

Olical10:08:41

So like how the current one says "this session is sponsored by this wonderful person"

Olical10:08:03

But idk, I have a week on a narrow boat with my family floating around the Norfolk Broads to contemplate Conjure things (this coming week)

dharrigan10:08:25

yes, do some hammocking 🙂

Olical10:08:36

HMS Hammock

mamapitufo12:08:46

that sounds lovely :)

mamapitufo12:08:02

I don't know if everybody would be okay with being mentioned like that? I guess you can be an anonymous sponsor, but sometimes those UIs are confusing. I wouldn't mind in this case, but I've been surprised by my name in the main page after giving to a fundraiser, and not expecting the mention.

Olical12:08:51

Good point!