|
01:00
sibl joined
02:01
human-blip left
02:03
human-blip joined
02:41
arkiuat left
02:53
arkiuat joined
03:30
human-blip left
03:32
human-blip joined
03:39
human-blip left
03:41
human-blip joined
03:46
human-blip left
03:48
human-blip joined
04:44
sibl left
04:49
sibl joined
04:53
human-blip left
04:55
human-blip joined
08:30
sibl left,
sibl joined
08:59
dakkar joined
09:25
sibl left
09:51
arkiuat left
10:00
mahlay left
10:01
mahlay joined
10:21
arkiuat joined
10:25
arkiuat left
10:56
arkiuat joined
11:00
arkiuat left
11:28
arkiuat joined
11:33
arkiuat left
11:52
arkiuat joined
11:57
arkiuat left
12:12
arkiuat joined
12:17
arkiuat left
12:20
arkiuat joined
12:25
arkiuat left
12:29
arkiuat joined
12:39
arkiuat left
12:51
arkiuat joined
12:59
arkiuat left
13:11
arkiuat joined
13:15
arkiuat left
13:16
arkiuat joined
13:21
arkiuat left
13:36
arkiuat joined
13:50
arkiuat left
14:00
arkiuat joined
14:07
arkiuat left
14:11
arkiuat joined
14:23
arkiuat left
14:32
arkiuat joined
14:37
arkiuat left
14:56
arkiuat joined
15:48
arkiuat left
15:52
arkiuat joined
15:56
arkiuat left
15:57
avuserow left
15:59
avuserow joined
16:06
arkiuat joined
16:18
arkiuat left
16:24
arkiuat joined
16:28
arkiuat left
16:30
arkiuat joined
17:41
dakkar left
18:58
librasteve_ joined
|
|||
| librasteve_ | rakudoweekly.blog/2025/12/08/2025-...s-rolling/ | 19:09 | |
| disbot6 | <aruniecrisps> @librasteve I mulled over our conversation yesterday, we could basically make Air::Components work with Datastar as long as the methods are completely stateless | 19:11 | |
| <aruniecrisps> They just take in input and put out JSON, HTML, etc | 19:12 | ||
| <aruniecrisps> There could also be a trait is datastar or emits datastar | 19:16 | ||
| <librasteve> I did some research (not enough, but enough )to realise that DataStar is a neat way to make in browser components react to data changes ... so I am pretty on board with supporting both HTMX and DataStar in their respective strengths. I guess this means we need a way to specify the compomet initially (eg with method HTML ... but maybe need JS additionally?) and a way to feed data into the component (which I guess we | |||
| already have with HTMX on the client side and method feed-me is controller { return the HTM fragment here } | |||
| <librasteve> yeah, is datastar would be cool ... this is the point when I need demo code to really see the moving parts ;-) | 19:17 | ||
| <aruniecrisps> The thing is Datastar accepts one of four responses; text/event-stream, application/json, text/html, and application/javascript; it just does whatever it needs to do based on that response | 19:18 | ||
| <aruniecrisps> So if it's an SSE response then it just executes each event ad necessary | 19:19 | ||
| <aruniecrisps> If its HTML it does the same thing as HTMX | |||
| <aruniecrisps> If its JSON it patches the signals defined in the HTML | |||
| <librasteve> yeah, well is controller is parameterised such as is controller[:C:R:U:D], so can follow that pattern | |||
| <librasteve> my preference would be to sitck to HTML initially (since that is well aligned to HTMX) | 19:20 | ||
| <aruniecrisps> My idea for is datastar is that it just wraps whatever is in the method body in datastar, and like is controller we could parametrize it on the keyword to automatically place content 'text/html', $response at the end | 19:22 | ||
| <aruniecrisps> In the datastar block | |||
| <librasteve> cool | 19:23 | ||
| <aruniecrisps> So like is datastar(:html) | 19:24 | ||
| <aruniecrisps> Or is datastar(:json) | |||
| <librasteve> @antononcube I haev taken a look at your Hilite::Simple in the new advent post and I can't understand what you are doing with it ... the only purpose of Hilite::Simple that I know of is you go > hilite myscript.raku > myscript.html and then post the output in a Custom HTML block in Wordpress - so not sure why you have it in your code??? Anyway, no big deal, I have left in B+W and OK for publish tomorrow... | 19:26 | ||
|
19:27
arkiuat left
19:35
arkiuat joined
19:40
arkiuat left
19:53
arkiuat joined
19:57
arkiuat left
20:05
arkiuat joined
20:10
arkiuat left
20:27
arkiuat joined
20:31
arkiuat left
20:38
arkiuat joined
|
|||
| disbot6 | <antononcube> @librasteve Yes, using "Custom HTML" block works. | 21:35 | |
|
22:20
avuserow left
|
|||
| disbot6 | <librasteve> @aruniecrisps ++ | 22:22 | |