Cursive 1.14.0-eap1

55 views
Skip to first unread message

Cursive

unread,
Sep 13, 2024, 9:32:40 AM9/13/24
to cur...@googlegroups.com

Hi everyone,

Cursive 1.14.0-eap1 is out. All the details are in the release blog post, which you can find here.

Cheers,
Colin

timothypratley

unread,
Sep 13, 2024, 11:14:39 PM9/13/24
to Cursive
Hi Colin,

First impressions: Wow - that's freaking awesome!!!!!
I'm loving it.

Is there any chance that we could send HTML (or hiccup) output to the inline results?
It would be super cool if we could use this to show visualizations in the editor https://github.com/scicloj/kindly
Any info you can give on controlling the inline viewer would be very much appreciated.

I made a small stumble by kicking off a long running command that prints progress reports;
those do show up nicely in a box, but only after the entire result is ready.
Of course it was easy to open up the REPL and see that that was the case and monitor it there.
Ideally stdout/stderr updates showing up as they occur would be neat (but not a big deal - I don't think this is a common thing).

Really cool surprise hehehe, nice one!

Colin Fleming

unread,
Sep 14, 2024, 1:23:55 AM9/14/24
to Cursive Group
Hey Timothy,

Yes, both HTML and SVG are things I want to add, I think they'll unlock all sorts of use cases. I thought of you when I saw your conj talk, I'm looking forward to catching up again!

Yes, there really needs to be a spinner when an eval takes a long time, that is on the list. I'd also like to do the streaming output, but that is trickier and will need a little fiddling.

Cheers,
Colin
--
You received this message because you are subscribed to the Google Groups "Cursive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.

Message has been deleted

Sigmund Hansen

unread,
Sep 17, 2024, 10:11:15 AM9/17/24
to Cursive
Very cool to have inline evaluation in Cursive.

I am experiencing some issues with the REPL Selector, though. I have a multi-module project, and I selected one REPL for All. Now I cannot change the selection. By removing the selected option from the project's ClojureProjectSettings.xml, I could restart and choose a REPL for the specific module.

One of the modules is a BFF (backend for frontend), which is both a CLJ and a CLJS module. In CLJS files I can send expressions to the CLJS REPLs that are running, but I cannot choose a REPL in the REPL Selector. It always ends up as Multiple, even if I choose a REPL. Might perhaps be something with CLJS not being part of the scope, maybe a third option or an additional field in the serializedScope value could do it?

If you want to look at what happens, I can stop by your Office Hours at Heart of Clojure on Thursday and show you.

Colin Fleming

unread,
Sep 17, 2024, 10:14:25 AM9/17/24
to Cursive Group
Yes, I would love to see that. Definitely stop by the office hours, or if you see me sooner we can look at it then as well - the office hours is looking like it might be busy.
Message has been deleted

Daniel Slutsky

unread,
Oct 1, 2024, 11:46:26 AM10/1/24
to Cursive
Hi Colin,  thanks for these incredible new features in Cursive.

My name is Daniel; I am working with Timothy on the Kindly standard mentioned above. 

Kindly is already used in the documentation of several major libraries, as well as on user-side projects by quite a few community members. These days, we are working on a diverse set of visual tutorials for various topics, all using this standard.
To be concrete, here is an example page from one of those documents: https://scicloj.github.io/clay/clay_book.examples

We are encouraging tool makers to support the Kindly standard so that all existing visual tutorials will work in those tools without any code change.

Hopefully, Timothy and I can help you make that work in Cursive.
Would it make sense to have a call to discuss it?

Thanks,
Daniel

Colin Fleming

unread,
Oct 2, 2024, 6:25:32 AM10/2/24
to Cursive Group
Hi Daniel,

Thanks for the kind words, I'm very happy with the features too and have some more that are really interesting and waiting for me to get around to a release. I've been looking into some of your libraries recently actually while thinking about how this should work with visualisations, and I'd definitely be interested in discussing it. However I'm on vacation with my family at the moment, and then will be busy getting ready for the conj. I'll be able to catch up with Timothy at the conj, and if you're there with you too, otherwise we can definitely set something up for afterwards.

Cheers,
Colin

Daniel Slutsky

unread,
Oct 4, 2024, 11:09:51 AM10/4/24
to cur...@googlegroups.com
Many thanks, Colin. Sounds great.

I will not be at the Conj, but Timothy is the best person to meet on that topic.   :)
I am looking forward to hearing your talk's video.

Wish you a nice vacation,
Daniel


Timothy Pratley

unread,
Oct 8, 2024, 9:01:46 AM10/8/24
to cur...@googlegroups.com
Looking forward to seeing you there :)

You received this message because you are subscribed to a topic in the Google Groups "Cursive" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cursive/NaklNDnP9jw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cursive+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cursive/dc86cffc-237f-4898-a413-4100f2c86daf%40app.fastmail.com.

Tobias Gerdin

unread,
Oct 14, 2024, 10:45:24 AM10/14/24
to Cursive
I wonder if it's possible to not have stuff going to *out* inline? (I.e. only see actual return values from evaluated code).
My use case is when working on an Integrant-based project I have various REPL commands (Integrant reset etc) bound in my keymap which I use a lot and which causes a lot output when restarting the system. I know I can limit the output to one line only, but even that feels like too much. Or perhaps the option of not having results from REPL commands inline?

Regards,
Tobias
Reply all
Reply to author
Forward
0 new messages