🦋 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.
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
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
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
nine lizmat: very nice fix :) 10:09
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
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
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
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/10/06/2021-40-its-here/ 17:37
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++
Geth rakudo: nige123++ created pull request #4555:
Raku is a legally registered trademark now in the USA, UK and Europe.
19:38
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