[00:01] <ugexe> m: say "/tmp".IO.resolve.absolute("/bar")

[00:01] <evalable6__> ugexe, rakudo-moar b18dd713a: OUTPUT: «(exit code 1) Type check failed for return value; expected Str:D but got Mu (Mu)␤  in block <unit> at /tmp/JRMnlINItF line 1␤␤»

[00:01] <ugexe> similar for .resolve

[00:14] *** jcallen left
[00:16] *** jcallen joined
[00:54] <ugexe> https://gist.github.com/ugexe/ba8d19ab74f01dd5dad53adf1c4b56f0

[01:05] <Voldenet> that StrDistance bug is intruiging, `$_ for 0..@s.end` is weird to read

[01:05] <Voldenet> erm, `@d[$_][ 0] = $_ for 0..@s.end;`

[01:06] <Voldenet> i'd expect something like `@d[$_][ 0] = $_ for ^@s;`

[01:09] *** hulk joined
[01:10] *** kylese left
[01:15] <Voldenet> those are some solid bug reports though, especially the one with channel

[01:40] <Voldenet> fwiw StrDistance written by deepseek https://glot.io/snippets/hhb60hr691

[01:43] <ugexe> usually you'd add a fast path when one of the lengths is 0

[01:43] <Voldenet> yes but

[01:44] <Voldenet> m: say (($ = "fold") ~~ tr/old/new/).Int; # that's the main use case

[01:44] <evalable6__> Voldenet, rakudo-moar b18dd713a: OUTPUT: «3␤»

[01:45] <ugexe> i'm not seeing how having e.g. return $targetLength if $sourceLength == 0; would affect that

[01:46] <ugexe> also i thought the main usecase for StrDistance was suggesting things like subroutine names when you use one that does not exist

[01:46] <Voldenet> ah, totally not, the logic for suggesting is different

[01:47] <Voldenet> https://github.com/rakudo/rakudo/blob/b18dd713a5b86c76104ec5e8286110cea68c569e/src/Raku/ast/resolver.rakumod#L1256

[01:47] <Voldenet> it has special scores for - and _

[01:49] <Voldenet> it'd be rare, but there could be some optimized path for empty strings

[01:55] <Voldenet> there was a conversation a week or two ago on #moarvm regarding introducing an op that'd replace multiple implementations of string distance, but nothing final was implemented

[01:59] <Voldenet> though I still think that "get most similar string" op would be more useful in the context than raw edit distance

[02:15] *** hulk left
[02:15] *** kylese joined
[02:34] *** annamalai left
[02:35] *** annamalai joined
[03:27] *** japhb left
[03:28] *** japhb joined
[03:37] *** wayland76 joined
[03:51] *** ugexe left
[04:35] *** ugexe joined
[04:56] *** Aedil joined
[05:22] *** lichtkind joined
[06:06] *** soverysour joined
[06:06] *** soverysour left
[06:06] *** soverysour joined
[06:31] *** soverysour left
[07:13] *** Aedil left
[07:41] *** wafflus joined
[07:41] *** soverysour joined
[07:41] *** soverysour left
[07:41] *** soverysour joined
[07:41] *** svartur-1rafn joined
[07:46] *** soverysour left
[08:29] *** soverysour joined
[08:29] *** soverysour left
[08:29] *** soverysour joined
[08:42] *** soverysour left
[08:47] *** Sgeo left
[08:49] *** soverysour joined
[08:54] *** soverysour left
[09:01] *** wafflus left
[09:12] *** soverysour joined
[09:12] *** soverysour left
[09:12] *** soverysour joined
[09:17] *** soverysour left
[09:30] *** soverysour joined
[09:30] *** soverysour left
[09:30] *** soverysour joined
[09:38] *** soverysour left
[09:38] *** soverysour joined
[09:39] *** sibl joined
[09:43] *** soverysour left
[09:44] *** soverysour joined
[09:44] *** soverysour left
[09:44] *** soverysour joined
[10:17] *** Aedil joined
[10:19] *** david7832 joined
[10:33] *** sibl left
[10:39] *** itaipu joined
[10:49] *** abraxxa joined
[11:03] *** abraxxa left
[11:39] *** david7832 left
[11:43] *** annamalai left
[11:58] *** annamalai joined
[12:06] *** annamalai left
[12:06] *** annamalai joined
[12:17] *** sibl joined
[12:26] *** AlexDaniel joined
[12:38] *** sibl left
[12:38] *** sibl joined
[13:09] *** unicodable6 left
[13:09] *** coverable6 left
[13:09] *** committable6 left
[13:09] *** sourceable6 left
[13:09] *** bloatable6 left
[13:09] *** greppable6 left
[13:09] *** quotable6 left
[13:09] *** linkable6 left
[13:09] *** notable6 left
[13:09] *** shareable6 left
[13:09] *** benchable6 left
[13:09] *** evalable6__ left
[13:09] *** nativecallable6 left
[13:09] *** tellable6 left
[13:09] *** releasable6__ left
[13:09] *** bisectable6 left
[13:12] *** bisectable6 joined
[13:12] *** unicodable6 joined
[13:12] *** quotable6 joined
[13:13] *** notable6 joined
[13:13] *** nativecallable6 joined
[13:13] *** linkable6 joined
[13:13] *** coverable6 joined
[13:14] *** bloatable6 joined
[13:14] *** shareable6 joined
[13:14] *** greppable6 joined
[13:14] *** committable6 joined
[13:14] *** benchable6 joined
[13:14] *** releasable6 joined
[13:14] *** tellable6 joined
[13:14] *** evalable6 joined
[13:15] *** sourceable6 joined
[13:16] *** _huggable left
[13:41] *** soverysour left
[13:52] <ab5tract> m: multi s(@a is item) { say “item” }; multi s(@a) { say “array” }; my @a = ^5; s $@a; s @a

