This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-15
Channels
- # adventofcode (121)
- # bangalore-clj (5)
- # beginners (46)
- # boot-dev (9)
- # cider (20)
- # cljs-dev (7)
- # cljsrn (1)
- # clojure (341)
- # clojure-austin (7)
- # clojure-greece (144)
- # clojure-india (3)
- # clojure-italy (5)
- # clojure-spain (1)
- # clojure-spec (34)
- # clojure-sweden (3)
- # clojure-uk (90)
- # clojurescript (24)
- # core-async (1)
- # core-logic (7)
- # cursive (108)
- # datascript (2)
- # datomic (39)
- # events (1)
- # fulcro (225)
- # graphql (8)
- # hoplon (86)
- # instaparse (12)
- # jobs-discuss (2)
- # jvm (4)
- # keechma (1)
- # lein-figwheel (2)
- # leiningen (12)
- # off-topic (26)
- # onyx (35)
- # other-languages (1)
- # pedestal (3)
- # planck (11)
- # re-frame (12)
- # reagent (12)
- # reitit (5)
- # spacemacs (48)
- # specter (29)
- # sql (2)
- # test-check (1)
- # unrepl (71)
@lee.justin.m I use a user.clj
namespace to start a ClojureScript REPL from CIDER http://practicalli.github.io/clojurescript/reagent-projects/tic-tac-toe/figwheel-helper-functions.html
This user.clj
namespace comes from the lein-figwheel template and gives an easy way to run CLJS projects from Emacs. I set cider-cljs-lein-repl
in the dotspacemacs/user-config
section of .spacemacs
file to make clojurescript-jack-in
run the correct commands. The user.clj
namespace is the default dev namespace when a clojure repl runs.
(setq cider-cljs-lein-repl
"(do
(user/fig-start)
(user/cljs-repl))")
Thanks @jr0cket. I’ll take a look. I eventually got it to work by adding some weasel code to my main code, adding some middleware, and then pasting some magical invocation from the weasel GitHub page into the cider repl.
Was that for boot? Curious to know what you got working as when I tried modern-cljs previously I never got anything to work
that was a while ago though
Yes it was for boot. The steps were to (1) require weasel and call repl/connect
in the main application code, (2) use the cljs-repl
target in boot
, (3) in cider (require 'weasel.repl.websocket)
and then issue this magic:
(cemerick.piggieback/cljs-repl
(weasel.repl.websocket/repl-env :ip "0.0.0.0" :port 9001))
2–3 years, somewhere in there. Hard to believe it's been that long…Spacemacs still feels like a fun new toy to me.
I think I’m around there as well, I’ve only recently really started digging into the meat of spacemacs and focusing on learning as much as I can
i have been souring on it the past couple months... it has crashed on me a couple times and my confidence in emacs was really shaken
although i'm not sure if the problem is emacs, spacemacs, or something in my configuration
tbh @alandipert it’s probably some bitchy mix of all 3 hahaha
i have a theory that it might be better for my editor to be much simpler, and for me to lean more on the shell for my workflow
to see, ive been using this editor vis as much as possible https://github.com/martanne/vis
Looks pretty interesting, @alandipert! While I still love Spacemacs, I can understand the desire for something simpler and cleaner (and legacy-free). Would you say you've made the switch over to vis, or are you still evaluating it?
i've switched to it in the areas i still used vim, like as EDITOR. and i have tried to use it at work for node.js dev with mixed results
in the near future i'd like to write something like inferior-lisp for it. then i can use it for my lisp dev
although, i'm thinking a simpler approach would be, start a lisp reading from a fifo, and then make a vis shortcut that pastes to the fifo and i see the result in an adjacent tmux pane
managing processes is one of the many things that emacs does that seems out of the purview of an editor, perhas
*perhaps
Sounds cool. I'd be interested to hear how it all goes for you. Do you post about such explorations somewhere?
I’ve also found that I when I try to get the bare bones tooling, there’s a lot of times where I really miss a nice gui or a better visualization of the information I am trying to access.
for example, a colleague showed me jetbrain’s datagrip recently, and I felt like my using the console to access databases was a completely inferior tool.
jeff.terrell no but i can continue to post them here since it interests you :-)
Thanks. Hmm, how about #editors, since it isn't really about Spacemacs? (I'm there too.)
oh sure, i didn't know about that one
alexkeyes i have used and felt that way about datagrip in the past also
@jeff.terrell I didn’t know about that either
but i feel now like in the long term, anything like that needs to be broken into pieces and customized. like, now if i did SQL i would use it through R and use R to make programmable visualizations
oh, well i would write straight SQL... but i would use something that could make graphics to visualize it
since looking at pages of counts in a table or result set, its impossible to see trends and outliers