Fork me on GitHub
#boot
<
2018-01-16
>
fiddlerwoaroof05:01:17

I think racket is the only other major immutable-by-default lisp

martinklepsch10:01:34

I’m evaluating something like this in a pod:

(pod/with-eval-in my-pod
  (->> (doall (#'codox.main/read-namespaces ~cdx-config))
       (mapv cljdoc.grimoire-helpers/sanitize-cdx)))

martinklepsch10:01:56

codox.main/read-namespaces uses println to print some diagnostics when excluding vars — for some reason parts of this message show up sprinkled across the return value of with-eval-in

martinklepsch10:01:03

If I disable any exclusion and ensure that nothing is printed this way it works fine

martinklepsch10:01:29

I tried various macros to suppress output but none seemed to be working

Will16:01:07

I ran this command boot -d com.ingres.jdbc/iijdbc -d org.clojure/java.jdbc repl to add those dependencies to the REPL, but how do I use them?

martinklepsch17:01:43

@josmith2016 You will need to require the namespaces using something like (require '[clojure.java.jdbc :as jdbc]) (untested)

sparkofreason22:01:29

Why does boot have to serialize exceptions? I run into cases using boot-cljs where I get non-serializable exceptions based on something I'm throwing from a macro.

richiardiandrea22:01:24

@dave.dixon because Exceptions don't travel across pod boundaries, so you've got to serialize and deserialize them in order to pass them from one task to the other

sparkofreason22:01:36

Might be helpful to have the offending exception printed by the task if it turns out to be non-serializable. Otherwise it's impossible to figure out what the problem is.

richiardiandrea22:01:39

@dave.dixon may be worth an issue to boot-cljs

richiardiandrea22:01:08

there was also some more talking around this in the boot issues