Fork me on GitHub
#conjure
<
2020-06-01
>
Aron09:06:53

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

Aron09:06:30

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? : )

Olical09:06:50

Oh, what happens when you do that?

Aron09:06:27

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

Aron09:06:49

or rather, cljc

Aron10:06:30

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

Aron10:06:01

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

Aron10:06:13

hmm, what pastebin do you use here?

Olical10:06:39

That’s an error from inside CIDER / nREPL?

Aron10:06:46

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

Olical10:06:53

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

Olical10:06:56

Ah interesting

Olical10:06:38

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.

Olical10:06:52

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

Aron10:06:49

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 😄

Aron10:06:04

I will debug more

Olical10:06:42

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.

Olical10:06:48

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 😬

Aron10:06:42

have fun with the celebrations 🙂

Olical22:06:01

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