🦋 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:00 linkable6 left, evalable6 left, evalable6 joined 00:01 linkable6 joined 00:02 reportable6 left 01:04 reportable6 joined 02:04 linkable6 left, quotable6 left, bloatable6 left, nativecallable6 left, statisfiable6 left, greppable6 left, squashable6 left, sourceable6 left, reportable6 left, shareable6 left, committable6 left, coverable6 left, bisectable6 left, evalable6 left, benchable6 left, releasable6 left, unicodable6 left, notable6 left, tellable6 left, shareable6 joined, nativecallable6 joined, squashable6 joined, benchable6 joined 02:05 quotable6 joined, reportable6 joined 02:06 bloatable6 joined 03:05 coverable6 joined 03:06 statisfiable6 joined, committable6 joined, evalable6 joined, linkable6 joined 03:07 releasable6 joined, greppable6 joined 03:38 frost-lab joined 04:06 notable6 joined, unicodable6 joined 04:16 frost-lab left 04:39 Guest92 joined 04:41 Guest92 left 05:05 sourceable6 joined 05:06 tellable6 joined 05:19 Guest92 joined 05:22 Guest92 left, frost-lab joined 06:02 reportable6 left 06:31 linkable6 left 06:32 discord-raku-bot joined 07:03 reportable6 joined 07:06 bisectable6 joined 07:08 frost-lab left 07:32 linkable6 joined
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
08:25 linkable6 left 08:26 linkable6 joined 10:00 MasterDuke left
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
10:03 patrickb joined 10:05 MasterDuke joined 10:22 Xliff joined
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
10:36 AlexDaniel left, rba[m] left 10:39 AlexDaniel joined 10:47 rba[m] joined
Geth rakudo: 62e291f09a | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION
Bump NQP to get the latest MoarVM fixes
10:52
11:07 sena_kun joined 11:13 patrickb left 11:14 patrickb joined 11:15 patrickb left 11:16 patrickb joined 11:17 patrickb left 11:18 patrickb joined 11:20 patrickb left, patrickb joined 11:22 patrickb left, patrickb joined 11:26 patrickb left, patrickb joined 11:28 patrickb left, patrickb joined 11:30 patrickb left, patrickb joined 11:32 patrickb left, patrickb joined 11:34 patrickb left, patrickb joined 11:36 patrickb left, patrickb joined, patrickb left
nine Xliff: linux.die.net/man/1/daemonize ? 11:46
dogbert17 lizmat++ 12:01
12:02 reportable6 left 12:04 reportable6 joined
Xliff nine++ # Thanks 12:13
12:18 patrickb joined
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
13:10 Xliff left 13:30 sena_kun left
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
15:44 patrickb left 16:44 linkable6 left, evalable6 left 16:46 linkable6 joined 18:02 reportable6 left 18:45 evalable6 joined 19:45 melezhik joined 20:03 reportable6 joined 20:33 melezhik left 22:18 linkable6 left, evalable6 left 22:21 evalable6 joined 23:19 Xliff joined
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
23:20 linkable6 joined
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