This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-15
Channels
- # aws-lambda (6)
- # beginners (8)
- # cider (12)
- # cljs-dev (12)
- # cljsrn (9)
- # clojars (2)
- # clojure (161)
- # clojure-berlin (9)
- # clojure-italy (10)
- # clojure-russia (18)
- # clojure-spec (20)
- # clojure-uk (18)
- # clojurescript (37)
- # cursive (13)
- # data-science (1)
- # datomic (23)
- # flambo (2)
- # hoplon (22)
- # immutant (11)
- # jobs (1)
- # klipse (11)
- # leiningen (5)
- # liberator (7)
- # luminus (5)
- # lumo (3)
- # off-topic (28)
- # om (8)
- # onyx (15)
- # parinfer (111)
- # pedestal (21)
- # re-frame (6)
- # reagent (38)
- # rum (4)
- # spacemacs (2)
- # specter (34)
- # unrepl (122)
- # untangled (3)
- # vim (1)
- # yada (8)
does go blocks just screw up cljs stack traces, or is there still a useful way to get stack traces in go blocks
@qqq that's a well known problem and probably @darwin already thought about a solution for dirac
..
I am quite interested myself 😀
Oh well that's another target for your qqq-coins 😀
is there a way to uniformly access fields on a Clojure/script deftype in a cljc extend-type
? E.g.
(deftype A [field])
(extend-type A
IProtocol
(-value [this] (.field this)))
it’s hard to understand what you are saying. What do you actually see in one case and what do you see the in the other case and what code are you using that leads to these two supposedly different cases?
I was expecting firefox console 'mynamespace.cache' to be the same object as cache in mynamespace or js/mynamespace.cache
they are most definitely same - but without more information hard to say what’s going on
If I change the above code to set only the users key and not replace cache then it seems to work as I would expect and I see both 'function_requires' and 'users' in cache from both clojurescript and js
@foobar that helps, under advanced compilation there’s no guarantee that any of those names will exist
I have a defmulti
in one file and then I require (:refer) this multimethod
in other namespaces and define methods. However, this doesn't seem to work
yeah changing the dispatch fn won’t update defmethods you need to reload everything in that case
is the :parallel-build
compiler option generally as reliable as serial building? anyone using parallel builds often and with good results? it's yielding a 50% speedup on my project and i'm very enthusiastic about embracing it, just want to know how careful i should be about the switch.
@christianromney lots of people use it - there have a been a bug report but no minimal reproducer that I’ve seen yet
the main thing to watch out for is circular deps (which aren’t allowed), we don’t currently have good prevention for that in parallel build case
you shouldn’t be doing that anyway - and non-parallel builds will show you the problem
thanks, @dnolen i did spot that in a cursory JIRA search.
@dnolen I found the bug report, and also failed to reproduce. To make it easier on the next person who wants to look at the bug, I created this repo and added a link to it in a comment in JIRA: https://github.com/christianromney/cljs-1921
How do I get figwheel to auto refresh when I edit my index.html under the resources directory? I've allready added resources to my source paths :source-paths ["src" "resources"]
@linicks I’m no figwheel expert but I think you expect something figwheel doesn’t offer. Figwheel does hot code swapping. Not html file auto-reloading AFAIK.