🦋 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: lizmat self-assigned Pointer.Numeric should resolve to 0, not an exception github.com/rakudo/rakudo/issues/4483
681e3b5e84 | (Elizabeth Mattijsen)++ | lib/NativeCall/Types.rakumod

By basically using the same approach as was being used for Bool. Fixes #4483
08:23
Geth rakudo/local-cmp-aware-sort: fe4cc07105 | (Elizabeth Mattijsen)++ | src/core.c/List.pm6
Make .sort aware of any &[cmp] additions

This makes .sort aware of any local &[cmp] additions from where .sort is called, if called without an explicit comparator.
This will use CALLERS:: to find out if the outer &[cmp] is different from the "system" &[cmp], and will use that if that is the case. ... (8 more lines)
10:02
rakudo: lizmat++ created pull request #4484:
Make .sort aware of any &[cmp] additions
10:03
Geth rakudo/local-cmp-aware-sort: f84ff884ea | (Elizabeth Mattijsen)++ | src/core.c/List.pm6
Simplify &[cmp] lookup logic

We know we're going to find one, so there's no need for the overhead that INDIRECT_NAME_LOOKUP brings.
10:27
Xliff What's the best way to start a program using raku, and then orphan it? 10:33
So that those processes continue after the script exits. 10:34
Huh... 'start qx<konsole>; sleep 2' seems to work! LOL 10:35
Geth nqp: c3aca8ac61 | (Elizabeth Mattijsen)++ | tools/templates/MOAR_REVISION
Bump MoarVM for the latest fixes and optimizations
Geth rakudo: 62e291f09a | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION
Bump NQP to get the latest MoarVM fixes
10:52
nine Xliff: linux.die.net/man/1/daemonize ? 11:46
dogbert17 lizmat++ 12:01
Xliff nine++ # Thanks 12:13
patrickb Did someone already contact stackoverflow to create a Raku collective (stackoverflow.com/collectives-on-s...overflow)? 12:18
As far as I understand it, it's basically a shiny overview page 12:19
lizmat did not but would welcome anybody wanting to do that :-) 12:25
Xliff patricb: I'd love to help out with that. 12:26
patrickb I guess someone will have to fill out the form at stackoverflow.com/collectives-on-s...ow/contact and talk with people. 12:45
Xliff: Are you a taker? 12:46
I'm not entirely sure if they intend to sell this... 12:47
MasterDuke form doesn't say it has to be *your* name, company, etc... 12:50
leont I would guess it should be someone with a lot of activity on the raku tag, preferably with high reputation? 12:52
patrickb Or someone who deems him self an official of the Raku company. :-) 12:54
In our case that could be many people.
Or none, depending on the POV.
Xliff patrickb: Taker? 12:56
Probably someone from the RSC should be the one to fill this out? 12:57
patrickb: You may want to move this to problem-solving
ugexe i thought those cost money 12:58
or maybe that was just the icon
patrickb ugexe: Maybe. I'm unsure. I haven't seen them explicitly state that it costs, but the contact form says "Contact sales team" 12:59
But maybe it's a "free for non-profits", who knows...
ugexe: Do you want to contact them? Do you mind if I do it? 13:02
ugexe go for it 13:09
Geth nqp/new-disp: 5727d71ace | (Jonathan Worthington)++ | 2 files
Code-gen action method invocation

Rather than creating a megamorphic pinch point in !reduce. We'll need a way to handle megamorphic sites better in new-disp yet, but I've long wanted to do this particular change anyway. Take care to pre-decont the actions so we can have a shorter bytecode sequence / less work.
14:21
nqp/new-disp: a8621284ff | (Jonathan Worthington)++ | src/vm/moar/QAST/QASTOperationsMAST.nqp
Remove dispatcher op mappings on MoarVM

Rakudo already does not used them.
14:35
patrickb I've sent a contact request. 15:08
Xliff m: multi sub m (Int() $a, Int() $b) { say '2-arg'; }; multi sub m (Int() $a, Int() $b, Int() $c, Int() $d) { say '4-arg' }; m(1, 2) 23:20
camelia 2-arg
Xliff m: class A { proto method a (|) { }; multi method a (Int() $a, Int() $b) { say '2-arg'; }; multi method a (Int() $a, Int() $b, Int() $c, Int() $d) { say '4-arg' }; A.a(1, 2) 23:21
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> 3$c, Int() $d) { say '4-arg' }; A.a(1, 2)7⏏5<EOL>
expecting any of:
statement end
statement modifier
statement modifier loo…
Xliff m: class A { proto method a (|) { }; multi method a (Int() $a, Int() $b) { say '2-arg'; }; multi method a (Int() $a, Int() $b, Int() $c, Int() $d) { say '4-arg' }; }; A.a(1, 2)
camelia ( no output )
Xliff m: class A { proto method a (|) { * }; multi method a (Int() $a, Int() $b) { say '2-arg'; }; multi method a (Int() $a, Int() $b, Int() $c, Int() $d) { say '4-arg' }; }; A.a(1, 2)
camelia 2-arg
Xliff m: class A { proto method a (|) { * }; multi method a (Int() $a, Int() $b) { say '2-arg'; samewith($a, $b, $, $); }; multi method a (Int() $a, Int() $b, Int() $c, Int() $d) { say '4-arg' }; }; A.a(1, 2) 23:22
camelia 2-arg
Cannot create an Int from a 'Any' type object
in method a at <tmp> line 1
in method a at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: class A { proto method a (|) { * }; multi method a (Int() $a, Int() $b) { say '2-arg'; samewith($a, $b, 1, 2); }; multi method a (Int() $a, Int() $b, Int() $c, Int() $d) { say '4-arg' }; }; A.a(1, 2)
camelia 2-arg
4-arg