This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-19
Channels
- # bangalore-clj (2)
- # beginners (217)
- # boot (3)
- # cider (130)
- # cljs-dev (117)
- # cljsrn (11)
- # clojure (99)
- # clojure-china (1)
- # clojure-denver (1)
- # clojure-dev (22)
- # clojure-italy (30)
- # clojure-norway (5)
- # clojure-russia (13)
- # clojure-sanfrancisco (3)
- # clojure-spec (74)
- # clojure-uk (107)
- # clojurescript (40)
- # clr (6)
- # core-async (25)
- # core-logic (4)
- # cursive (1)
- # data-science (1)
- # datomic (62)
- # duct (11)
- # editors (14)
- # figwheel (3)
- # fulcro (12)
- # funcool (1)
- # garden (12)
- # graphql (19)
- # jobs (4)
- # jobs-rus (1)
- # lein-figwheel (1)
- # leiningen (12)
- # luminus (5)
- # off-topic (45)
- # onyx (12)
- # other-languages (1)
- # parinfer (5)
- # programming-beginners (3)
- # re-frame (113)
- # reagent (63)
- # remote-jobs (10)
- # ring-swagger (1)
- # shadow-cljs (31)
- # slack-help (3)
- # spacemacs (27)
- # specter (1)
- # unrepl (44)
- # yada (16)
10-wide, 7-deep by default is still huge: if one prints a bomb (a tree with a branching factor of 10) it yields 10^7 nodes without a single elision....
like an absolute maximum per print?
is it even possible to have a global max, given that print is implemented recursively?
or you can be pure and gives each recursive call its allowance (which will be dubdivided etc.)
The actual problem is that @gcast reports hanging all clients with the return value of datomic/transact
.
oh yeah I remember having that problem too
not with unrepl but before
Rather than sprinkling (set! bottle-of-beers (dec bottle-of-beers))
everywhere is to use the output stream
I think that's a good "last resort" thing
although it should still close quotes, parentheses etc..
it would still crash on super-long strings...
sure: it’s not that the output stram would refuse printing but it would set a flag (that the printer would check in the same way it checks other limits) before recursing
right forgot about that
@U08KSP3CL I think compliment is the maintained completion library
@U08KSP3CL But compliment is what cider uses, all very well tested
It does superior sorting in my opinion. It caches things to make them faster for subsequent calls.
I really hate that I haven't been able to turn it off for deoplete and ncm. Compliment does nice stuff like j.u.d => java.util.Date
@U09LZR36F There you go. Not well tested. Late night commit....