🦋 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: codesections++ created pull request #4788:
Fix typo'd missing : in .nominal_type signature
00:07
Geth roast: codesections++ created pull request #799:
Un-todo passing test
04:10
Geth nqp: 025cb0404d | (Christian Bartolomäus)++ | src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java
[JVM] Add missing methods (bind|get)lex_u_si

At least getlex_u_si is called in S09-typed-arrays/native-int.t and friends after recent uintificatation of native arrays in Rakudo. The methods behave exactly like the *_i_si versions for now.
06:54
nqp: dd42216e7f | niner++ (committed using GitHub Web editor) | src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java
Merge pull request #765 from usev6/jvm_getlex_u_si

  [JVM] Add missing methods (bind|get)lex_u_si
bartolin_ good morning, just wanted to note that seemingly de9eeeb2cb broke a lot of spectests on the jvm backend. (e.g. S03-sequence/misc.t). It complains with 'java.lang.ClassCastException: class java.lang.Long cannot be cast to class org.raku.nqp.sixmodel.SixModelObject' in AT_POS_CONTAINER. I don't have time to look closer atm, but wanted to report it quickly. 07:36
patrickb o/ 08:38
jdv, MasterDuke, rba: I just requested an increase of parallel jobs on Azure CI for all three of our projects (rakudo, nqp and MoarVM). 08:39
lizmat Files=1351, Tests=117098, 292 wallclock secs (35.56 usr 10.16 sys + 4050.11 cusr 341.90 csys = 4437.73 CPU) 09:08
bartolin_ : ok, will fix
Geth rakudo: 59dcca66f1 | (Daniel Sockwell)++ (committed using GitHub Web editor) | src/core.c/Parameter.pm6
Fix typo'd missing : in .nominal_type signature (#4788)

The Parameter.nominal_type method had a signature that clearly intended to constrain the invocant to be :D, but was missing the trailing :
Fixing this issue causes a TODO'ed Roast test to pass.
09:11
Geth rakudo: a71ec34592 | (Elizabeth Mattijsen)++ | src/core.c/Array.pm6
Hopefully fix JVM breakage
09:13
lizmat j: my int $a = 42; sub a(uint $b) { dd }; a $a 09:14
camelia Can't open perl script "/home/camelia/rakudo-j-inst/bin/eval-client.pl": No such file or directory
lizmat meh
bartolin_: could you check if "my int $a = 42; sub a(uint $b) { dd }; a $a" fails on the JVM ? if so, then a71ec34592 should fix breakage
Geth roast: 938a77f299 | (Daniel Sockwell)++ (committed using GitHub Web editor) | S09-hashes/objecthash.t
Un-todo passing test (#799)

After fixing a Rakudo bug, the todo'ed test of using Mu as a Hash key now passes.
09:17
nine lizmat: int is certainly correct there since AT_POS_CONTAINER is called with an int and ContainerDescriptor::BindArrayPos's $!pos is also int 09:18
lizmat maybe that should be an uint as well ? 09:19
nine Nah, because it's used as argument for bindpos which takes an int 09:26
In theory that could become a uint as well. But it's unsure if it's worth the hassle 09:27
lizmat that cannot be a uint unless we want to break the regex engine afaik 09:30
m: use nqp; my $l := nqp::list(1,2,3); nqp::bindpos($l,-1,42); dd $l
camelia (1, 2, 42)
lizmat nqp uses this old Perl feature internally extensively afaik
nine So that'd be another elaborate project 09:54
lizmat yeah, it would... 10:02
lizmat notable6: weekly 15:18
notable6 lizmat, 3 notes: gist.github.com/59809324aececc5fad...10dd0d2d15
lizmat notable6: weekly reset 15:24
notable6 lizmat, Moved existing notes to “weekly_2022-02-14T15:24:01Z”
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/02/14/2022-...-released/ 15:57
codesections bisectable6: my :($a, $b) 16:55
bisectable6 codesections, Will bisect the whole range automagically because no endpoints were provided, hang tight
codesections, ¦6c (61 commits): «4===SORRY!4=== Error while compiling /tmp/981BJBHDXV␤Malformed my␤at /tmp/981BJBHDXV:1␤------> 3my8⏏4 :($a, $b)␤ «exit code = 1»»
codesections, Nothing to bisect!
codesections S02 says "Declarators generally make the colon optional: my ($a,$b,$c); # parsed as signature", but from ^^^^ it looks like it's not **optional**, it's forbidden. Does anyone know if that's intentional or a bug? 16:58
Geth roast: codesections++ created pull request #800:
Add tests for re-binding
17:32
Geth Pythonic-Str/main: 12 commits pushed by (Zoffix Znet)++, (Elizabeth Mattijsen)++
review: github.com/raku-community-modules/...88ff33bff7
18:18
lizmat que? 18:19
ugexe branch master -> main rename maybe? 18:26
leont Yeah, I was thinking the same 18:30
bartolin_ lizmat: a71ec34592 helped with most spectest breakage. There is still something off -- 'for ^1 -> int $from { }' fails with the same error I've postead this morning. That's probably ce07254a85 -- it doesn't happen with --optimize=off 18:33
and btw, thanks for yet another weekly :)
Geth rakudo: b5f49ace1d | (Elizabeth Mattijsen)++ | src/Perl6/Optimizer.nqp
Revert "Optimize simple ^42 loops with uint rather than int"

