practicalli

https://practicalli.github.io/ http://yt.vu/+practicalli (youtube)
practicalli-john 2021-03-20T01:57:24.013600Z

I've updated my suggestions for a minimal LSP setup for Spacemacs, most of which is relevant to any other Emacs setup. The configuration avoids conflicting with CIDER and removes all the cljfmt rules which LSP puts in by default. I also tweaked the doom-gruvbox-light theme to make the symbol highlighting clash less, removing the background color and just using a bold font https://practicalli.github.io/spacemacs/install-spacemacs/clojure-lsp/configure-lsp-and-cider.html

lread 2021-03-20T13:20:44.014400Z

FYI… https://github.com/VSpaceCode/VSpaceCode/issues/185

👍 1
rossputin 2021-03-20T17:21:58.015400Z

Hi - latest version of Practicalli’s Clojure Deps.edn is giving me ‘Could not find artifact com.github.seancorfield:next.jdbc:jar:2.0.193 in central (https://repo1.maven.org/maven2/)’ on running clojure -X:project/jar - anyone else seen this? (Cloned the CLojure Deps.edn repo last night)

dharrigan 2021-03-20T17:22:59.015900Z

2.0.193 is for depstar

dharrigan 2021-03-20T17:23:07.016100Z

<https://github.com/seancorfield/depstar/releases>

dharrigan 2021-03-20T17:23:10.016300Z

So a typo

dharrigan 2021-03-20T17:23:19.016600Z

(cross posting myself from #clojure)

dharrigan 2021-03-20T17:23:35.016900Z

Latest next.jdbc is 1.1.646

rossputin 2021-03-20T17:25:28.017Z

I tried updating to that earlier and got a different error ‘Execution error (FileNotFoundException) at clojure.run.exec/requiring-resolve’ (exec.clj:31). Could not locate hf/depstar__init.class, hf/depstar.clj or hf/depstar.cljc on classpath.' at which point I thought I would be lazy and see if anyone else has worked this through 😀

rossputin 2021-03-20T17:25:59.017200Z

Thanks for following up!

dharrigan 2021-03-20T17:26:28.017400Z

How are you running depstar?

rossputin 2021-03-20T17:27:23.017600Z

Local project deps.edn ‘…:jar {:replace-deps {com.github.seancorfield/depstar {:mvn/version “1.1.646”}} :exec-fn hf.depstar/jar :exec-args {:jar “libplayground.jar” :sync-pom true}}’

rossputin 2021-03-20T17:27:46.017800Z

terminal command ‘clojure -X:project/jar’

dharrigan 2021-03-20T17:28:42.018Z

I think you're getting confused

dharrigan 2021-03-20T17:28:47.018200Z

there is no depstar 1.1.646

dharrigan 2021-03-20T17:28:58.018400Z

<https://github.com/seancorfield/depstar/releases>

rossputin 2021-03-20T17:38:42.018700Z

hmmm - yes. -sorry cross pasting snippets

rossputin 2021-03-20T17:38:55.018900Z

latest output is the second error message still ‘Execution error (FileNotFoundException) at clojure.run.exec/requiring-resolve’ (exec.clj:31). Could not locate hf/depstar__init.class, hf/depstar.clj or hf/depstar.cljc on classpath.'

rossputin 2021-03-20T17:39:28.019100Z

having created a new lib project using ‘clojure -X:project/new…’

rossputin 2021-03-20T17:40:20.019300Z

the project/jar alias in ~/.clojure/deps.edn is ‘:project/jar {:replace-deps {com.github.seancorfield/next.jdbc {:mvn/version “1.1.646”}} :exec-fn hf.depstar/jar :exec-args {:jar “project.jar” :aot true}}’

dharrigan 2021-03-20T17:40:35.019500Z

wait

dharrigan 2021-03-20T17:40:37.019700Z

again

dharrigan 2021-03-20T17:40:41.019900Z

why next.jdbc for depstar?

dharrigan 2021-03-20T17:41:12.020100Z

your replace deps is completely wrong

dharrigan 2021-03-20T17:41:35.020300Z

Have a look here

dharrigan 2021-03-20T17:41:35.020500Z

https://github.com/seancorfield/depstar

rossputin 2021-03-20T17:44:43.020800Z

ah - sorry - was looking in the wrong place - got you now

dharrigan 2021-03-20T17:47:20.021Z

np

practicalli-john 2021-03-20T21:37:54.025100Z

@rossajmcd sorry, it was the right version but the wrong library name. I copied next.jdbc library name into the :project/jar and :project/uberjar aliases instead of the new names for depstar. They both use the new form of fully qualified name (except for the last part).

practicalli-john 2021-03-20T21:44:01.026600Z

I've pushed the fix to the project, sorry for the confusion.

practicalli-john 2021-03-20T22:37:06.028500Z

Another quick update to practicalli/clojure-deps-edn • suppress SLF4J warning with :project/outdated alias • removed older version 1.x of depstar now 2.x is established • several library version updates