Fork me on GitHub
#membrane
<
2023-02-19
>
genekim07:02:56

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

genekim07:02:57

Screenshot of exception from mouse-down event:

phronmophobic07:02:18

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.

phronmophobic07:02:52

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

phronmophobic07:02:17

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.

phronmophobic07:02:16

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.

genekim20:02:18

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!

clojure-spin 1
Ben Sless07:02:36

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

🆒 2
phronmophobic20:02:24

Tinkering with higher level components...

🔥 2
genekim06:02:31

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.

phronmophobic06:02:58

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

phronmophobic06:02:50

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

genekim14:02:45

Holy cow. A buffet of amazing options! 🤯

genekim06:02:31

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.