Fork me on GitHub
#membrane
<
2021-06-24
>
genekim03:06:17

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

phronmophobic03:06:42

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!

genekim05:06:28

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

phronmophobic05:06:53

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

phronmophobic05:06:34

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

genekim05:06:39

Wow — checking now! Thank you!!!

genekim05:06:11

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

bananadance 2