[13:52] <evalable6> ab5tract, rakudo-moar b18dd713a: OUTPUT: «item␤array␤»

[13:53] *** soverysour joined
[13:53] *** soverysour left
[13:53] *** soverysour joined
[13:53] *** wayland joined
[13:53] *** notable6 left
[13:53] *** committable6 left
[13:53] *** bloatable6 left
[13:53] *** linkable6 left
[13:53] *** releasable6 left
[13:53] *** evalable6 left
[13:53] *** shareable6 left
[13:53] *** tellable6 left
[13:53] *** quotable6 left
[13:53] *** nativecallable6 left
[13:53] *** sourceable6 left
[13:53] *** coverable6 left
[13:53] *** unicodable6 left
[13:53] *** greppable6 left
[13:53] *** bisectable6 left
[13:53] *** benchable6 left
[13:53] *** wayland76 left
[13:53] <ab5tract> ds7382: that’s what it’s designed to do, so not sure what might be going wrong for you there

[13:54] <ab5tract> ds7832, david7832, ^^

[13:55] <ab5tract> Can you share a full example of all the multi candidates?

[13:56] *** unicodable6 joined
[13:56] *** tellable6 joined
[13:56] *** bloatable6 joined
[13:56] *** greppable6 joined
[13:56] *** nativecallable6 joined
[13:56] *** evalable6 joined
[13:56] *** coverable6 joined
[13:56] *** shareable6 joined
[13:57] *** benchable6 joined
[13:57] *** releasable6 joined
[13:57] *** linkable6 joined
[13:57] *** soverysour left
[13:58] *** bisectable6 joined
[13:58] *** notable6 joined
[13:58] *** committable6 joined
[13:58] *** quotable6 joined
[13:58] *** sourceable6 joined
[13:59] *** bisectable6 left
[13:59] *** sourceable6 left
[13:59] *** evalable6 left
[13:59] *** coverable6 left
[13:59] *** nativecallable6 left
[13:59] *** quotable6 left
[13:59] *** tellable6 left
[13:59] *** notable6 left
[13:59] *** bloatable6 left
[13:59] *** shareable6 left
[13:59] *** unicodable6 left
[13:59] *** releasable6 left
[13:59] *** benchable6 left
[13:59] *** linkable6 left
[13:59] *** greppable6 left
[14:02] *** linkable6 joined
[14:02] *** evalable6 joined
[14:02] *** releasable6 joined
[14:02] *** committable6__ joined
[14:02] *** tellable6 joined
[14:02] *** unicodable6 joined
[14:02] *** sourceable6 joined
[14:03] *** quotable6 joined
[14:03] *** committable6 left
[14:03] *** notable6 joined
[14:03] *** coverable6 joined
[14:03] *** bloatable6 joined
[14:03] *** shareable6 joined
[14:04] *** bisectable6 joined
[14:04] *** greppable6 joined
[14:04] *** benchable6 joined
[14:04] *** nativecallable6 joined
[14:05] *** greenfork left
[14:05] *** atweedie left
[14:05] *** thatonelutenist left
[14:05] *** patrickb left
[14:05] *** cpli left
[14:05] *** tellable6 left
[14:05] *** shareable6 left
[14:05] *** sourceable6 left
[14:05] *** notable6 left
[14:05] *** releasable6 left
[14:05] *** committable6__ left
[14:05] *** nativecallable6 left
[14:05] *** evalable6 left
[14:05] *** bloatable6 left
[14:05] *** greppable6 left
[14:05] *** quotable6 left
[14:05] *** unicodable6 left
[14:05] *** bisectable6 left
[14:05] *** benchable6 left
[14:05] *** coverable6 left
[14:05] *** linkable6 left
[14:08] *** releasable6 joined
[14:08] *** benchable6 joined
[14:08] *** shareable6 joined
[14:08] *** committable6 joined
[14:09] *** atweedie joined
[14:09] *** notable6 joined
[14:09] *** linkable6 joined
[14:09] *** sourceable6 joined
[14:09] *** quotable6 joined
[14:09] *** bloatable6 joined
[14:09] *** bisectable6 joined
[14:09] *** unicodable6 joined
[14:09] *** nativecallable6 joined
[14:10] *** greppable6 joined
[14:10] *** coverable6 joined
[14:10] *** tellable6 joined
[14:10] *** evalable6 joined
[14:11] *** annamalai left
[14:11] *** greenfork joined
[14:11] *** annamalai joined
[14:12] *** patrickb joined
[14:12] <lizmat> .hug AlexDaniel 

