This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-01
Channels
- # announcements (2)
- # babashka (93)
- # beginners (57)
- # biff (3)
- # cider (7)
- # clerk (5)
- # clj-kondo (9)
- # clojure (26)
- # clojure-austin (1)
- # clojure-bay-area (5)
- # clojure-europe (13)
- # clojure-norway (88)
- # clojure-uk (7)
- # clojurescript (3)
- # cursive (4)
- # datahike (2)
- # datalevin (10)
- # datomic (1)
- # events (4)
- # hyperfiddle (5)
- # jobs (3)
- # lsp (1)
- # malli (4)
- # missionary (3)
- # nrepl (1)
- # off-topic (45)
- # overtone (4)
- # pedestal (4)
- # polylith (13)
- # reitit (15)
- # releases (2)
- # shadow-cljs (30)
- # squint (1)
- # vim (1)
- # xtdb (6)
Why does this code output before the cider startup messages https://tildegit.org/michael/irc-bot/src/branch/master/src/irc_bot/core.clj REPL output: https://paste.rs/LYt0U.clj
I assume its due to
https://tildegit.org/michael/irc-bot/src/branch/master/src/irc_bot/core.clj#L52
evaluating before irc-bot.core
finishes loading
Hey all, I’m seeing an issue with the debugger. I followed the https://docs.cider.mx/cider/troubleshooting.html#debugging-freezes-lock-ups section in the docs and have a backtrace now, but unsure of how to proceed. Here’s the first few lines from the stack trace:
Debugger entered--Lisp error: (quit)
string-width(#(" => {:database-record/datestr \"10312023\", :databas..." 0 8234077 (face (cider-result-overlay-face default))))
(> (string-width display-string) (- (window-width) (current-column)))
(or (string-match "\n." display-string) (> (string-width display-string) (- (window-width) (current-column))))
Looks like related to displaying a big string (result of an xtdb query)?
The offending line in my code is
(let [dbrs (:database-record/body (biff/lookup db :database-record/datestr (ventas-datestr)))]
;; ... )
This is CIDER 1.8.0 in doom emacs. e9936f52432d25fdb2477dc4ec8fe95a7806e784
is the hash I have it pinned at.