🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
SmokeMachine librasteve: github.com/FCO/Cromponent/pull/14 00:00
tellable6 SmokeMachine, I'll pass your message to librasteve_
00:06 librasteve joined
apogee_ntv lizmat: Thanks, do I just transfer it over? Wont changing author break things? 00:32
guifa: I added read (incl all 5 filters)/tExt metadata to Image::PNG::Portable. I plan to make Image::PNG::Native at some point with the same interface but it's libpng through NativeCall. 00:33
Though someone dropped a speed up PR so that might solve my issue (large image batches), who knows?
guifa okay people, bikeshedding time 00:34
my window class will have two special types of methods
one that represents a native-call-like javascript call into the webview
and the other represents a method that's callable *from javascript* (need to mark it because it will be installed with some special handling in the webview) 00:35
method foo is javascript { * } seems fine calling into the webview, but then the reverse isn't obvious. Thought about to-javascript and from-javascript but feel long, to-js is ironically too short. other thought was js-call (into js) and js-callable (from js) but they feel too similar 00:37
SmokeMachine is javascript and is callable-from-js? 00:39
will the methods with no trait work too?
guifa: 👆 00:40
guifa javascript and js-callable I think I'd do with that model, might work but I don't like the imbalance of js / javascript
methods with no trait are just normal class methods
SmokeMachine is using-js and is is-callable? 00:41
js-callable
ja-coded and he-callable
js-callable 00:42
js-coded
is using-js and is usable-by-js 00:43
apogee_ntv outbound-call and inbound-call? 00:47
foo is outbound-call (calling to JS), bar is inbound-call (callable from JS) 00:48
I would focus on whether you're calling out of or into the Raku app, not the language being called.
That seems like the higher order concern. 00:50
SmokeMachine js-native and js-accessible? 00:53
guifa: 👆 00:54
Good night everyone!
apogee_ntv gn 00:55
guifa hmm I I like outbound and inbound 00:56
and it's kind of true the language isn't super relevant, but I also want to be specific enough to avoid potential namesquating down the road (unlikely, but still, I try to future proof lol) 00:57
01:09 librasteve left 01:20 arkiuat left 01:22 librasteve joined 01:27 librasteve left, arkiuat joined 01:28 Aedil left 01:31 arkiuat left
guifa (sadly the traits are still not functional yet, still debating how I'm going to handle the bridge and what, if any, restrictions to place on it 01:34
01:35 arkiuat joined 01:49 hulk joined 01:50 kylese left 01:57 librasteve joined 02:03 librasteve left, mc1 left 02:06 mc1 joined 02:15 hulk left, kylese joined 02:30 librasteve joined 02:34 librasteve left 02:36 nort left 02:47 librasteve joined 02:51 nort joined 02:52 librasteve left 03:19 librasteve joined 03:23 librasteve left 03:45 kylese left 03:46 librasteve joined 03:47 kylese joined 03:50 librasteve left 04:04 librasteve joined 04:08 librasteve left 04:20 librasteve joined 04:24 librasteve left 04:36 librasteve joined 04:46 arkiuat left 04:50 arkiuat joined 04:54 arkiuat left 05:25 arkiuat joined 05:27 nort left 05:29 Aedil joined, arkiuat left 05:58 arkiuat joined 06:03 nort joined, arkiuat left
disbot3 <librasteve> SmokeMachine: I saw it (your merge) - tbh I am scared to try it. ;-) Need to make sure I have some runway in case something breaks... 06:07
06:08 librasteve_ joined 06:09 arkiuat joined 06:13 arkiuat left 06:44 arkiuat joined 06:49 arkiuat left 07:05 mc1 left 07:12 Sgeo left 07:19 arkiuat joined 07:23 arkiuat left 07:26 jjido joined 07:43 arkiuat joined 07:48 arkiuat left 07:57 dakkar joined 07:59 lichtkind joined 08:01 arkiuat joined 08:05 wayland76 joined 08:07 arkiuat left
SmokeMachine librasteve: I plan to my next step to separate the component part from the template parte… that way it will be better to you to use, I suppose… 08:13
08:18 jjido left 08:21 arkiuat joined
SmokeMachine librasteve: you probably don’t need using Cromponent module anymore, you will probably want to change that to Cromponent::Traits (and Cromponent::MetaCromponentRole you already used) 08:24
08:32 arkiuat left 09:03 arkiuat joined 09:08 arkiuat left 09:14 apac joined 09:19 kaskal left, kaskal joined 09:27 librasteve_ left 09:29 arkiuat joined 09:33 arkiuat left 09:45 librasteve left 09:57 librasteve joined 10:03 arkiuat joined 10:08 arkiuat left 10:27 librasteve_ joined
disbot3 <librasteve> thanks for the update ... I'm even more scared now ;-) 10:28
10:30 arkiuat joined
disbot3 <librasteve> guess I'll need to do this before next formal release of Air::Components [checks pinning of deps] 10:31
10:35 arkiuat left 11:02 guifa left 11:03 arkiuat joined 11:08 arkiuat left 11:31 arkiuat joined 11:35 arkiuat left 11:59 librasteve left 12:04 arkiuat joined 12:09 arkiuat left
SmokeMachine librasteve: Cromponents have a big flaw (that’s the next thing I plan to fix) that is not being possible to change the signature of the generated routes… that way, it’s not possible, for example, to make an Cromponent only accessible for logged users… but before fixing that, I’m going to make it possible to pass attributes as part of the path… 12:12
12:27 librasteve joined
disbot3 <librasteve> yeah i am not there with auth yet, but one day soon … (ie the auth patter in the cro docs) … so its very helpful to have Cromponent get better under the hood … I can only consume changes at a certain rate though 12:27
<librasteve> i cross posted to r/htmx and got this comment >>> I went in with an open mind and was immediately slapped in the face with “class Todo does Component” and “method increment is controller”. I’m not sure I can get behind this syntax. 12:29
<librasteve> lol
<librasteve> here’s the post www.reddit.com/r/htmx/s/ZaJ0q41tA3 if anyone wants to go in and join the fun 12:31
12:32 arkiuat joined
lizmat people complaining about readable syntax? what will they think of next? 12:34
12:37 arkiuat left 12:39 arkiuat joined 12:44 jjido joined 12:45 arkiuat left 12:50 yewscion joined
lizmat weekly: raku.land/zef:lizmat/SBOM::CycloneDX 12:55
notable6 lizmat, Noted! (weekly)
13:00 yewscion left 13:03 jjido left 13:12 arkiuat joined 13:17 arkiuat left 13:21 jjido joined 13:27 apac left 13:46 nine left 13:47 nine joined 13:49 arkiuat joined 13:54 arkiuat left
SmokeMachine librasteve: because you plan to use Red, I need to cite it before I forget, but when playing with session, Cro (related or not to components) and Red, you may want to take a look at this: github.com/FCO/Cro-HTTP-Session-Red 14:04
14:17 ACfromTX left 14:18 librasteve left, jjido left 14:22 arkiuat joined 14:25 librasteve joined 14:27 arkiuat left 14:29 ACfromTX joined
disbot3 <librasteve> .oO thanks! 14:31
<librasteve> (just starred it) 14:32
14:50 arkiuat joined 14:54 arkiuat left 15:11 arkiuat joined, vrurg_ left, vrurg joined 15:15 arkiuat left 15:20 jjido joined 15:26 arkiuat joined
librasteve_ notable6: weekly 15:27
tellable6 2025-07-07T00:00:39Z #raku <SmokeMachine> librasteve: github.com/FCO/Cromponent/pull/14
notable6 librasteve_, 3 notes: gist.github.com/13d191736d75330408...4f162f57db
tellable6 hey librasteve_, you have a message: gist.github.com/4a07e9c7fe18788521...7f19778cdc
15:40 Aedil left
librasteve_ notable6: weekly reset 15:42
notable6 librasteve_, Moved existing notes to “weekly_2025-07-07T15:42:14Z”
15:50 jjido left
[Coke] disbot3 is the discord bridge, yes? 16:12
librasteve_ rakudoweekly.blog/2025/07/07/2025-...-language/ 16:24
16:25 Aedil joined 16:31 nort left 16:35 librasteve left 16:42 dakkar left 16:56 nort joined 17:03 jjido joined
[Coke] wonders if anyone else misses going into the office a bit. 17:22
17:37 jjido left
Voldenet office is pain 18:16
18:21 librasteve joined 18:25 arkiuat left 18:26 arkiuat joined 18:31 arkiuat left
ugexe there is not a single thing i miss about going into an office. nothing. 18:31
18:36 librasteve_ left
Voldenet Btw, geany getting raku is awesome news 18:37
when I open an editor and there's no raku hl built into it by default it makes me sad 18:38
18:45 arkiuat joined 18:50 jjido joined 19:03 librasteve left 19:13 abraxxa-home joined 19:14 abraxxa-home left 19:16 abraxxa-home joined 19:38 arkiuat left 19:47 librasteve joined 19:50 sorenson left 19:52 sorenson joined 19:53 arkiuat joined 19:58 arkiuat left 19:59 guifa joined 20:13 librasteve left 20:18 arkiuat joined
tbrowder has anyone tried geany in a shell terminal on a remote linux or macos host? 20:38
ab5tract Isn’t geany a GTK based editor? Are you asking about using X11 remotely? 20:41
21:20 PipStuart joined 21:26 arkiuat left 21:27 lichtkind left
tbrowder yes 21:27
it has a —no-terminal option 21:30
just wondering…
21:38 librasteve joined
Voldenet X11 works very poorly on macos, wouldn't recommend 21:39
21:39 arkiuat joined
Voldenet using vm with regular linux is the sanest option for anything related to x11, I've been on a long windows journey 21:40
and it's the same stuff, but without problems 21:41
21:42 wayland76 left, wayland joined, librasteve left 21:44 arkiuat left 21:45 human-blip left 21:46 human-blip joined
tbrowder ok, i'll pass on it for remote use... 21:49
guifa oooh 22:01
I just got the js to properly call into Raku code
still need to finish packaging things up to be a bit nicer though
22:02 jjido left 22:04 Sgeo joined, arkiuat joined
guifa is there a quick and dirty way to test if a method was declared with { * } ? 22:08
22:08 librasteve joined
guifa it seems like it's actually just an actual whatever there 22:09
22:09 arkiuat left
guifa m: class A { method a { * } }; A.a.WHAT.say 22:09
camelia (Whatever)
22:13 Aedil left 22:15 librasteve left 22:16 vasko4 left 22:21 arkiuat joined 22:22 abraxxa-home left 22:23 vasko4 joined 22:29 arkiuat left, jjido joined 22:30 jjido left 22:54 arkiuat joined 22:58 arkiuat left 23:09 arkiuat joined 23:13 wayland left 23:20 nort left 23:29 arkiuat left 23:46 Guest36 joined 23:50 arkiuat joined 23:55 arkiuat left