🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | log inspection situation still under development | For MoarVM see #moarvm
Set by lizmat on 22 May 2021.
00:03 quotable6 joined, greppable6 joined, committable6 joined 00:04 shareable6 joined 00:05 linkable6 joined, nativecallable6 joined, tellable6 joined, coverable6 joined 01:43 moon-child left 01:44 moon-child joined 02:03 unicodable6 joined, statisfiable6 joined 02:04 squashable6 joined 02:05 reportable6 joined 02:13 squashable6 left 02:14 squashable6 joined 03:14 evalable6 left, linkable6 left 03:19 CIAvash left 03:28 squashable6 left 03:37 CIAvash joined 04:16 evalable6 joined 04:30 squashable6 joined 05:17 linkable6 joined 06:02 reportable6 left 06:04 reportable6 joined 07:33 patrickb joined
Geth rakudo/Cool.Version: dab7404c93 | (Elizabeth Mattijsen)++ | src/core.c/Cool.pm6
Add Cool.Version coercer

There is already a Str.Coercer. It struck me that coercing a number or a list of numbers to a Version object, would first need coercing to Str. Whereas we already do other Cool coercers. Hence this.
   say 42.Version; # v42
   say (1,2,3).Version; # v1.2.3
   say "42".match(/\d+/).Version; # v42
08:28
rakudo: lizmat++ created pull request #4551:
Add Cool.Version coercer
08:29
moon-child hmm, I just tried 'the last expression there, but typoed it: "42".matc(.. 08:36
got suggestions: 'batch', 'Date', 'map', 'Map'
but not 'match'
lizmat interesting 08:37
Looks like 'match" is the 5th suggestion, and the number of suggestions is limited to 4 08:44
I have no idea why that ranks lower than "batch"
moon-child alphabetical ordering, maybe? 08:46
08:47 Xliff left 08:51 patrickb left
lizmat yeah, looks like 08:58
weird
it's working on a hash where the value is supposed to be a numerical value, but it appears it isn't
09:12 patrickb joined 09:18 patrickb left, patrickb joined
Geth rakudo: 0152e3c383 | (Elizabeth Mattijsen)++ | src/core.c/Exception.pm6
Fix suggested method ordering on not found error

As moon-child++ noted, "42".matc( did **not** yield 'match' as an alternative. This was caused by the ordering of the suggestions to be on the actual (lowercase) string, rather than at the actual distance. And then limiting them to the first 4.
This commit fixes the ordering, and makes sure that *all* suggestions with the same score as the 4th suggestions, will also be shown.
Fixes #4552
10:06
10:07 linkable6 left 10:09 linkable6 joined
nine lizmat: very nice fix :) 10:09
10:14 patrickz joined 10:15 patrickb left 10:22 lizmat_ joined, Geth_ joined, RakuIRCLogger joined 10:23 TempIRCLogger joined 10:24 RakuIRCLogger_ left, Geth joined, TempIRCLogger__ left, lizmat left, Geth left, Geth_ left 10:25 Geth joined, lizmat_ left, lizmat joined 10:46 sena_kun joined
Geth rakudo: 11fd2d70f5 | (Elizabeth Mattijsen)++ | src/core.c/core_epilogue.pm6
Deprecate use of $*PERL
11:29
nine lizmat: [ 434s] # Failed test 'a private method of the same name as the public missing method is not suggested for out-of-class call' 11:49
[ 434s] # at t/05-messages/01-errors.t line 230
build.opensuse.org/public/build/ho...akudo/_log 11:50
lizmat argh, I ran a spectest... not a make test
? make test is clean for me? 11:51
ah, it's a flapper
ah, it's dependent on hash randomization 11:53
previously, it was sorting on strings 11:54
12:02 reportable6 left 12:04 reportable6 joined
Geth rakudo: 569f90eae5 | (Elizabeth Mattijsen)++ | src/core.c/Exception.pm6
Make sure suggestions are sorted consistently

Before, they were (erroneously) sorted on the lowercase string value only. 0152e3c38303d7239 fixed that, but introduced an inderminate ordering on suggestions with the same score. This commit re-establishes the old behaviour with regard to suggestions that have the same score.
Fixes a flapper in t/05-messages/01-errors.t line 230, nine++ for spotting
12:08
12:12 cognominal joined
lizmat notable6: weekly 14:54
notable6 lizmat, 1 note: 2021-09-29T17:14:09Z <lizmat>: 6guts.wordpress.com/2021/09/29/the...m-is-here/
lizmat notable6: weekly reset
notable6 lizmat, Moved existing notes to “weekly_2021-10-06T14:54:27Z”
MasterDuke lizmat: fyi github.com/rakudo/rakudo/commit/11fd2d70f5 causes a bunch of fails in a spectest because some roast tests us $*PERL 15:09
lizmat looks 15:10
MasterDuke t/spec/S29-context/eval.t and t/spec/APPENDICES/A03-older-specs/01-misc.t 15:11
Geth roast: 7399cd50f6 | (Elizabeth Mattijsen)++ | 9 files
Fix issues caused by deprecation of $*PERL
15:21
lizmat MasterDuke++ 15:22
Geth roast: f137ddd399 | (Elizabeth Mattijsen)++ | 4 files
It's no longer a Perl version
15:29
rakudo: MasterDuke17++ created pull request #4554:
Potential simplification to working with suggestions for misspellings
15:47
MasterDuke lizmat: i don't have strong feelings about ^^^, feel free to close if you'd like to keep the code as is 15:48
lizmat commented :-) 15:58
Geth rakudo: c99ffc51fe | (Daniel Green)++ | src/core.c/Exception.pm6
Consistently use a number for value in suggestions hash

This is probably what I intended when I originally added suggestions for methods, but I just didn't notice sometimes it was a number and sometimes it was a StrDistance.
17:04
rakudo: 9e6b1cc729 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core.c/Exception.pm6
Merge pull request #4554 from MasterDuke17/potential_simplification_for_suggestion_handling

Potential simplification to working with suggestions for misspellings
17:05 discord-raku-bot left 17:06 discord-raku-bot joined 17:14 patrickz left 17:17 patrickb joined
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/10/06/2021-40-its-here/ 17:37
17:47 sena_kun left
MasterDuke lizmat: fyi, i didn't get the rakudo jvm backend building. i just got the nqp jvm backend passing its tests 17:48
lizmat aha... ok
updated # MasterDuke++ 17:49
MasterDuke lizmat++
18:02 reportable6 left 18:18 [Coke]_ joined 18:20 [Coke] left
Geth rakudo: nige123++ created pull request #4555:
Raku is a legally registered trademark now in the USA, UK and Europe.
19:38
19:59 Xliff joined 20:03 reportable6 joined
Geth rakudo: 4bca3e65a1 | (Nigel Hamilton)++ | src/Perl6/Compiler.nqp
Raku is a legally registered trademark now in the USA, UK and Europe.

More details can be found here:
  news.perlfoundation.org/post/raku-...-tm-update
20:18
rakudo: 57997147ef | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/Perl6/Compiler.nqp
Merge pull request #4555 from nige123/raku-is-a-registered-trademark-now

Raku is a legally registered trademark now in the USA, UK and Europe.
rakudo: 59debb4e71 | (Elizabeth Mattijsen)++ | src/Perl6/Compiler.nqp
Capitalize Programming Language
20:20
20:32 [Coke]_ is now known as [Coke] 20:44 patrickb left 21:44 linkable6 left, evalable6 left, linkable6 joined 21:45 evalable6 joined 22:45 linkable6 left, evalable6 left 22:46 evalable6 joined 23:46 linkable6 joined