This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-07
Channels
- # architecture (35)
- # babashka (9)
- # beginners (31)
- # biff (15)
- # calva (8)
- # catalyst (3)
- # cider (7)
- # clerk (4)
- # clj-kondo (24)
- # clj-yaml (10)
- # clojure (58)
- # clojure-europe (65)
- # clojure-japan (1)
- # clojure-nl (1)
- # clojure-norway (89)
- # clojure-spec (1)
- # clojure-sweden (1)
- # clojure-uk (8)
- # clojurescript (14)
- # cursive (3)
- # datahike (1)
- # datomic (29)
- # emacs (8)
- # graalvm (20)
- # graphql (1)
- # gratitude (2)
- # helix (6)
- # hyperfiddle (65)
- # jobs-discuss (7)
- # leiningen (1)
- # lsp (6)
- # malli (14)
- # missionary (12)
- # nrepl (8)
- # off-topic (24)
- # polylith (29)
- # reagent (14)
- # sci (14)
- # shadow-cljs (6)
- # spacemacs (10)
- # sql (4)
Should this go in #announcements? https://openai.com/blog/announcing-openai-devday
I bet the DALL-E generative art derpartment were miffed that they chose that image over all the millions of DALL-E images that have been generated.
Anyone planning to go to the event or watch it online? SamA has said they won’t be announcing GPT 4.5 or GPT 5.
I’m planning on watching — on several levels. Their AGI quest could spoil things in lots of ways. The “perfect” always destroys the useful and parodies itself.
Yes, I guess I was!
I've authored a Lisp/Clojure variant to simplify syntax, add typing-safety, add generics, add full native language support, integrate test/documentation, and enable cross-platform compilation from a single execuatble. It can currently compile to Js, Java, and C++. Anything of interest to the Clojure community? https://github.com/Vyridian/vxlisp Sample: (func foo : int // function foo() returns integer [arg1 : int // arg1 arg2 : int] // arg2 (+ arg1 arg2) // arg1 + arg2 :test (test 3 (foo 1 2)) // A Test case {expect: 3, actual: {foo 1 2}} :doc "Foo function returns an integer after adding arg1 and arg2")
this is interesting! seems like a lot of the documentation is missing code blocks, which makes reading it a little hard.
sigh Just had issues with getting a REPL running in Calva, and assumed something had broken. Sat and typed out a big detailed step by step guide on how to reproduce in Calva before I submit to #CBE668G4R I entered what I did before, that worked, what I'm doing now, the error message I'm getting and what I'm expecting to happen. Then on re-reading, I realized I'm an idiot and I was doing something wrong and there is no problem at all. I rubber ducked myself, sometimes we waste so much time on just daft mistakes...

I am definitively sure you got something too! May I ask why you assumed something had broken. I don't think "idiot" can explain it.😜 (you don't have to answer, I am just out of curiosity, and want to ask a "socratic method" question.
I had lost the ability to connect to a shadow-cljs repl, normally in vs code my workflow would be to open vs code terminal, and then run sudo shadow-cljs watch app.
Browse to localhost:8080,
Then click on REPL in Vscode and select connect to a running repl in your project
and select shadow-cljs
, select :app
and I'd have a working repl. Yay!
I was trying to do this, but now my option to select shadow-cljs had disappeared. Instead I could select shadow-cljs only when I select connect to a running repl outside your repl, but this wasn't working and wouldn't connect.
I had forgot that I had opened VS code one folder up in my structure a few days ago to work on some release script, and from then had just re-opened vs code and continued working, not realising I was in the wrong folder.
Now, I don't know why I was able to run my sudo shadow-cljs watch app, one folder up and have it work! I guess terminal remembers the folder it was in (one level down), last time it was opened, rather than open in the folder vscode has opened, and this maybe was further misleading me. Annoying if so.
Yes, probably the terminal was in the right directory. I’ve done things like that many times. It can get a bit dangerous. It’s the only downside I see with the integrated terminals, which I otherwise am a big fan of.
It's complicated.... In this project I'm using a react component, but it needs built. So I had to install and get webpack working, and i build the js part and the cljs part separately. It took hours to get it all working, and the only way I eventually got it working was to run all the js side stuff with sudo. But now I have to run shadow-cljs with sudo now too, else it doesn't work. I don't like it, but the webpack stuff was such a headache that I just put up with it now, as I don't want to go through all that again. I just tried to find the command I ran to get it all working, but I've forgotten to take note of it, which is going to be a headache at some point, figuring it out again 😞
Sounds terribly dangerous.
Chances are, you intentionally or accidentally used sudo
once in that project and now some webpack or npm-related stuff doesn't work because it can't write to some file. I would strongly suggest fixing it at the earliest because running npm-related stuff with sudo
is basically handing out free footguns that are targeted only at your feet, at all times.
Oh, and by keeping using sudo
in that manner you will likely make other things impossible to run without sudo
as well - again, just because something created some file that some other process might need to write to or delete.
> I was trying to do this, but now my option to select shadow-cljs had disappeared. Instead I could select shadow-cljs only when I select connect to a running repl outside your repl, but this wasn't working and wouldn't connect. I am still curious about this part. Did this make you believe the calva went wrong? What do you think this make you believe that? (I guess I would make the same assumption supposing the plugin would update automatically) Could others share your thoughts on this situation? how would you debug and realise the folder issue?