🦋 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, reportable6 joined
Geth rakudo/ugexe/readd-original-protect-block: 57de86291c | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Prevent concurrent hash access

Currently two threads can read null from the $resolved hash and both end up trying to resolve the same thing. Additionally they can race each other when writing to the hash itself. This restores the original lock protect scope from before 95fb926 to ensure the read and write don't have a race condition.
00:07
rakudo/ugexe/readd-original-protect-block: 3fcb00b90b | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Give each hash their own lock

There should be no need for the loading mechanism to always block the resolve mechanism. This gives the $resolved hash its own lock instead of using the lock for the $loaded hash.
rakudo: ugexe++ created pull request #5299:
Fix potential concurrent hash access race condition
00:10
rakudo/ugexe/readd-original-protect-block: f3888c0531 | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Prevent concurrent hash access

Currently two threads can read null from the $resolved hash and both end up trying to resolve the same thing. This restores the original lock protect scope from before 95fb926 to ensure read and write don't have a race condition.
00:36
rakudo/ugexe/readd-original-protect-block: 3b25a7fe37 | (Nick Logan)++ | src/core.c/CompUnit/PrecompilationRepository.pm6
Give each hash their own lock

There should be no need for the loading mechanism to always block the resolve mechanism. This gives the $resolved hash its own lock instead of using the lock for the $loaded hash.
[Coke] ugexe++ 01:00
01:28 evalable6 left, linkable6 left 01:30 nine left, evalable6 joined 01:31 linkable6 joined, nine joined 01:48 MasterDuke left 03:27 vrurg left 03:58 vrurg joined 05:04 linkable6 left, evalable6 left 05:06 linkable6 joined, evalable6 joined 06:00 reportable6 left 06:01 reportable6 joined 07:00 elcaro left, elcaro joined 07:03 codesections1 joined 07:04 codesections left, codesections1 is now known as codesections 07:09 codesections1 joined 07:10 codesections left, codesections1 is now known as codesections
Geth rakudo/main: 7 commits pushed by (Elizabeth Mattijsen)++ 07:19
rakudo/main: 5 commits pushed by (Elizabeth Mattijsen)++ 07:29
07:54 ab5tract joined
[Tux] Rakudo v2023.06-13-gae149fccf (v6.d) on MoarVM 2023.06-1-g63af27399
csv-ip5xs0.953 - 1.043
csv-ip5xs-206.187 - 6.551
csv-parser3.872 - 3.880
csv-test-xs-200.381 - 0.434
test6.498 - 6.879
test-t1.572 - 1.724
test-t --race1.010 - 1.081
test-t-2019.709 - 22.361
test-t-20 --race6.158 - 7.276
08:27
08:34 sena_kun joined
Geth rakudo/main: 64e4499a28 | (Elizabeth Mattijsen)++ | src/core.e/Format.pm6
Allow class specification with Format.new

This is probably temporary, or at least an implementation detail, to allow easier development / maintenance on the Formatter class
  (without needing to re-compile the core setting every time).
08:46
09:32 sena_kun left 11:06 bloatable6 left, committable6 left, shareable6 left, linkable6 left, unicodable6 left, coverable6 left, evalable6 left, benchable6 left, notable6 left, releasable6 left, reportable6 left, bisectable6 left, greppable6 left, statisfiable6 left, squashable6 left 11:07 unicodable6 joined, coverable6 joined, bisectable6 joined, committable6 joined, statisfiable6 joined, squashable6 joined 11:08 shareable6 joined, reportable6 joined, bloatable6 joined, linkable6 joined, evalable6 joined 11:09 benchable6 joined, notable6 joined, greppable6 joined, releasable6 joined
lizmat hmmm.. I seem to recall that we have an exception type to wrap another exception... but I can't seem to find it? 11:10
use case: something went wrong with sprintf: I'd like to report the format used, and the values given
before reporting the actual error 11:11
11:51 ab5tract left, ab5tract joined 12:00 reportable6 left 12:02 reportable6 joined
lizmat TIL that any block with a CATCH { } in it, is by definition too large too inline 12:20
nemokosch is there a formal description of Raku regexes somewhere? That syntax would be nice to have at other places as well 12:50
lizmat closest is design.raku.org/S05.html I guess 12:56
Geth rakudo/main: fe788b0a9f | (Elizabeth Mattijsen)++ | 2 files
Re-imagine Formatter + Format updates

  - Formatter now produces a Callable with a Signature reflecting
   the actual number of arguments expected
  - Removed ad-hoc number of args / type checking: this is now done
   by the actual code itself
  - results from .AST can now be EVALled later in different contexts
... (12 more lines)
13:09
13:11 vrurg left 13:13 vrurg joined
leont Interesting commit. Insightful in how to approach creating good Callables. 13:28
Geth rakudo/main: 90ccaeb512 | (Elizabeth Mattijsen)++ | src/core.e/Format.pm6
Be smarter on getting the count, japhb++
14:08
roast: 1f44995f40 | (Elizabeth Mattijsen)++ | S32-str/format.t
Add Format.signature/arity tests
14:51
14:54 Voldenet_ joined 14:55 Voldenet left, Voldenet_ is now known as Voldenet
Geth rakudo/main: dd55ffe27b | (Elizabeth Mattijsen)++ | 2 files
RakuAST: improve deparsing of nested ternaries

And add test for nested ternaries
15:06
15:17 kurahaupo left
Geth rakudo/main: 0550ae7632 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
RakuAST: fix deparsing of (foo,bar).baz

It was being deparsed as
   foo,bar.baz
which is *not* the same.
15:30
15:59 [Coke]_ joined 16:01 [Coke] left
Geth rakudo/main: 68dbf92930 | (Elizabeth Mattijsen)++ | 2 files
Fix some cases of improper language revision tests

Internally numbers are used nowadays.
17:36
17:42 sena_kun joined 18:00 reportable6 left 18:01 reportable6 joined 18:57 [Coke]_ is now known as [Coke]
[Coke] O_o; 18:58
21:20 evalable6 left, linkable6 left 21:22 evalable6 joined, linkable6 joined 21:34 sena_kun left 22:49 linkable6 left, evalable6 left, linkable6 joined 22:50 evalable6 joined 22:51 ab5tract left 22:52 ab5tract joined 23:38 squashable6 left 23:40 squashable6 joined 23:54 codesections left 23:58 codesections joined