Fork me on GitHub
#conjure
<
2020-05-18
>
Olical10:05:57

It's a good point, I'll add a warning. And it's not so much a new mapping, just that I merged the functionality together with an existing one

Olical10:05:05

I think having one place to see all things sessions is less confusing

Olical10:05:23

Warning mapping added to develop for st

Olical10:05:34

It reads your config to tell you what to press for session list too

Olical10:05:04

I may rework config soon to turn it into a plain Vim dict that you can set before or after Conjure loads 😬

Olical11:05:49

; --------------------------------------------------------------------------------
; Sessions (2):
; >1 - Cane Corso (Clojure)
;  2 - Standard Schnauzer (ClojureScript)
UUIDs are now masked by cat and dog breeds in a stable and stateless way that persists between connections 😄

Olical11:05:53

(on develop)

dave12:05:45

ha! i love it

Olical12:05:14

Still tweaking it, so not pushed to develop yet, just solving some chicken and egg situation with enriching the session ID with information.

Olical12:05:46

I may well add custom names at some point but I feel like the effort outweighs the benefit right now considering it's transient and lost on JVM / browser restart.

Olical12:05:11

For now, being able to recognise them during a work day is what's important, IMO.

Olical12:05:21

Not that many people even need sessions

dharrigan12:05:57

yeah, no need for user customised names.

Olical12:05:45

I can think of the odd time where it might be useful, but I see it as way off into the "nice to have" camp.

Olical13:05:05

Just trying to get this session ID enriching working on connection. Works for standard JVM but not shadow :thinking_face:

Olical13:05:12

Maybe reader conditionals don't work there, uh oh.

dharrigan13:05:26

Maybe, for someone, in the far future being able to customise which names to use for sessions, but I'm sure there are better more immediate things worthy of your attention 🙂

Olical13:05:08

Yup! I kinda want to add a fallback stdin client soon so people could have VERY basic support for any lisp that has a stdio REPL..

Olical13:05:18

Those sorts of things have so much more value right now.

Olical13:05:32

I start my new job next Tuesday so I'm running out of free time 😬

dharrigan13:05:40

Where are you starting?

Olical13:05:05

I'm joining Viasat, working remotely within an internal Clojure team alongside the likes of Chris Houser 😱

👀 4
aw_yeah 4
🚀 4
Olical13:05:27

Was a little star struck in the interview since he co-wrote the first book I ever read on Clojure with Fogus.

Olical13:05:56

Everyone on the team is US based other than me and one in Australia, so timezones should be fun!

dharrigan13:05:57

Never heard of him

dharrigan13:05:03

although, I'm still very much a newbie.

Olical13:05:34

I'll be pairing over a remote Spacemacs session most of the time, I'll have to slide Conjure into the room at some point 👀

Olical13:05:49

Why use evil mode when you can use Neovim.

dharrigan13:05:28

raise the victory banner for neovim!

Olical13:05:52

When you suddenly crack a bug on the head over a coffee and music! SUCCESS.

dominicm13:05:15

I thought you were actually hitting a bug for a moment there.

Olical13:05:33

Hah, nope, one inside my laptop.

Olical13:05:01

How to handle the scenario of a namespace not being defined but wanting to evaluate within it :thinking_face:

Olical13:05:08

So I'm in a buffer that isn't loaded.

Olical13:05:34

And I say "eval this buffer" and it says "I can't because this namespace doesn't exist". Maybe eval buffer and eval file need to not set the namespace.

Olical13:05:22

It's kind of a rare case anyway, but yeah, trying to account for files that aren't in the classpath that you want to load.

Olical13:05:31

And that load-file didn't work for, for whatever reason.

Olical13:05:47

Oh, it does work, it's just that this JVM doesn't have tools logging which I'm requiring. Non-issue! Yay!

Olical13:05:56

Okay all pushed to develop give it a whirl!

dharrigan13:05:59

So, if I have nrepl running and I load up vim and it connects, I should be able to do ,sl to see my sessions? (in the hud?)

Olical13:05:59

And it should now show pretty human readable session names and their type.

dharrigan13:05:44

not seeing that

dharrigan13:05:10

I'm seeing UUID

dharrigan13:05:12

let me pull again

Olical13:05:23

Ah, yeah, that'll just be out of date

Olical13:05:27

I only pushed recently

dharrigan13:05:32

I was sshed to another machine

dharrigan13:05:36

damn you ssh!

Olical13:05:40

Hah, no problem!

Olical13:05:58

What I see for reference:

; --------------------------------------------------------------------------------
; localhost:35353 (connected)
; --------------------------------------------------------------------------------
; Assumed session: Maine Coon (Clojure)
; --------------------------------------------------------------------------------
; Sessions (1):
; >1 - Maine Coon (Clojure)

dharrigan13:05:08

; --------------------------------------------------------------------------------
; localhost:5600 (connected)
; --------------------------------------------------------------------------------
; Assumed session: Beauceron (Clojure)
; --------------------------------------------------------------------------------
; Sessions (1):
; >1 - Beauceron (Clojure)

Olical13:05:41

Yay! 🎉 🐶

Olical14:05:30

Going to release this as v3.2.0, I think it's all good.

pyrmont15:05:25

I love your release notes, @olical :) Really brightens my day. (Technically night since I'm in Asia but you know what I mean.)

4
dave15:05:42

updated immediately, mostly entirely for the dog and cat breed IDs 😄

❤️ 8
Olical19:05:58

🐩 Working as intended 💯

pyrmont15:05:25
replied to a thread:

I love your release notes, @olical :) Really brightens my day. (Technically night since I'm in Asia but you know what I mean.)

4
Olical15:05:08

I'm so glad to hear that! I'll try my best to keep them going 😄

Olical18:05:37

First pass of Janet over netrepl! https://asciinema.org/a/7P3pXAcs1F2stuWr11IzLGFQI

👍 8
🎉 8
Olical18:05:23

Lots of things to work out, I'm having to parse the result out of plain text which is proving... interesting.