Catalyst - Ain't It The Truth
#JazzDeVille #Dance #NowPlaying #Catalyst

You know how you’re in the middle of a process and you refresh a web page and it loses state?

So that sucks.

With Kitten¹ – when using the new state-maintaining/class-based and event model-based component model – it’s easy to have flowing interfaces that animate between states, etc., that don’t lose state if you refresh the page (or open another tab).

What you can’t do on the Web, however, is restore the state of any cross-origin iframes. (As you have no visibility into their contents to take a snapshot, etc.)

This is something I ran into with the embedded Stripe component I’m using in Catalyst². Specifically, it has a success state that I want to restore so the interface, which uses selective disclosure and has animated to that step in the sign up process, doesn’t jump if you refresh it or look different if you open it in another tab.

So what do you do if you’re obsessed with making things work as well as possible?

Apparently, this:

1. You go and manually save the Stripe iframe’s HTML and relevant CSS

2. You notice that it is ~371KB in size and you sigh

3. You use a combination of automated and manual methods to whittle that down to a 4.2KB HTML/CSS snapshot of the state.

4. You make that into a Kitten component³ so you can set the bits that are dynamic⁴

5. You make sure that it matches the original exactly using PixelSnap 2 guides⁵ (see screenshot; and yes, I told you I’m obsessed) :)

6. Et voila!

🤷‍♂️

¹ https://kitten.small-web.org
² https://catalyst.small-web.org
³ https://kitten.small-web.org/tutorials/components-and-fragments/
https://codeberg.org/project-catalyst/app/src/commit/a3cf136f3670a9e2954a35d5b3aa227969f22eaf/sign-up/SuccessfulStripeSubscription.fragment.js
https://pixelsnap.com

#Catalyst #SmallWeb #design #Stripe #iframes #stateRestoration #web #dev

Catalyst - Ain't It The Truth
#JazzDeVille #Dance #NowPlaying #Catalyst
Catalyst - Ain't It The Truth
#JazzDeVille #Dance #NowPlaying #Catalyst
Catalyst - Ain't It The Truth
#JazzDeVille #Dance #NowPlaying #Catalyst
BASF has launched the world's first industrial-scale 3D printed catalyst plant in Ludwigshafen, Germany. The facility marks a major milestone for industrial additive manufacturing in chemical production, demonstrating the scalability of 3D printing for critical industrial components. https://3dprinting.com/news/basf-starts-up-worlds-first-industrial-scale-3d-printed-catalyst-plant-in-ludwigshafen/ #3Dprint #3Dprinting #BASF #Catalyst
BASF Starts Up World's First Industrial-Scale 3D Printed Catalyst Plant in Ludwigshafen - 3D Printing

BASF commissioned the world's first production plant for 3D-printed catalysts, bringing X3D technology to full industrial scale

3D Printing
Catalyst - Ain't It The Truth
#JazzDeVille #Dance #NowPlaying #Catalyst
Catalyst - Ain't It The Truth
#JazzDeVille #Dance #NowPlaying #Catalyst
Enzymes work as 'Maxwell's demon' by using memory stored as motion

Living cells are sustained by countless chemical reactions that must be carefully regulated to maintain internal order and function. Enzymes play a central role in this process, accelerating reactions that would otherwise proceed too slowly to support life.

Phys.org

Catalyst-Agent: Autonomous heterogeneous catalyst screening and optimization with an LLM Agent

#Chemistry #LLM #Catalyst

https://hgpu.org/?p=30641

Catalyst-Agent: Autonomous heterogeneous catalyst screening and optimization with an LLM Agent

The discovery of novel catalysts tailored for particular applications is a major challenge for the twenty-first century. Traditional methods for this include time-consuming and expensive experiment…

hgpu.org