01:08 arkiuat left 01:11 arkiuat joined 01:20 arkiuat left 01:36 arkiuat joined 01:42 arkiuat left 01:44 arkiuat joined 02:06 Pixi left, ShimmerFairy left 02:13 Pixi joined 02:47 Pixi left 03:01 Pixi joined 03:41 ShimmerFairy joined 04:11 arkiuat left 04:24 arkiuat joined 04:29 arkiuat left 04:41 arkiuat joined 04:46 arkiuat left 04:53 kjp left 04:55 arkiuat joined 05:01 kjp joined 06:57 arkiuat left 07:11 arkiuat joined 07:15 arkiuat left 07:43 arkiuat joined 07:49 arkiuat left 08:17 arkiuat joined 08:22 arkiuat left 09:11 arkiuat joined 09:16 arkiuat left 09:38 arkiuat joined 09:43 arkiuat left 09:56 arkiuat joined 10:00 arkiuat left 10:13 arkiuat joined 10:17 arkiuat left 10:29 arkiuat joined, librasteve_ joined 10:35 arkiuat left 10:39 arkiuat joined 10:44 arkiuat left 10:56 arkiuat joined 11:01 arkiuat left 11:13 arkiuat joined 11:18 arkiuat left 11:30 arkiuat joined 11:36 arkiuat left 11:40 arkiuat joined 11:57 arkiuat left 12:11 arkiuat joined 12:15 arkiuat left
disbot7 <dr.shuppet> Oh you are already aware about the breakage, I just opened an issue for it because it failed for us in T2 Linux 12:27
12:27 arkiuat joined
disbot7 <dr.shuppet> We have automation for hotfixes that can patch it for the single release and that will auto-remove it when unneeded, just publish the patch 12:28
12:32 arkiuat left
patrickb Cool! I hope to do so in about 7 hours. 12:35
Thanks everyone for being so flexible!
lizmat github.com/MoarVM/MoarVM/issues/19...3681931568
patrickb: looking at t/04-nativecall/26-varargs.t 12:44
is there a reason each of the subs there needs to take 0 as the first argument? Couldn't you just have "sub foo(**@varargs) is native { * }" ?? 12:45
12:50 arkiuat joined
lizmat asking for a 2025 Review writer :-) 12:51
12:55 arkiuat left 12:56 arkiuat joined 13:01 arkiuat left
patrickb it's a C requirement that you have at least one non variadic leading arg. That makes sense, because in order to use he variadic args in the callee, one needs to pass the address of that leading non variadic arg. 13:13
lizmat: thanks for jumping in and doing the communication! 13:14
lizmat patrickb: ok, so why not hide that?
ah, I guess you can actually add meaning to that argument if you want to 13:15
patrickb a good example is printf, which has that leading arg be the format string. 13:17
or Ioctl where the first arg is an enum that specifies the meaning of the variadic args.
13:20 arkiuat joined 13:25 arkiuat left
lizmat ok, understood :-) 13:25
13:37 arkiuat joined 13:45 arkiuat left 13:51 arkiuat joined 14:04 arkiuat left 14:05 arkiuat joined
lizmat m: use NativeCall; sub printf(str, **@ --> str) is native {*}; printf "%d", 42 # should this work ? patrickb timo 14:08
camelia (signal SEGV)
14:14 arkiuat left 14:17 arkiuat joined
patrickb printf doesn't return a str 14:35
otherwise I'd expect that to work.
probably returns int32
lizmat yup, you're right. I guess I was thing sprintf :-( 14:38
14:42 arkiuat left 14:48 arkiuat joined
lizmat *thinking 14:49
patrickb did you manage to make it work? 15:05
15:06 arkiuat left
lizmat use NativeCall; sub printf(str, **@ --> int32) is native {*}; printf "%d", 42 15:06
evalable6 Saw 1 occurrence of deprecated code.
==========…
lizmat, Full output: gist.github.com/311c51a6505f7fee91...ec7517955e
lizmat m: use NativeCall; sub printf(str, **@ --> int32) is native {*}; printf "%d", 42
camelia 42
lizmat seems so
15:07 arkiuat joined
patrickb \o/ 15:09
lizmat sprintf not so :-(
m: use NativeCall; sub sprintf(str, **@ --> str) is native {*}; say sprintf "%d", 42
camelia (signal SEGV)
15:15 arkiuat left 15:28 arkiuat joined
patrickb I think sprintf also works differently. still returns int32 and takes a first Str arg - a buffer and a size Iirc 15:28
lizmat aah, could be... 15:29
patrickb cplusplus.com/reference/cstdio/sprintf/
So snprintf is what one would want to use 15:30
15:32 arkiuat left 15:36 finanalyst joined
lizmat m: use NativeCall; sub snprintf(str, **@ --> str) is native {*}; say sprintf "%d", 42 15:37
camelia 42
lizmat whee!
15:37 arkiuat joined
lizmat argh 15:37
m: use NativeCall; sub snprintf(str, **@ --> str) is native {*}; say snprintf "%d", 42 15:38
camelia (signal SEGV)
lizmat meh
ah well..
patrickb snprintf takes a buff size as second arg 15:47
cplusplus.com/reference/cstdio/snprintf/
lizmat I think I'll just use printf as an example in the review :-) 15:51
patrickb 👍🏼 16:05
16:06 librasteve_ left
[Coke] . 16:12
16:27 librasteve_ joined
librasteve_ rakudoweekly.wordpress.com/wp-admi...ction=edit 16:59
lizmat rakudoweekly.blog/2025/12/22/2025-...l-results/ 17:28
17:58 finanalyst left
Geth rakudo/main: 1b46f7135b | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core.c/Num.rakumod
Add infix + - / * candidates for mixed int / num (#6040)

  * Add infix + - / * candidates for mixed int / num
Inspired by the benchmark mentioned at
   irclogs.raku.org/raku/2025-12-11.html#22:53
... (35 more lines)
19:05
19:06 arkiuat left 19:10 arkiuat joined
Geth rakudo/main: f95aefad92 | rir++ (committed using GitHub Web editor) | t/02-rakudo/99-misc.t
Test .from-posix versus .from-posix-nanos (#6035)
19:10
19:14 arkiuat left
patrickb paste.sr.ht/~patrickb/25930f8c8d40...1d7aa71ca7 19:15
lizmat patrickb: OOC, is MVM_HAS_LIBUV_PTY already set ? I don't see it anywhere ? 19:16
patrickb dr. shuppet, holmdunc: The above link points to the patch fixing system provided libuv
it's set in Configure.pl and written to config.h
and from there available everywhere 19:17
lizmat I don't think they are on this channel
patrickb I've now posted on the homebrew issue. 19:19
I'm unsure how to reach the debian guys...
timo: Do you know
?
I'm AFK for a while... 19:20
19:30 arkiuat joined 19:35 arkiuat left 20:02 arkiuat joined 20:08 arkiuat left 20:33 arkiuat joined 20:42 arkiuat left 20:54 arkiuat joined 21:01 arkiuat left 21:08 arkiuat joined 21:17 arkiuat left 21:35 arkiuat joined 21:39 arkiuat left 21:50 arkiuat joined 21:54 arkiuat left 21:55 finanalyst joined 21:58 arkiuat joined 22:04 arkiuat left 22:22 arkiuat joined 22:33 arkiuat left 22:34 arkiuat joined 22:39 arkiuat left 22:50 arkiuat joined 23:01 finanalyst left
disbot7 <holmdunc> patrickb: Thanks for sorting out the patch. BTW, I'm not on the Homebrew team, I just keep an eye on packages there that I'm interested in 23:19
23:55 arkiuat left