This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-06
Channels
- # architecture (8)
- # aws (2)
- # beginners (156)
- # boot (163)
- # cider (22)
- # cljs-dev (2)
- # cljsrn (11)
- # clojars (6)
- # clojure (328)
- # clojure-austin (7)
- # clojure-dusseldorf (10)
- # clojure-italy (2)
- # clojure-russia (19)
- # clojure-spec (178)
- # clojure-uk (86)
- # clojurescript (81)
- # cursive (17)
- # datomic (33)
- # funcool (40)
- # hoplon (8)
- # jobs (5)
- # klipse (13)
- # leiningen (1)
- # luminus (21)
- # off-topic (140)
- # om (49)
- # om-next (4)
- # onyx (29)
- # planck (5)
- # protorepl (2)
- # re-frame (58)
- # reagent (2)
- # remote-jobs (4)
- # ring-swagger (16)
- # testing (1)
- # untangled (26)
- # yada (27)
Have the yada.dev.* files been deleted permanently, or are they moved somewhere else? https://github.com/juxt/yada/commit/c936ef3f545537ad3e2140968fb87a29182f1484#diff-4cba722740d702bce6a6966d251b7f10
Is there a recommended pattern for database access with Yada? Standard JDBC calls will be blocking right?
@danielcompton wrap the call to jdbc in a manifold future?
Wrap in a future. If you have an async api then use a promise
whereas with wrapping the jdbc call in a future, you can specify an executor that is only used for db calls
hello I'm getting this message error when I import yada
data: {:file "cheshire\\core.clj", :line 1}
java.lang.Exception: namespace ’cheshire.factory’ not found
data: {:file "cheshire\\core.clj", :line 1}
java.lang.Exception: namespace ’cheshire.factory’ not found
Can you provide more info @vinnyataide
k lemme copy the stack trace
besides the boot error lines there's this line that I think has something to do with it
error in process sentinel: Could not start nREPL server: Warning: version conflict detected: org.clojure/clojure version changes from 1.2.0 to 1.9.0-alpha14
Warning: version conflict detected: org.clojure/clojure version changes from 1.2.0 to 1.9.0-alpha14
this is my deps
(set-env!
:source-paths #{"src"}
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.9.0-alpha14"]
[org.clojure/clojurescript "1.9.293"]
[org.clojure/tools.nrepl "0.2.12"]
[org.clojure/core.async "0.2.395"]
[org.clojure/test.generative "0.5.2"]
[com.datomic/datomic-free "0.9.5544"]
[com.stuartsierra/component "0.3.2"]
[aero "1.0.1"]
[adzerk/boot-cljs "1.7.228-2" :scope "test"]
[adzerk/boot-cljs-repl "0.3.3" :scope "test"]
[adzerk/boot-reload "0.4.13" :scope "test"]
[reloaded.repl "0.2.3" :scope "test"]
[com.cemerick/piggieback "0.2.2-SNAPSHOT" :scope "test"]
[weasel "0.7.0" :scope "test"]
[org.omcljs/om "1.0.0-alpha47"]
[yada "1.2.0"]
[bidi "2.0.16"]
[aleph "0.4.1"]])
What are you trying to do? Are you just trying to launch boot?
(ns om-learn.server
(:require [yada.yada :as yada]))
I restarted the repl because this error was happening when I ran this linenow the message appears on repl start since I'm running the code inside my component
I'm following line by line of your edge build.boot, I've started my datomic instance and am trying to put my webserver to work
just to learn how to build boot systems as the edge project do
Do you have a repo I can clone and take a look?
yeah, lemme push the changes
Cool. Sorry, this could be a result of recent yada changes. I'll investigate
Thanks
it has some portuguese words in the comments, just almost all direct translations
I'm relatively new to the tecnologies, could be a rookie mistake too