You are viewing archived messages.
Go here to search the history.

Martin Sosic 2021-07-13 13:53:30

Getting back to weekly updates!

Last week in Wasp:

Florian Schulz 2021-07-16 08:33:16

Hereā€™s another demo of Ratio, the programming environment Iā€™ve shared last week. In this demo Iā€™m assembling a Code Playground.

To keep it short, I didnā€™t add a block to save the file. But I can show that in another video next week. šŸ™‚

https://vimeo.com/575734037

For context, hereā€™s some background information Iā€™ve shared last week:

https://florianschulz.info/portfolio/writing/programming-with-ratio

Cole Lawrence 2021-07-16 16:28:24

What does the interface for the HtmlRenderer ā€œinstrumentā€ look like? Can I create my own Ratio ā€œinstrumentā€ in Ratio?

Florian Schulz 2021-07-16 16:37:52

Yes you can create your own instruments. Thereā€™s a ā€œ+ Instrumentā€ button at the bottom. You can see how in the first video from last week (end): https://vimeo.com/573378340

Inside the ā€œHTMLRendererā€ thereā€™s essentially only some String Concatenation and iframe rendering going on. If you donā€™t like what it does or how it works, you can edit it or clone it. There can be 100 different renderers with different interfaces.

Same for Sliders. If they share the same inputs/outputs, they can be swapped out. So I could use your awesome slider instead of mine.

Iā€™m not sure about the term instrument vs. blocks vs. tools, but Iā€™m hinting at something there that I want to explore further šŸ™‚

Cole Lawrence 2021-07-16 16:43:06

Would you consider making the left-most ā€œcolumnā€ the ā€œin portsā€ to an instrument and the right-most column the ā€œrenderingā€ / ā€œout portsā€?

I thought you were going to re-use the ā€œLOGOā€ workspace as another instrument šŸ™‚

Cole Lawrence 2021-07-16 16:47:09

Something weā€™re thinking about that you might also find interesting is ā€œPasteā€ identification, so if someone pastes a Tweet URL, it could automatically suggest a Tweet Viewer or a Webpage Renderer

Cole Lawrence 2021-07-16 16:48:15

It looks like you might have already been thinking about this based on:

Various mechanisms for abstraction (wire up something, then copy the resulting block elsewhere), collapse blocks to hide data/UI, combine low level blocks (many inputs) into larger blocks (few inputs)

Florian Schulz 2021-07-16 16:51:25

Yes! I think e.g dragging a wire dropping it should show a filtered list of blocks that match the port type. Also the left/right side is something I thought about but havenā€™t settled on. Thanks for the feedback!

Cole Lawrence 2021-07-16 16:52:21

RTL languages could be a presentational change of just flipping the column order.

Cole Lawrence 2021-07-16 16:59:42

This is really neat work @Florian Schulz. I will be curious to see how your type-system evolves, so you can reasonably support higher-level integration with third-party APIs or media manipulation.