00:23 rmv left 01:02 lizmat left 01:03 rmv joined 01:06 wayland left, wayland joined 01:08 dmvrtx left 01:09 rmv left 01:13 dmvrtx joined 01:25 rmv joined 01:31 rmv left 01:42 hulk joined 01:43 kylese left 02:08 dmvrtx left 02:12 dmvrtx joined 02:15 hulk left, kylese joined 03:00 rmv joined, rmv left, rmv joined 03:04 rmv left 03:10 apogee_ntv left 03:12 apogee_ntv joined
librasteve I have used claude to good effect with Air … that’s a framework of sorts … right now it is focused on Pico CSS so you have to like that UI (i choose to use Pico since I am not good at UI too) … soon I will add (custom) Themes 03:16
04:19 Guest20 joined 04:36 Guest20 left 04:46 topnep left, topnep joined 05:08 wayland left 05:15 vasko45355861 left 05:17 vasko45355861 joined 06:21 rmv joined 06:25 rmv left 06:37 ShimmerFairy left 06:38 ShimmerFairy joined 06:42 Sgeo left 06:49 abraxxa joined 06:50 topnep left 06:51 topnep joined 06:59 abraxxa left, abraxxa joined 07:11 atcroft left 07:13 lizmat_ left 07:14 lizmat joined 07:55 dakkar joined 07:56 leppard joined 08:47 rmv joined 08:53 rmv left 09:26 leppard left, leppard joined, leppard left 09:36 sp1983 joined
sp1983 Voldenet: I've added new checks request by you - gist.github.com/melezhik/9aff096ff...a341cd0d5b 09:37
09:53 sp1983 left 10:13 librasteve_ joined
El_Che everyhting is built, but cloudsmith need to create a few repo's 10:14
normally it's done fast 10:15
lizmat El_Che+
10:33 leppard joined 11:00 rmv joined, rmv left, rmv joined 11:01 topnep left 11:03 topnep joined 11:05 rmv left
librasteve + 11:08
11:52 guifa joined 12:07 leppard left 12:08 rmv joined, rmv left, rmv joined 12:13 dakkar left 12:14 dakkar joined 12:22 librasteve_ left, leppard joined 13:07 topnep left 13:08 topnep joined 13:40 atcroft joined 14:38 leppard|2 joined 14:41 leppard left 15:57 abraxxa left 16:31 dakkar left 16:34 pippo joined 16:52 pippo left 16:53 acidsys left 16:55 acidsys joined 17:12 human-blip left 17:13 human-blip joined 17:23 acidsys left 17:25 acidsys joined 18:09 abraxxa joined 18:18 rmv left 18:55 rmv joined, rmv left, rmv joined 19:23 topnep left 19:26 topnep joined 20:23 swaggboi left 20:26 swaggboi joined 20:35 ShimmerFairy left, ShimmerFairy joined
[Coke] I have a class, declaring a has $.thing - I want to initialize this right here at the declaration, it's an almost-never changing piece of config and I don't want to have to set it during the BUILD. any options? 20:40
(also it is using $?FILE)
ah, I want "is default" 20:42
Thanks, rubber ducks.
Voldenet you can set it right at the declaration 20:54
m: class Thing { has $.thing = now }; for ^3 { Thing.new.thing.say; Thing.new(thing => $_).say } 20:55
camelia Instant:1783457741.042075846
Thing.new(thing => 0)
Instant:1783457741.046650267
Thing.new(thing => 1)
Instant:1783457741.046862449
Thing.new(thing => 2)
Voldenet unless I misunderstood the question 20:56
[Coke] Yes, that didn't work for some reason. 21:13
ended up with a value of Any
was $.json-file = $?FILE.IO.parent(3).add(<some path to file.json>); 21:14
and then referring to it in the BUILD submethod, it was unset. I can see if I can craft an example.
m: class T { has $.json-file = $?FILE.IO.add(<what the>); submethod BUILD() { say $!json-file }}; T.new; 21:18
camelia (Any)
[Coke] Presumably the issue is with the fact that I'm also using BUILD 21:19
(i have another $. that requires the json file to work) 21:20
m: class T { has $.json-file is default($?FILE.IO.add(<what the>)); submethod BUILD() { say $!json-file }}; T.new; 21:26
camelia "<tmp>/what/the".IO
ugexe you could also use TWEAK instead of BUILD to make it work 21:28
Voldenet default may not work as expected 21:29
m: class T { has $.json-file is default(now); submethod BUILD { say $!json-file }}; for ^3 { T.new; } 21:30
camelia Instant:1783459839.071174297
Instant:1783459839.071174297
Instant:1783459839.071174297
21:30 topnep left
Voldenet m: class X { has $.a is rw = 3; }; class T { has $.json-file is default(X.new); submethod BUILD { say $!json-file; $!json-file.a = 4 }}; for ^3 { T.new; } 21:30
camelia X.new(a => 3)
X.new(a => 4)
X.new(a => 4)
Voldenet ymmv
m: class T { has $.json-file = $?FILE.IO.add(<what the>); submethod TWEAK { say $!json-file }}; T.new; 21:31
camelia "<tmp>/what/the".IO
21:31 topnep joined
[Coke] switched over from BUILD to TWEAK, thanks. 21:44
21:48 sergot left 21:57 Sgeo joined 21:58 abraxxa left 22:37 jjido joined 23:01 apogee_ntv left 23:02 apogee_ntv joined 23:28 jjido23 joined 23:30 jjido left 23:32 jjido23 is now known as jjido 23:36 dustinm` left 23:50 jjido left 23:57 dustinm`_ joined