🦋 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: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
Guest45 Hello Room 08:25
Any Perl programmers here ?
lizmat hmmm.. that's a short attention span 08:32
Geth rakudo/lizmat-span: 25 commits pushed by (Ben Davies)++, (Vadim Belman)++, (Elizabeth Mattijsen)++
review: github.com/rakudo/rakudo/compare/9...c864dec87d
08:38
Geth rakudo/lizmat-nano: 7efd928f11 | (Elizabeth Mattijsen)++ | 10 files
Introduce "nano" term for 6.e+

Returns nanoseconds since epoch, to allow HLL access to more accurate timing.
Specifically did not include that for 6.c. Unfortunately, it's pretty hard to add support in the grammar for a nano term in 6.e only, so the older settings create a runtime error. Suggestions for fixing this deficiency are welcome.
09:22
rakudo: lizmat++ created pull request #4984:
Introduce "nano" term for 6.e+
rakudo: 16ccb573f3 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | 10 files
Implement Haskell's "span" as "snip" in 6.e

Inspired by stackoverflow.com/questions/728094...n-function
Changed the name from "span" to "snip" because of slightly extended functionality from "span" because the condition can also be a List of conditions
  (in the sub case), or just have multiple conditions (in the method case).
... (27 more lines)
09:28
roast: 97f3444abe | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | 2 files
Add tests for snip functionality (#814)

To go with github.com/rakudo/rakudo/pull/4976
Geth rakudo: 09ead96e31 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core.c/Str.pm6
Add candidates for sub substr(str,int,int)

This makes:
   my str $a = "foo bar baz";
   my int $f = 4;
   my int $c = 2;
   say substr $a, $f; # bar baz
   say substr $a, $f, $c; # ba
about 2.8x as fast.
09:42
rakudo: d73d035e38 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core.c/Iterable.pm6
Make Iterable.hyper|race take Any as a default

This changes the behaviour of .hyper/.race when given an undefined value for :batch / :degree. Before, this was an error. With this commit, it will assume the default values.
This makes it much easier to let e.g. CLI's manage defaults for
  :degree and :batch, without needing to know what the defaults
actually are. Just accept --degree and --batch without default values, and pass them on.
09:46
rakudo: 7ec4b10d7e | (Vladimír Marek)++ (committed using GitHub Web editor) | t/06-telemetry/01-basic.t
Todo failing test on Solaris (#4959)

Solaris always returns 0 in max-rss. According to the NOTE in getrusage(3C):
   The ru_maxrss, ru_ixrss, ru_idrss, and ru_isrss members of the rusage
   structure are set to 0 in this implementation.
10:14
Geth rakudo/lizmat-nano: 5 commits pushed by (Elizabeth Mattijsen)++, (Vladimír Marek)++ 13:38
Geth rakudo/lizmat-nano: 64ae2940af | (Elizabeth Mattijsen)++ | 6 files
Really only make nano available in 6.e

  vrurg++ for the hints!
14:31
|Tux| Rakudo v2022.06-55-g7ec4b10d7 (v6.d) on MoarVM 2022.06-6-gc315523ab
csv-ip5xs0.823 - 1.013
csv-ip5xs-205.323 - 6.128
csv-parser3.553 - 3.744
csv-test-xs-200.406 - 0.434
test6.395 - 6.628
test-t1.431 - 1.815
test-t --race0.891 - 1.034
test-t-2021.160 - 21.242
test-t-20 --race6.874 - 7.612
14:42
lizmat bisectable6: old=2022.02 dd ::("CompUnit::PrecompilationStore::File" ~ ("System","").first({ ::("CompUnit::PrecompilationStore::File$_") !=:= Nil })) 16:06
bisectable6 lizmat, Bisecting by output (old=2022.02 new=7ec4b10) because on both starting points the exit code is 0
lizmat, bisect log: gist.github.com/4f9bfd2885ced160b4...296b84ff93
lizmat, (2022-04-25) github.com/rakudo/rakudo/commit/ad...ca863a15d5
lizmat bisectable6: old=2022.02 dd ::("CompUnit::PrecompilationStore::File" ~ ("System","").first({ ::("CompUnit::PrecompilationStore::File$_") !~~ Failure })) 16:08
bisectable6 lizmat, Bisecting by output (old=2022.02 new=7ec4b10) because on both starting points the exit code is 0
lizmat, bisect log: gist.github.com/db7076fd8f8a4c83e0...5751c916be
lizmat, (2022-04-25) github.com/rakudo/rakudo/commit/ad...ca863a15d5
lizmat bisectable6: old=2022.02 my constant CUPSFS = ::("CompUnit::PrecompilationStore::File" ~ ("System","").first({ ::("CompUnit::PrecompilationStore::File$_") !~~ Failure })); dd CUPSFS 16:56
bisectable6 lizmat, Bisecting by output (old=2022.02 new=7ec4b10) because on both starting points the exit code is 0
lizmat, bisect log: gist.github.com/2c628a39ad3669969a...52211bf092
lizmat, (2022-04-25) github.com/rakudo/rakudo/commit/ad...ca863a15d5