conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
Aron 2020-06-01T09:55:53.143Z

note to self: don't press gd on builtins when using shadow-cljs exclusively

Aron 2020-06-01T09:57:30.143900Z

is there some tutorial on what to do if something breaks? or people just quit everything and know by heart or by instilled religion in which order things needs to be booted up? : )

Olical 2020-06-01T09:58:50.144100Z

Oh, what happens when you do that?

Aron 2020-06-01T09:59:27.145Z

nothing really unexpected, I see a lot of zipfiles in the log mentioned referring to clojure code

Aron 2020-06-01T09:59:49.145300Z

or rather, cljc

Aron 2020-06-01T10:00:30.146100Z

I think I lost them, but it's probably easy to reproduce if it's important, I can do it a bit later today

Aron 2020-06-01T10:02:01.147300Z

Exception in thread "async-dispatch-8" shutting down ...
java.lang.Error: java.net.SocketException: Socket closed
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1155)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at clojure.core.async.impl.concurrent$counted_thread_factory$reify__484$fn__485.invoke(concurrent.clj:29)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Socket closed
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
	at nrepl.transport$bencode$fn__5861.invoke(transport.clj:109)
	at nrepl.transport.FnTransport.send(transport.clj:28)
	at nrepl.middleware.print$send_nonstreamed.invokeStatic(print.clj:159)
	at nrepl.middleware.print$send_nonstreamed.invoke(print.clj:138)
	at nrepl.middleware.print$printing_transport$reify__6282.send(print.clj:174)
	at nrepl.middleware.caught$caught_transport$reify__6317.send(caught.clj:58)
	at cider.nrepl.middleware.track_state$make_transport$reify__29621.send(track_state.clj:228)
	at shadow.cljs.devtools.server.nrepl_impl$send.invokeStatic(nrepl_impl.clj:32)
	at shadow.cljs.devtools.server.nrepl_impl$send.invoke(nrepl_impl.clj:19)
	at shadow.cljs.devtools.server.nrepl_impl$worker_exit.invokeStatic(nrepl_impl.clj:51)
	at shadow.cljs.devtools.server.nrepl_impl$worker_exit.invoke(nrepl_impl.clj:47)
	at shadow.cljs.devtools.server.nrepl_impl$repl_init$fn__6941$state_machine__2913__auto____6966$fn__6968.invoke(nrepl_impl.clj:225)
	at shadow.cljs.devtools.server.nrepl_impl$repl_init$fn__6941$state_machine__2913__auto____6966.invoke(nrepl_impl.clj:223)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
	at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
	at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
	at clojure.core.async.impl.ioc_macros$take_BANG_$fn__2931.invoke(ioc_macros.clj:991)
	at clojure.core.async.impl.channels.ManyToManyChannel$fn__680.invoke(channels.clj:265)
	at clojure.lang.AFn.run(AFn.java:22)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	... 4 more

Aron 2020-06-01T10:02:13.147600Z

hmm, what pastebin do you use here?

Olical 2020-06-01T10:02:39.148Z

That’s an error from inside CIDER / nREPL?

Aron 2020-06-01T10:02:46.148300Z

I got this error message when I killed shadow-cljs watch process

Olical 2020-06-01T10:02:53.148500Z

And I tend to just paste into slack, you can upload snippets.

Olical 2020-06-01T10:02:56.148700Z

Ah interesting

Olical 2020-06-01T10:04:38.149900Z

But yeah, if I kill shadow or nREPL somehow I just turn it off and on again, although that’s pretty rare. I’m surprised everything broke on gd within shadow though, if the info op returns a zipfile path Conjure should try to take you there.

Olical 2020-06-01T10:04:52.150300Z

Unless your nvim won’t let you open files within zipfiles for some reason?

Aron 2020-06-01T10:11:49.153100Z

maybe, I probably never done anything like that, I know I used to look into zipfiles in windows, but to open files that are in zipfiles, not something I ever have to do, not until now it seems at least 😄

Aron 2020-06-01T10:12:04.153400Z

I will debug more

Olical 2020-06-01T10:43:42.154400Z

Hmm if gd on a builtin in Clojure land also throws errors it’s probably your nvim somehow and I should try to account for it.

Olical 2020-06-01T10:46:48.156700Z

Also I haven’t had a chance to work on Conjure for the past few days because I’m onboarding at my new company and spending time with my partner for her birthday 😊 ideas are still bubbling away in my slow brain. Will see if I can introduce my new team members to Conjure too! Most of them are very vimmy it seems, but Spacemacs is the default pairing environment for now. Will take a little muscle memory adjusting to not use Conjure’s mappings inside it 😬

Aron 2020-06-01T10:59:42.158200Z

have fun with the celebrations 🙂

Olical 2020-06-01T22:14:01.158800Z

Any of you wonderful people using NixOS in anger? Or even just Nix as a package manager to be honest.