This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-27
Channels
- # announcements (8)
- # babashka (11)
- # beginners (34)
- # clerk (11)
- # clj-http (2)
- # clojure (5)
- # clojure-europe (9)
- # clojure-gamedev (1)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-poland (1)
- # clojure-sweden (5)
- # clojure-uk (9)
- # clojurescript (17)
- # core-typed (12)
- # cursive (4)
- # datahike (4)
- # datalevin (2)
- # datomic (7)
- # emacs (8)
- # events (8)
- # graphql (5)
- # gratitude (1)
- # hyperfiddle (19)
- # jobs-discuss (4)
- # leiningen (4)
- # lsp (21)
- # meander (2)
- # off-topic (9)
- # play-clj (1)
- # polylith (10)
- # releases (1)
- # sci (18)
- # vim (10)
Folks, I created an LLM library called https://github.com/constacts/ragtacts. I made an LLM chat playground example using electric. I received a lot of help from this channel, especially regarding file uploads. https://github.com/constacts/ragtacts/tree/main/examples/playground
I notice that sometimes when I update a .clj
file I have to restart electric to get access to the new function I created. Is this just a requirement or is there something I can do to fix this.
reload-on-save only works on cljc files, shadow doesn't watch clj files. Do you eval the clj file in a clojure REPL?
Yes but I haven’t figured out how to connect the REPL to electric since IC update
This is good to know on how to get the reload on save even if I just do that for development.
cljc files autoreload clj files user needs to reload through the REPL. Setup of that is IDE dependent
e.g. me as a doom emacs user I start the REPL through the setup we used to have in the readme, https://github.com/hyperfiddle/electric/pull/6/files. Then I type (dev/-main)
in the REPL to start shadow and the app
I use calva. Used to do a connect to REPL sequence where I chose generic and typed in 9001 if I remember correctly but that stopped working and I was too lazy to check here on how to get going again
if i name my .clj into .cljc i get free reload hax? can i just wrap everything in one giant reader conditional? lol
Yea the reload thing and how to connect to repl both server and client would be nice to have documented somewhere I feel. Even if not on main repo.
Yea I also don't know how to connect a repl since the latest release
What's the fastest JDK for local dev? Oracle Java?
I saw that and immediately thought of electric clojure . i think having the "data fresh and accurate since this branch id" will be bandwidth saving and it's hard to believe the internet has existed so long without something like this
These document sync technologies are used in applications like Google Docs and other multiplayer editors, the reason we don't see them in other domains is that they are document centric not relational/database centric and thus have scalability issues