This reverts commit ce07254a857e5868a6d1c4f31bbeb2943a201317.
The JVM backend is not ready for it
18:34
lizmat ugexe leont I've renamed branches before in raku-community-modules, it never did that before 18:35
hence my que?
Geth Pythonic-Str/main: 836600d8cf | (Elizabeth Mattijsen)++ | 16 files
Migrated to zef ecosystem
19:01
Pythonic-Str/main: e6e77276af | (Elizabeth Mattijsen)++ | 2 files
1.1
19:04
MasterDuke patrickb: thanks, looks like things are good now 19:24
[Tux] Rakudo v2022.02-29-ga71ec3459 (v6.d) on MoarVM 2022.02-1-g0539ead63
csv-ip5xs0.768 - 0.785
csv-ip5xs-204.909 - 4.966
csv-parser3.889 - 3.989
csv-test-xs-200.414 - 0.418
test6.599 - 6.753
test-t1.487 - 1.507
test-t --race0.857 - 0.858
test-t-2022.275 - 22.493
test-t-20 --race7.229 - 7.233
21:19
5 2022-01-31 17:20:41 test-t 1.494
4 2022-01-31 17:22:22 test-t 1.493
3 2022-02-13 10:34:59 test-t 1.492
2 2022-02-13 10:36:39 test-t 1.490
1 2022-02-14 19:32:28 test-t 1.487
japhb [Tux]: Did you get a chance to check which CPU frequency governor you were using on that box? 21:24
[Tux] I did not see a question about that. How to check?
lizmat nice!
[Tux] Before every test run I execute this: `sudo cpupower frequency-set -g performance` 21:25
japhb Ah, that answers that question. :-)
I was about to say cpupower frequency-info or cpufreq-info will both answer that question, but if you're setting it directly, that covers that. 21:26
gfldex Is there a reason why Channel got a method iterator but doesn't Iterable? (That caused an ENODOC.) 22:04
leont Making it Iterable would make it do interesting things wrt single-arg rule, right? 22:16
gfldex Not really. +@ is also looking for .VAR so Iterable stuff is passed on as a single value. 22:37
leont Right 22:48
Geth rakudo: 65507b89d0 | (Elizabeth Mattijsen)++ | 2 files
Generate the SignedBuf/UnsignedBuf roles

So that we only need to maintain one set of code
23:16
roast: 4018fb3e3f | (Elizabeth Mattijsen)++ | S09-hashes/objecthash.t
UnTODO now passing test
23:17
rakudo: codesections++ created pull request #4790:
Allow optional : on LHS of signature binding declaration
23:38