This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-04
Channels
- # 100-days-of-code (8)
- # announcements (4)
- # beginners (77)
- # boot (11)
- # business (13)
- # cider (69)
- # clara (2)
- # cljdoc (51)
- # clojure (59)
- # clojure-dev (18)
- # clojure-italy (4)
- # clojure-nl (11)
- # clojure-spec (54)
- # clojure-uk (115)
- # clojurescript (33)
- # core-async (4)
- # cursive (95)
- # datomic (27)
- # duct (1)
- # emacs (58)
- # figwheel (22)
- # figwheel-main (63)
- # garden (1)
- # graphql (10)
- # hyperfiddle (1)
- # leiningen (1)
- # luminus (6)
- # off-topic (12)
- # planck (7)
- # portkey (1)
- # quil (3)
- # re-frame (3)
- # reagent (5)
- # ring-swagger (3)
- # shadow-cljs (34)
- # slack-help (19)
- # spacemacs (57)
- # testing (2)
- # timbre (2)
- # tools-deps (42)
- # yada (6)
(persistent! (.reduce uarray (fn [acc v] (conj! acc v)) (transient [])))
but now feels right
Perhaps Uint8ClampedArray
isn't “primitive,” so there might be a more appropriate way.
Ahh, cool. It looked like array-seq
may have been just for actual arrays. Speculating based on docstring
I was actually curious what the consequence of replacing array?
with goog/isArrayLike
in the seq
implementation might be.
@mfikes I might have added the docstring but those fns existed before I was involved 🙂
Best I can tell, Closure is set up to elide logging. You'd probably have to dig through the source to figure out why.
added some debug locally - found no differences yet:
goog.DEBUG: true
goog.debug.LOGGING_ENABLED: true
goog.debug.Logger.ENABLE_HIERARCHY: true
goog.debug.Logger.ENABLE_PROFILER_LOGGING: nil
adding (.setConsole goog.debug.Console (.-console goog.global))
ensures it works for both none
and simple
Weird, this fix is essentially redoing the initialization: https://github.com/google/closure-library/blob/db35cf1524b36a50d021fb6cf47271687cc2ea33/closure/goog/debug/console.js#L156 That makes it seem like a load order issue: goog.debug.console.js is evalled when goog.global[‘console’] is nil. /cc @mfikes
yeah, it seems abandoned, but secretary also hasn't been worked on for 2 years and it's still widely used
Was wondering how difficult it would be to create a cljs AWS interface via reflection -- i.e. a cljs version of amzonica
if you're ever interested in working on that project, I'd be happy to sign on with you
how would I translate this into cljs? (using NPM module)
import GraphView from 'react-digraph'
nevermind, found the answer here https://clojureverse.org/uploads/default/original/2X/9/9d12b09a455b9960da2f72cc9373e8eaf9795d05.png