Fork me on GitHub
#clojure-europe
<
2023-05-10
>
otfrom07:05:09

madainn mhath

imre07:05:10

Jó reggelt

ray10:05:43

Morning

reefersleep11:05:51

I'm having trouble running figwheel (not figwheel-main) in both the terminal and Cursive on my new M1 mac. Getting no error in the Cursive REPL after a succesful build and no prompt, but in the terminal, I get a looooong stacktrace, where I think the most important info is this:

Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/k4/6_gfzwc524xfk3r_blf6qqm80000gn/T/jna5990386747980808100.tmp: dlopen(/private/var/folders/k4/6_gfzwc524xfk3r_blf6qqm80000gn/T/jna5990386747980808100.tmp, 0x0001): tried: '/private/var/folders/k4/6_gfzwc524xfk3r_blf6qqm80000gn/T/jna5990386747980808100.tmp' (fat file, but missing compatible architecture (have (unknown,i386,x86_64), need (arm64e)))
I have openjdk20, which seems suitable for my M1:
% file $(brew --prefix openjdk)/bin/java     
/opt/homebrew/opt/openjdk/bin/java: Mach-O 64-bit executable arm64
Anyone have any experience with trouble like this? I asked in #figwheel but I'm getting no responses

reefersleep11:05:28

I'll try #CALJ3BFLP

☝️ 1
simongray11:05:55

time to switch to shadow-cljs 😛

metal 2
reefersleep11:05:23

or at least figwheel-main 🙂

😅 1
Daniel Craig15:05:25

shadow cljs is awesome

1
pez15:05:26

Yes it’s awesome af! And I really appreciate how Thomas Heller is supporting in #C6N245JGG.

1
reefersleep06:05:23

@U0ETXRFEW did I say something funny by mistake? 😅

reefersleep06:05:07

Other than Heller's support, what do you like about shadow cljs? @USDPTD3FY @U0ETXRFEW

pez06:05:40

@U0AQ3HP9U I thought the radio silence trying to get help with #C1A38UB5X was telling you to consider shadow-cljs. As I remember things it’s not easy to get much help in #CALJ3BFLP either.

reefersleep06:05:12

Oh, that's too bad. Did Bruce Hauer abandon his project(s)?

reefersleep06:05:41

I don't know if figwheel was first in doing what it did, but it was my first experience with hot reloading, and thus, pretty legendary in my book 🙂

pez06:05:25

Oh, legendary it is.

pez06:05:00

I don’t think it is abandoned.

pez06:05:18

Well legacy figwheel is legacy, but Figwheel Main is still maintained, I think. But the user support is not on Thomas Heller level.

pez07:05:21

I like how shadow-cljs embraces npm and it’s eco system. And how it influences ClojureScript to do the same.

pez07:05:42

influences/forces, whichever word you fancy best 😃

reefersleep07:05:33

I've had pains upgrading a js lib dependency in our project, not because of how we depend on it via exports/cljsjs/whateveritwas (so much... it'd be easier with direct npm dependence, of course), but because the js lib had changed so much between the versions. Damn annoying. The clj world is known for stability, and the js world for the opposite. Have you experienced the influence of js in this regard?

pez13:05:42

Not a ton, actually. But I know the problem is for real.

simongray13:05:07

It doesn’t solve that problem, no, but it does solve ClojureScript compilation and the integration with NPM in a very nice way, by simply allowing you to use NPM and e.g. deps.edn as you normally would, just leaving shadow-cljs.edn as a few lines of compiler glue. And yeah, Thomas Heller’s support is on another level. I’m pretty sure he must has some automated keyword search thing going on, because he magically appears in every channel when people start discussing issues with shadow-cljs and immediately starts supporting them. 😁

🏆 2
reefersleep09:05:49

inb4 Cognitect releases an orthodox, blessed lib that derails shadowcljs

reefersleep13:05:34

oh btw, good morning

👋 8
1
schmalz15:05:11

Morning all.