🦋 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.
00:00 reportable6 left 00:01 reportable6 joined 00:04 squashable6 left 00:07 squashable6 joined
ugexe with #5295 and #5296 we should be able to allow people to work around windows issues related to precomp, so people could use github actions with a modern rakudo again 00:30
(by disabling precomp) 00:31
01:07 linkable6 left, evalable6 left, linkable6 joined 01:09 evalable6 joined 02:16 evalable6 left, linkable6 left 02:17 linkable6 joined 02:18 evalable6 joined 03:31 hythm left 04:09 greatgustavo[m] joined 05:19 greppable6 left, unicodable6 left, committable6 left, tellable6 left, sourceable6 left, bisectable6 left, coverable6 left, statisfiable6 left, evalable6 left, notable6 left, releasable6 left, quotable6 left, benchable6 left, bloatable6 left, squashable6 left, shareable6 left, nativecallable6 left, reportable6 left, linkable6 left 05:20 linkable6 joined, evalable6 joined, committable6 joined, reportable6 joined, squashable6 joined, releasable6 joined 05:21 bloatable6 joined, shareable6 joined, nativecallable6 joined, unicodable6 joined, quotable6 joined 05:22 tellable6 joined, bisectable6 joined, notable6 joined, sourceable6 joined, greppable6 joined, benchable6 joined, statisfiable6 joined, coverable6 joined 06:00 reportable6 left 06:03 reportable6 joined 07:03 squashable6 left, linkable6 left, bisectable6 left, bloatable6 left, evalable6 left, nativecallable6 left, greppable6 left, statisfiable6 left, notable6 left, quotable6 left, benchable6 left, coverable6 left, unicodable6 left, sourceable6 left, committable6 left, shareable6 left, tellable6 left, releasable6 left, reportable6 left, nativecallable6 joined, notable6 joined 07:04 bloatable6 joined, reportable6 joined, benchable6 joined, evalable6 joined, bisectable6 joined 07:05 sourceable6 joined, coverable6 joined, greppable6 joined, tellable6 joined, squashable6 joined, committable6 joined, quotable6 joined, unicodable6 joined, linkable6 joined, statisfiable6 joined, releasable6 joined 07:06 shareable6 joined 08:38 sena_kun joined
nemokosch hythm: that's definitely good to know ^^ 10:07
10:15 NemokoschKiwi joined 10:23 NemokoschKiwi left 10:24 vrurg_ joined 10:26 vrurg left
lizmat should make this a worry in RakuAST: 11:15
m: sub a($ is rw) { }; a 42 11:16
camelia Parameter '<anon>' expects a writable container (variable) as an
argument, but got '42' (Int) as a value without a container.
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
nemokosch i.e promote it to compile-time? 11:21
lizmat yes, a worry is a compile time warning 11:27
hmmm.. come to think, it should probably be a sorry, just like:
m: foo(42)
camelia ===SORRY!=== Error while compiling <tmp>
Undeclared routine:
foo used at line 1
11:36 linkable6 left, evalable6 left 11:39 linkable6 joined, evalable6 joined 12:00 reportable6 left 12:03 reportable6 joined 13:46 sena_kun left 13:47 sena_kun joined 13:59 greatgustavo[m] left 14:04 Altai-man joined 14:05 Geth left 14:07 sena_kun left 14:33 NemokoschKiwi joined 14:54 RakuIRCLogger left, Geth joined, RakuIRCLogger joined
Geth rakudo/main: 41ae15a017 | (Nick Logan)++ | src/core.c/CompUnit/Repository/Installation.pm6
Respect CUPR.may-precomp() in CURI

CompUnit::PrecompilationRepository.may-precomp() can be used to check if something should try to precompile using said repo. It is used in CUPR in its try-load method to determine if it should try to precompile a file when loading, which often happens with a CURFS type repository. However, CURI.install also tries to ... (6 more lines)
14:55
rakudo/main: e4b4bdeb57 | (Nick Logan)++ (committed using GitHub Web editor) | src/core.c/CompUnit/Repository/Installation.pm6
Merge pull request #5296 from rakudo/ugexe/curi-use-may-precomp

