This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-24
Channels
- # babashka (11)
- # beginners (62)
- # calva (9)
- # cider (7)
- # clj-kondo (18)
- # cljfx (2)
- # cljsrn (4)
- # clojure (55)
- # clojure-australia (3)
- # clojure-dev (2)
- # clojure-europe (39)
- # clojure-italy (3)
- # clojure-nl (3)
- # clojure-spec (5)
- # clojure-uk (5)
- # clojured (7)
- # clojurescript (16)
- # clojureverse-ops (2)
- # conjure (22)
- # cursive (12)
- # data-science (13)
- # datomic (8)
- # duct (7)
- # emacs (11)
- # events (1)
- # fulcro (12)
- # helix (10)
- # integrant (21)
- # introduce-yourself (5)
- # jobs (2)
- # jobs-discuss (16)
- # lsp (1)
- # malli (5)
- # meander (7)
- # membrane (9)
- # pathom (9)
- # reitit (5)
- # releases (3)
- # ring (2)
- # sci (18)
- # shadow-cljs (35)
- # sql (15)
@smith.adriane was just checking out https://github.com/phronmophobic/membrane-fulcro/blob/main/src/com/phronemophobic/todo.clj Holy cow. It’s so beautiful and succinct! I’m a bit in awe of how concise it all is!
to be honest, fulcro is doing all the work in that example. I wouldn't even be surprised if a fulcro expert could improve it further!
You may find comparisons with https://github.com/phronmophobic/membrane-re-frame-example/blob/master/src/membrane_re_frame_example/views.clj and and https://github.com/phronmophobic/membrane/blob/master/src/membrane/example/todo.cljc interesting
Totally — I was startled by how much smaller fulcro version was compared to re-frame. You may recall I built a membrane re-frame version of an app about a year ago. In fact, I’m trying to get it to run right now, and am getting a library loading error on M1 Mac — any chance you know an easy fix for this? THANK YOU!
membrane-fulcro % clj -M -m com.phronemophobic.todo
Execution error (UnsatisfiedLinkError) at com.sun.jna.NativeLibrary/loadLibrary (NativeLibrary.java:302).
Unable to load library 'GL':
dlopen(libGL.dylib, 9): image not found
dlopen(libGL.dylib, 9): image not found
Native library (darwin/libGL.dylib) not found in resource path (src:resources:/Users/genekim/.m2/repository/com/fulcrologic/fulcro/3.4.10/fulcro-3.4.10.jar:/Users/genekim/.m2/repository/com/googlecode/lanterna/lanterna/3.0.2/lanterna-3.0.2.jar:/Users/genekim/.m2/repository/com/phronemophobic/membrane/0.9.22-beta/membrane-0.9.22-beta.jar:/Users/genekim/
:
:
yea, it should be fixed with a newer version of membrane. one sec
Ok, just pushed a commit that updates the dependencies, https://github.com/phronmophobic/membrane-fulcro/commit/07a5f304a4143d64c13771917bbc7acaaff7085f
It should work on M1 Mac if you pull the latest.