This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-28
Channels
- # announcements (11)
- # aws (1)
- # babashka (12)
- # babashka-sci-dev (6)
- # beginners (46)
- # biff (15)
- # calva (57)
- # clerk (6)
- # clj-kondo (50)
- # clj-together (1)
- # cljs-dev (14)
- # clojure (89)
- # clojure-doc (1)
- # clojure-europe (36)
- # clojure-nl (1)
- # clojure-norway (50)
- # clojure-spec (4)
- # clojure-uk (1)
- # clojurescript (56)
- # conjure (10)
- # cursive (1)
- # datalevin (2)
- # datomic (3)
- # fulcro (15)
- # honeysql (36)
- # hyperfiddle (74)
- # malli (19)
- # membrane (16)
- # off-topic (33)
- # pathom (6)
- # polylith (2)
- # reagent (14)
- # releases (2)
- # rum (5)
- # shadow-cljs (51)
- # sql (6)
- # tools-build (10)
- # xtdb (6)
Morning
i spent a good part of last year debugging SQLite running from a clojurescript+react-native app on my phone - that was also !@#$
Too big a part of my work is restarting the (slow-to-start, due to networked integrations) REPL due to changes in libraries. Am I doing it wrong? Could I be loading in those libraries in a smarter and faster way?
project.clj
you can change those libraries as part of your project. in deps.edn you would do that with local/root and in lein they have some thing called checkouts.
Yeah, deps is great for changing libs "online" And the start up time is better Also, is there a chance you have things in your dev alias which shouldn't be there? Is there a user.clj file in your project?
@U04V15CAJ you are of course right 😅 I completely forgot about checkouts!
There is no user.clj, @UK0810AQ2. I’m trying to understand your concern - are you hinting at a surplus of libraries causing slow startup time? Because as to restarting, I would have to use checkouts regardless of the amount of libraries, right?
There might be “too many” libs, there certainly are a lot 🙂
Ah. Thank you, @UK0810AQ2! I’m sure there’s room for optimisation in our project.clj in any case, it’s pretty big.
https://practical.li/clojure/clojure-cli/projects/hotload-in-project/#hotload-repl I use this to load when I add new libs... I am not sure what it does if you already have the same lib
Thank you @U02CV2P4J6S ! I'll check it out :hugging_face:
TIL about ferret - a subset of clojure which compiles to c++, designed for real-time embedded systems - you can realistically run clojure on your arduino! https://ferret-lang.org/