Respect CUPR.may-precomp() in CURI
rakudo/ugexe/may-precomp-environment-variable: 6750ab31fa | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Add support for RAKUDO_NO_PRECOMPILATION environment variable

This adds a mechanism that allows users to disable precompilation via an environment variable. It prevents rakudo from using precompilation files as well as from generating them.
14:58
14:58 RakuIRCLogger left, RakuIRCLogger joined
Geth rakudo/main: 6750ab31fa | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Add support for RAKUDO_NO_PRECOMPILATION environment variable

This adds a mechanism that allows users to disable precompilation via an environment variable. It prevents rakudo from using precompilation files as well as from generating them.
15:48
rakudo/main: 1d100f8e74 | (Nick Logan)++ (committed using GitHub Web editor) | src/core.c/CompUnit/PrecompilationRepository.pm6
Merge pull request #5295 from rakudo/ugexe/may-precomp-environment-variable

Add support for RAKUDO_NO_PRECOMPILATION environment variable
ugexe tbrowder__: in the next release of rakudo setting RAKUDO_NO_PRECOMPILATION=1 on windows should work around the long path issue and thus let github CI actions work on modern rakudo again. Of course things will also be slower since there will be no precompilation, but at least you'll know if your code works :/ 15:54
lizmat ugexe++ 15:55
16:39 linkable6 left, evalable6 left 16:40 evalable6 joined 16:41 linkable6 joined
lizmat starting to wonder whether END blocks *should* return their value after all 16:53
m: END {say END 42}
camelia WARNINGS for <tmp>:
Nil
Useless use of constant integer 42 in sink context (line 1)
tbrowder__ ugexe++ 👍🏻 17:37
17:40 NemokoschKiwi left
ugexe i may have spoke too soon heh 17:52
18:00 reportable6 left 18:02 reportable6 joined
ugexe m: module Foo { my $lock = Lock.new; role FooRole { say $lock } }; class XXX does Foo::FooRole {} 18:37
camelia (Any)
ugexe m: module Foo { BEGIN my $lock = Lock.new; role FooRole { say $lock } }; class XXX does Foo::FooRole {}
camelia Lock.new
ugexe is it ok to use BEGIN with a lock like that? 18:38
I'm guessing no
ah, but I think using INIT would be fine... 18:47
Geth rakudo/ugexe/fix-5333: 96bf86ad76 | (Nick Logan)++ | lib/NativeCall.rakumod
Ensure lock is created before NativeCall role is setup

Fixes #5333
18:57
rakudo: ugexe++ created pull request #5334:
Ensure lock is created before NativeCall role is setup
19:00
19:02 evalable6 left 19:03 evalable6 joined 19:31 ab5tract joined 20:06 ab5tract left 20:47 ab5tract joined 21:17 ab5tract left
lizmat .tell ab5tract irclogs.raku.org/cro/live.html 21:20
tellable6 lizmat, I'll pass your message to ab5tract
Geth rakudo/main: a4a2bbd24e | (Nick Logan)++ (committed using GitHub Web editor) | lib/NativeCall.rakumod
Ensure lock is created before NativeCall role is setup (#5334)

Fixes #5333
21:32
22:32 ab5tract joined 22:43 ab5tract left 22:51 Altai-man left 23:51 evalable6 left, unicodable6 left, greppable6 left, nativecallable6 left, committable6 left, tellable6 left, quotable6 left, releasable6 left, shareable6 left, coverable6 left, squashable6 left, benchable6 left, notable6 left, bisectable6 left, sourceable6 left, statisfiable6 left, linkable6 left, bloatable6 left, reportable6 left, quotable6 joined, benchable6 joined, committable6 joined, coverable6 joined 23:52 tellable6 joined, statisfiable6 joined, linkable6 joined, greppable6 joined, reportable6 joined, squashable6 joined, nativecallable6 joined, notable6 joined, unicodable6 joined 23:53 evalable6 joined, shareable6 joined, bloatable6 joined 23:54 releasable6 joined, sourceable6 joined, bisectable6 joined