This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-26
Channels
- # announcements (9)
- # babashka (98)
- # beginners (52)
- # boot (2)
- # calva (19)
- # cider (58)
- # clj-kondo (4)
- # cljdoc (11)
- # clojure (49)
- # clojure-dev (12)
- # clojure-nl (3)
- # clojure-uk (4)
- # clojurescript (42)
- # core-async (6)
- # cursive (9)
- # data-science (1)
- # fulcro (23)
- # jobs-discuss (2)
- # nrepl (30)
- # off-topic (42)
- # pedestal (6)
- # re-frame (8)
- # reitit (7)
- # remote-jobs (2)
- # shadow-cljs (134)
- # specter (1)
- # vim (13)
does anyone have a suggestion for the proper sequence to get https://github.com/DougHamil/threeagent/tree/release to run? I noticed a master branch and a release branch, also, and I'm not sure which of those are best to start with.
I'm using emacs, leiningen, and cider.
I'm most familiar with figwheel, although I guess shadow-cljs is a possibility here.
can someone explain to me what is the purpose of init
in re-graph
?
I want to execute queries and mutations with Authorization
header.
But, if I init the re-graph
with some Authorization header value, that value may change when a user login / logout.
It probably assumes that if your authorization changes, you reconnect your WS. And that's what I've found to be a more robust and simple approach with WS in general.
nvm, it already appears to be working, just that the clj one is not indicating it unlike the cljs one
destructure seems to be available here: https://cljs.github.io/api/syntax/destructure-map but I can't call it from my cljs repl. So I'm assuming that's a lie. Is there an equivalent function in cljs?
Oh, for my use-case the clojure version is used anyway. But it would be nice to support self-hosted too.
@thheller last time you mentioned you use fulcro and not re-frame. Did you use re-frame and moved to fulcro? Why fulcro vs re-frame? I am asking about your personal opinion. I didn’t try fulcro in practice so far because I feel it is more complex, than re-frame. But if you use it and you are clever guy, maybe I should give it a try.
Do you have a public repo made by you in fulcro to let me see how code of the project look?
One things which I see from re-frame. For some reason complex project end up with complex code. Not sure why it is happening in teams. It became into a mess, but maybe I saw wrong projects. I would like to see complex projects in fulcro and try to understand what is happening in code.
In re-frame there is a mess about subscriptions and events when complexity come into a game. Not really, because of re-frame probably, but developers do this mess for some reason which I don’t understand.
sometimes its just easier to do one quick hack .. then another .. then another .. it piles up and ends in chaos 😛
exactly, but whatever is the reason I am curious if using fulcro instead would change complexity (simplicity) of the project in team.
I would definitely recommend learning it, even if you are not gonna use it. useful stuff to think about.
I know, but I have infinitive queue of things to learn 🙂 Especially, because I am interested in Clojure / ClojureScript / Ops / Kubernetes, genereally I like full spectrum.
> I have infinitive queue of things to learn Every day I deal with 2-3 items from that queue and add 5-10 new items. The game is rigged from the start...
Isaac Newton had an extensive list of questions that he never answered in his lifetime (and many he did): https://en.wikipedia.org/wiki/Quaestiones_quaedam_philosophicae
Nah, that was just a joke I felt obliged to write after catching up with 2+ months of #announcements . 🙂
Hi! I'm trying out promesa to interop with a js library that returns promises. How can I block REPL to wait for the result?
Answer to self: I don't need to. The promise is being resolved, I just didn't catch an error which made it look like the promise execution is canceled prematurely