This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-06
Channels
- # adventofcode (109)
- # announcements (6)
- # aws (2)
- # babashka (4)
- # beginners (71)
- # calva (6)
- # cider (14)
- # cljs-dev (1)
- # clojure (110)
- # clojure-australia (1)
- # clojure-europe (14)
- # clojurescript (26)
- # cursive (2)
- # data-science (5)
- # events (1)
- # fulcro (65)
- # lambdaisland (4)
- # leiningen (1)
- # midje (1)
- # mount (2)
- # off-topic (13)
- # pathom (5)
- # reclojure (1)
- # reitit (5)
- # reveal (15)
- # ring-swagger (1)
- # sci (1)
- # shadow-cljs (12)
- # test-check (3)
- # tools-deps (76)
- # xtdb (59)
If not, you can always use https://github.com/djblue/portal to inspect your reagent state (shameless plug 😂)
I recommend portal! There is also this thing: https://github.com/Odinodin/data-frisk-reagent
also, when I insert a keyword in some javascript state, it's silently converted to a js object. So code like (= :my-keyword state)
where state is originally a keyword (but now a string) will fail
I noticed the “Newbie Friendly Tickets” link in the Clojurescript github wiki (https://github.com/clojure/clojurescript/wiki/Developers) is a dead link to the old Clojure Jira. Is there a revised link for the new Jira? (Well, “dead” = 403 forbidden).
presuming that was a filter, I don't know that it was recreated in the new jira system
probably could do though
yeah, looked like some sort of view: http://dev.clojure.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=10616
here's a replacement: https://clojure.atlassian.net/issues/?filter=10028
if you get to the point of wanting to supply patches, please see https://clojure.org/dev/dev for process to sign the CA and request a jira account, and discuss any issues in #cljs-dev
and I updated the wiki page link
I'm getting the following error message when I try to call a function from emacs/cider debug Buffer (window).
#object[Error Error: No protocol method IDeref.-deref defined for type null: ]
The code works when I call it from the webpage.
the cider debugger says that it is a function.
ttncore.copy> (st/fetch-block "xx" :LINK)
#object[Error Error: No protocol method IDeref.-deref defined for type null: ]
ttncore.copy> (type st/fetch-block)
#object[Function]
Yes, it seems like it should be something obvious like that. Hard to isolate failure though since it doesn't indicate where in the code or what atom is being dereferenced. thanks for the suggestion.
That's one of the weird things, there isn't a stacktrace.
ttncore.store> (def b (fetch-block sfile "27hsXhXLBCT9zpPv"))
#object[TypeError TypeError: coll.cljs$core$IEmptyableCollection$_empty$arity$1 is not a function]
ttncore.store>
This is the output from cider repl. Just two lines.I found the problem code two levels below the call shown above.
If it’s a browser based repl you can check the console and in the repl you can evaluate *e to see if it has the stack trace
Good to know. I've been able to fix my problem with your help. I did look at the stack trace in the browser but didn't help. Thanks again for your help. My programming error.