This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-21
Channels
- # beginners (25)
- # cljsrn (3)
- # clojars (4)
- # clojure (37)
- # clojure-news (1)
- # clojure-poland (2)
- # clojure-uk (6)
- # clojurescript (9)
- # datomic (2)
- # duct (7)
- # fulcro (2)
- # hoplon (3)
- # jobs (1)
- # keechma (1)
- # luminus (1)
- # off-topic (27)
- # om (3)
- # om-next (2)
- # overtone (4)
- # pedestal (2)
- # re-frame (11)
- # reagent (4)
- # reitit (6)
- # rum (2)
- # shadow-cljs (212)
- # slack-help (3)
- # spacemacs (1)
- # sql (1)
- # test-check (32)
- # tools-deps (1)
Heya, little spammy call for help (sorry) - if you use Windows and leiningen and got a few spare minutes, would be nice to quickly grab lein.bat
and/or lein.ps1
from https://github.com/technomancy/leiningen/tree/master/bin , replace the "2.8.2-SNAPSHOT" with "2.8.1" inside and give it a spin - we had some problems (most of all Github going to TLS 1.2) and thus quite a few changes landed and it's really, really hard to find Windows users on demand for testing 🙂
@lmergen thanks! I think I just need these pieces of info: a) Windows version b) PowerShell version ( $PSVersionTable.PSVersion -> major) c) curl/wget installed or not and d) did it install and then does "lein repl" work? 🙂
When trying to use the reCaptcha API, I get a “No trusted certificate found” error
do I need to have certs on my server?
or does google only need to provide a cert, since their API uses HTTPS?
Java 9 @thug.nasty?
hmm. didn’t think to check.
I just updated the server, so i’ll have to see what java is running it
@ghadi thank you for your help
@ghadi seems OS X updated javac to 9-internal
@thug.nasty If you happen to be using brew
to install Java, it is fairly easy to do brew cask install java8
(or whatever version you want) and then switch between the versions you want to use at runtime by doing something like
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
oh sweet
I’ll try that
my JAVA_HOME is set to jdk1.8.0_
but my javac is linked to the /System/Library
I've previously used (load-file "build.boot")
to add new dependencies from the project file without restarting the REPL - what's the best equivalent to use in lein
?
I'm struggling with tools.namespace: I have two repls started with lein repl
, one running figwheel, the other one a ring app, they have separate project.clj
and are not stored in the same folder. When I try to refresh
my server-side code it fails stating Cannot found "datascript.arrays"
which is a client-side library. The client-side and server-side repls run in their own JVM. Why would tools.namespaces be able to "see" compiled files from an other repl running in an other JVM ? Is this a know problem ?
Figured it out. I had a symbolic link in the server-side resources
folder pointing to some compiled clojurescript assets, tools.namespace walks the classpath to find .clj
and .cljc
files. The resources
folder is listed in the classpath and cljsbuild outputs .js
files but also .map
and respective copies of .clj
and .cljc
files next to the .map
files.
I removed the symlink and used a gulp task (gulp-webserver) to serve the assets.
Looks like it can be done this way as well: https://github.com/clojure/clojure/blob/08e592f4decbaa08de570ded9ac169785b1608f9/src/clj/clojure/core.clj#L4802