[14:12] *** cpli joined
[14:13] <lizmat> meh, huggable still awol

[14:13] <AlexDaniel> ===SORRY!=== Error while compiling /srv/xbin/Huggable.raku Unable to parse class definition at /srv/xbin/Huggable.raku:10 ------> unit class Huggable does Whateverable<HERE><EOL>

[14:14] <lizmat> ok, I'm leaving this to 4zv4l  :-)

[14:14] <AlexDaniel> unit class Huggable does Whateverable <---- missing semicolon

[14:14] *** thatonelutenist joined
[14:14] <AlexDaniel> but I wonder how did that work and when the semicolon was lost

[14:20] *** gugod left
[14:22] *** gugod joined
[14:23] *** charsbar_ joined
[14:24] *** charsbar left
[14:24] *** charsbar_ is now known as charsbar

[14:39] *** soverysour joined
[14:44] *** soverysour left
[15:11] *** soverysour joined
[15:31] <disbot2> <antononcube> I have problem installing "HTTP::UserAgent" in my GitHub actions. I get errors like:  ===SORRY!=== Error while compiling /Users/runner/work/Raku-DSL-Translators/Raku-DSL-Translators/site#sources/47257BA70F233525B020CE3BE828D794F2D0B7D3 (HTTP::UserAgent) Merging GLOBAL symbols failed: duplicate definition of symbol Request ===> Staging LibraryMake:ver<1.0.5>:auth<zef:jjmerelo> at

[15:31] <disbot2> /Users/runner/work/Raku-DSL-Translators/Raku-DSL-Translators/site#sources/47257BA70F233525B020CE3BE828D794F2D0B7D3 (HTTP::UserAgent):5 ===> Staging [OK] for LibraryMake:ver<1.0.5>:auth<zef:jjmerelo> 

[15:31] <disbot2> <antononcube> Here is a link: https://github.com/antononcube/Raku-DSL-Translators/actions/runs/24004383035/job/70005566551#step:4:98

[15:32] *** wayland left
[15:32] *** wayland joined
[15:33] <disbot2> <antononcube> Do you know how deal with these errors? Should I make GitHub actions install these packages "manually", like, say, zef install HTTP::UserAgent --/test ?

[15:45] *** soverysour left
[15:47] *** david7832 joined
[15:55] *** david7832 left
[15:56] *** soverysour joined
[15:56] *** david7832 joined
[15:59] <david7832> ab5tract: You're totally right, `is item` does work that way for me too. My mistake was having the same function body { .say for @a } in both f(@a) and f(@a is item), thinking that with `is item` the @a would behave differently in the body, in the way $a behaves in f($a) { .say for $a } where there is just one iteration in which the entire list

[15:59] <david7832> gets printed.

[16:39] *** habere-et-disper joined
[16:40] *** Sgeo joined
