This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-30
Channels
- # aleph (1)
- # beginners (126)
- # cider (2)
- # clara (38)
- # cljsrn (2)
- # clojars (2)
- # clojure (49)
- # clojure-dev (31)
- # clojure-dusseldorf (1)
- # clojure-finland (1)
- # clojure-france (6)
- # clojure-italy (13)
- # clojure-nl (12)
- # clojure-russia (9)
- # clojure-sg (1)
- # clojure-spec (33)
- # clojure-uk (83)
- # clojurescript (206)
- # community-development (3)
- # core-async (40)
- # cursive (4)
- # datomic (7)
- # duct (21)
- # emacs (9)
- # fulcro (36)
- # funcool (2)
- # graphql (12)
- # instaparse (4)
- # jobs (4)
- # lumo (24)
- # mount (1)
- # nyc (4)
- # off-topic (29)
- # onyx (1)
- # pedestal (2)
- # random (4)
- # re-frame (60)
- # reagent (136)
- # remote-jobs (1)
- # schema (1)
- # shadow-cljs (20)
- # spacemacs (6)
- # specter (14)
- # tools-deps (2)
@borkdude this probably won't work with native node modules. But I'm also not sure what your use case is, just throwing it out there.
so for now the deps + deploy on server probably is going to be: git pull, yarn install and for running, just lumo + some options
The nice thing about wasm, is that you can convert the binary to a base64 and bundle it in single js file. But yeh, no way with native modules.
@borkdude I am on a quest to post stuff to self-host, promesa
is on my list but it is a difficult horse to tame
(.then (got WEATHER_API #js {:json true})
#(let [body (js->clj (.-body %)
:keywordize-keys true)]
...))
does anyone see the problem here?:
ip-192-168-100-202:scripts jonathan$ lumo -sfKq --classpath `pwd`:/Users/jonathan/.m2/repository/clj-time/clj-time/0.14.2/clj-time-0.14.2.jar -A error
cljs.user=>
cljs.user=> (require '[clj-time.core :as t])
No such namespace: clj-time.core, could not locate clj_time/core.cljs, clj_time/core.cljc, or JavaScript source providing "clj-time.core"
@borkdude this + reagent would be awesome: https://github.com/Yomguithereal/react-blessed
@johanatan I am not sure that lib is self-host compatible
it's the canonical example on the deps.edn announcement on http://clojure.org
@johanatan use cljs-time
Typically Clojure does not work in self-host ootb - first problem is the namespace, should be .cljs
, second problem is if there are macros involved
having fun 😄