This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-03-01
Channels
- # announcements (4)
- # aws (1)
- # beginners (172)
- # cider (16)
- # cljdoc (63)
- # cljsrn (7)
- # clojure (150)
- # clojure-dev (8)
- # clojure-europe (26)
- # clojure-gamedev (6)
- # clojure-greece (23)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-uk (101)
- # clojurescript (40)
- # community-development (5)
- # cursive (19)
- # datomic (54)
- # emacs (39)
- # figwheel-main (5)
- # fulcro (4)
- # graphql (16)
- # immutant (5)
- # jobs (8)
- # jobs-rus (1)
- # leiningen (1)
- # off-topic (31)
- # planck (1)
- # re-frame (7)
- # reagent (8)
- # reitit (6)
- # remote-jobs (4)
- # shadow-cljs (11)
- # spacemacs (18)
- # specter (2)
- # sql (58)
- # vim (2)
- # yada (5)
is it still the case that core.async
go blocks have the potential to leak memory and so should be used sparingly?
Id really like to be able to just map a set of functions such that they all pass to each other over channel interface, but if sparing use of async functions is recommended, then I would optimize along putting more transformations into a single function
better question. once you put channels on channels WHY is it so hard to get things back to a channel of values??
I think the memory thing was fixed in one of the last rounds of updates?
Hi!
Is this expected?
nil
as a value is "null"
, but as a key is "nil"
(->> {:nvalue nil, nil "nkey"}
clj->js)
;; prn => #js {:nvalue nil, :nil "nkey"}
;; console.log => {nvalue: null, nil: "nkey"}
Sure, but why not the "null" string? Then JS's usual coercion would be enough:
const m = {null: "nkey",
undefined: "ukey"};
console.log(m);
console.log(m.undefined);
console.log(m.null);
The above "works" as expected (with keys being converted to strings)I wonder, is there a good cljs alternative to Gatsby (data fetch & transform > graphql > static React site)? Thanks!
any transit pros know if I’d doing something wrong with custom tagged values? I’m thinking i stumbled on a bug with the :json reader https://gist.github.com/khardenstine/557fcaa221f51c48d2b1ff6bbfc102cb
How to do it in cljs?
class Foo {
static bar = {x: 42}
}
myFoo = new Foo()
external_call(myFoo)
(i need to pass a object do external_call
that "implements" that static bar
)hmm that may not actually work then. thought it was using the class Foo
directly not just the instance
new thing for npm packages that claims to bring some clarity to the mess https://github.com/pikapkg/web <- @thheller
yeah but it seems to only use it for npm deps. not project code. so it can't possibly tell what is going to be used and what not.
so "big" packages like antd
or @material-ui/core
will just still import everything I guess?
also there a plenty of packages that don't have a module
entry in package.json
. eg. react
I guess GCC's version of LCI is the module loader system. We just don't used it enough...