membrane

phronmophobic 2023-02-19T20:14:24.428809Z

Tinkering with higher level components...

🔥 2
genekim 2023-02-28T14:35:45.677949Z

Holy cow. A buffet of amazing options! 🤯

genekim 2023-02-28T06:46:31.031159Z

So cool! But what in the world is being demonstrated here? Is that a media / video player being played inside membrane / skia? (With resizable windows?) If so, that’s so cool! I’d be interested in the media player , even without window resizing! (If so, what timing! I was just reading up on media players, trying to figure out if they’re provided by skia (no), or javafx/openers (yes)) Intended use case: potentially browsing photos and videos from google photos API or Apple photos database. Not urgent or high priority. Just lots of fun projects coming to mind, given dramatically lowered bar that membrane enables.

phronmophobic 2023-02-28T06:50:58.107419Z

Those are multiple web browser instances, https://github.com/phronmophobic/clj-cef.

phronmophobic 2023-02-28T06:51:50.906729Z

Images are pretty easy. Videos are possible, but still a WIP, https://github.com/phronmophobic/clj-media

genekim 2023-02-19T07:04:56.169029Z

Hi, @smith.adriane — great talking again today! I cleaned up the code some, and everything seems to be working — except, now I’m getting an exception when I mouse-down in the number-slider control. Here’s a 3 minute video, showing the error, and how to start up the app. (Significantly simplified from before — can be done entirely in the membrane-ui ns, with about 10 keystrokes, 4 forms, I think!) Video here, and I’ll post the link to git repo of where to look. Thanks again! https://capture.dropbox.com/mZH3Uc33B5tMUCE9

genekim 2023-02-19T20:01:18.973739Z

Fantastic! It works!!! So lovely! I’m feeling mush fresher today — want to spend 90m and see how far I can go. Gotta fix state machine, and then want to create a couple more buttons to show different scheduling algorithms. Catch you soon, and THANKS AGAIN!

1
genekim 2023-02-19T07:06:57.492379Z

Screenshot of exception from mouse-down event:

phronmophobic 2023-02-19T07:14:18.312309Z

I'm pretty sure the problem is that it doesn't know how to update the frame since the frame is derived from the frame prop via the parse-framenum function.

phronmophobic 2023-02-19T07:14:52.908479Z

I think I know a workaround, but I'll have to think through what the "right" fix should be.

phronmophobic 2023-02-19T07:22:17.746959Z

ok, just made a pull request with the workaround, https://github.com/realgenekim/simulator-couch-paint/pull/3. I don't expect the change to make any sense.

phronmophobic 2023-02-19T07:29:16.611059Z

I think there's a number of improvements that could be made to better support this use case: • better docs • better error messages • updated behavior Better error messages would definitely help. I'll have to contemplate a bit about what kinds of docs or code changes could help.

Ben Sless 2023-02-19T07:48:36.636949Z

Looking at how nested components get I'm going to abuse the reverse threading macros and see how it goes

🆒 1