membrane

https://github.com/phronmophobic/membrane
genekim 2021-06-24T03:57:17.001200Z

@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!

phronmophobic 2021-06-24T03:58:42.002100Z

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!

genekim 2021-06-24T05:37:28.005200Z

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/
:
:

phronmophobic 2021-06-24T05:43:53.005600Z

yea, it should be fixed with a newer version of membrane. one sec

phronmophobic 2021-06-24T05:51:15.006400Z

Ok, just pushed a commit that updates the dependencies, https://github.com/phronmophobic/membrane-fulcro/commit/07a5f304a4143d64c13771917bbc7acaaff7085f

phronmophobic 2021-06-24T05:51:34.006700Z

It should work on M1 Mac if you pull the latest.

genekim 2021-06-24T05:53:39.007Z

Wow — checking now! Thank you!!!

genekim 2021-06-24T05:55:11.007400Z

Wow! It works! Thank you!! Can’t wait to check this out more tomorrow — catch you soon!

1