This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-09
Channels
- # announcements (3)
- # babashka (1)
- # beginners (66)
- # clj-kondo (2)
- # cljdoc (46)
- # cljs-dev (7)
- # clojure (16)
- # clojure-australia (2)
- # clojure-china (1)
- # clojure-europe (3)
- # clojure-hk (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-sg (1)
- # clojure-taiwan (1)
- # clojurescript (4)
- # community-development (53)
- # conjure (6)
- # css (7)
- # cursive (6)
- # datascript (1)
- # datomic (5)
- # exercism (5)
- # graalvm (12)
- # helix (8)
- # jobs-rus (1)
- # kaocha (1)
- # lsp (19)
- # nrepl (1)
- # overtone (2)
- # pedestal (1)
- # polylith (2)
- # portal (2)
- # react (25)
- # reagent (1)
- # shadow-cljs (7)
- # spacemacs (8)
- # vim (9)
Seems like if I try evaluating (ns-publics overtone.live)
it hangs up emacs for a super long time.
Looks like this is indeed a spacemacs issue, as I don't seem to have this issue when I run in lsp-mode or cider on my minimal config.
Is there a Clojure project or code example / setup that I can try reproduce the issue? What OS is this on? I seem to recall different audio setups between Linux, Macos, etc It's been a decade since I did overtone, the main problems I had were with the audio interface on the operating system locking up randomly
This is literally all you need to do in order to reproduce this. I'm on Linux right now, I'd test on other OSes if I could.
(ns test-project.core
(:use [overtone.live]))
(ns-publics 'overtone.live)
So can overtone work without running a jack Daemon now? If not, what is the setup used?
Have you tried to require overtone with an alias instead of use?
I don't understand the last part of the question where you say the issue is not there when running LSP or Cider?
When `(:use [overtone.live]) is evaluated it will try start a local supercollider and try to connect to the jackd daemon (through alsa or pulseaudio, which ever has been set up - assume pulseaudio is needed on the last few years of Ubuntu Linux - that seems quite a fiddly setup) If the connection to jackd fails, then the REPL process will most likely terminate (mine does). Overtone is also quite sensitive to JVM options and wouldnt be surprised if there are issues if running a JVM other than from Java 8. I am not able to get the server to run when using through the command line, so have no way at the moment to replicate this issue. I would recommend uising https://ubuntustudio.org/ rather than Ubuntu to develop with Overtone, as it comes configured with jack.
Did anybody experience evil mode macro recording/replay issues? They sometimes mess up what they output so I created this issue. Does anyone else have problems? They could be connected to mine: https://github.com/syl20bnr/spacemacs/issues/15457