🦋 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.
01:20 MasterDuke joined 02:30 nine left, nine joined
MasterDuke `raku -e 'sub a(Array @b) { dd @b }; my @c = 1, 3; a(@c)'   #OUTPUT  Type check failed in binding to parameter '@b'; expected Positional[Array] but got Array ([1, 3]). Did you really mean to expect an Array of Arrays?` anybody want to bikeshed the 'Did you really mean' part? 02:32
`arku -e 'sub a(Int @b) { dd @b }; my @c = 1, 3; a(@c)'   #OUTPUT  Type check failed in binding to parameter '@b'; expected Positional[Int] but got Array ([1, 3]). You have a pass a correctly typed array, not just one that *happens* to contain elements of the correct type.` the 'You have to' part could also do with some bikeshedding and the 02:58
change needs some significant cleanup, but hopefully i can PR it this weekend
05:55 MasterDuke left 06:23 sjn left 07:04 sjn joined 07:31 librasteve_ left 07:40 [Tux] left 07:48 [Tux] joined 08:59 sena_kun joined 09:49 finanalyst joined 10:01 sena_kun left
lizmat ok, I've had enough of testing with --with-nqp: it just doesn't work :( 10:45
after spending 2 hours trying to find out what I broke in NQP locally, and not finding it
I find out that if I build Rakudo with the latest published NQP, it just works :-( 10:46
so, please forgive me if I break the build of Rakudo with the latest NQP (without actually bumping NQP in Rakudo) in the coming days
but I don't see another viable workflow at the moment 10:47
Geth nqp/main: 911eae35ba | (Elizabeth Mattijsen)++ | src/how/NQPCurriedRoleHOW.nqp
Streamline NQPCurriedRoleHOW
10:56
11:09 finanalyst left
Geth nqp/main: 9b39f7b0d0 | (Elizabeth Mattijsen)++ | 2 files
Streamline NQPParametricRoleHOW

  - change for loops to while loops
  - add some helper subs
  - actually create a proper "protect" method with an actual lock
  - actually make updates threadsafe everywhere
  - add support for tweaks
  - adapted some error messages
13:28
[Coke] .tell masterduke I'd get rid of "really", and just ask "did you mean" 13:52
tellable6 [Coke], I'll pass your message to MasterDuke
Geth nqp/main: 4398fb3de4 | (Elizabeth Mattijsen)++ | src/how/NQPParametricRoleHOW.nqp
Fix issue with multi_methods in NQPParametricRoleHOW
14:20
[Coke] lizmat: thanks for the heads up 14:28
lizmat yw 14:29
Geth nqp/main: 84edea1cc1 | (Elizabeth Mattijsen)++ | src/how/NQPModuleHOW.nqp
Streamline NQPModuleHOW a bit
14:59
nqp/main: 8808e24207 | (Elizabeth Mattijsen)++ | src/how/NQPNativeHOW.nqp
Streamline NQPNativeHOW a bit
nqp/main: b3bf81cd1e | (Elizabeth Mattijsen)++ | src/how/Archetypes.nqp
Streamline Archetypes

  - make all settable attributes settable through .new
  - add "bool" helper sub
  - get rid of BUILD, set all attributes directly in .new
  - make all attributes 0 / 1 on instantion
  - simplify accessors
15:37
nqp/main: 4212f6e8fd | (Elizabeth Mattijsen)++ | src/how/NQPAttribute.nqp
Remove BUILD method from NQPAttribute

The existence appears to imply it follows nqp::bless semantics, but it doesn't. So bind the attributes directly in the .new method. Also add a "bool" helper sub to normalize values on setting, not on reading
16:10
[Tux] Rakudo v2024.01-34-gfebe8ee86 (v6.d) on MoarVM 2024.01-4-g504a4d7b8
csv-ip5xs0.267 - 0.279
csv-ip5xs-201.138 - 1.163
csv-parser1.548 - 1.594
csv-test-xs-200.141 - 0.142
test1.926 - 1.995
test-t0.448 - 0.454
test-t --race0.286 - 0.288
test-t-205.215 - 5.266
test-t-20 --race1.232 - 1.250
16:22
Geth nqp/main: 58fc1e4671 | (Elizabeth Mattijsen)++ | src/how/NQPClassHOW.nqp
Remove BUILD method from NQPClassHOW
17:32
nqp/main: a767e4fb10 | (Elizabeth Mattijsen)++ | src/how/NQPConcreteRoleHOW.nqp
Remove BUILD method from NQPConcreteRoleHOW
18:01
nqp/main: 7095a83694 | (Elizabeth Mattijsen)++ | src/how/NQPCurriedRoleHOW.nqp
Remove BUILD method from NQPCurriedRoleHOW
18:05
nqp/main: 0df977fc1b | (Elizabeth Mattijsen)++ | src/how/NQPModuleHOW.nqp
Remove BUILD method from NQPModuleHOW
18:11
nqp/main: e61a35ea83 | (Elizabeth Mattijsen)++ | src/how/NQPNativeHOW.nqp
Remove BUILD method from NQPNativeHOW
nqp/main: 112f25a864 | (Elizabeth Mattijsen)++ | src/how/NQPParametricRoleHOW.nqp
Remove BUILD method from NQPParametricRoleHOW
18:16
18:27 melezhik joined
Geth rakudo/main: 9ff0d34dcb | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION
Bump NQP to get the latest NQP tweaks
18:31
18:32 melezhik left
Geth nqp/main: 52bbec7884 | (Elizabeth Mattijsen)++ | 7 files
Move helper subs into their own file

  - so they're available everywhere in the HOW bootstrap
  - remove local copies
19:06
nqp/main: f445514a90 | (Elizabeth Mattijsen)++ | 5 files
Implement locking on NQP(Class|ConcreteRole)HOW

  - add NQPHOWLock knowhow, cat-licensed from NQPSpecializationLock
  - use NQPHOWLock everywhere where locking is needed
19:11 librasteve_ joined
librasteve_ my commit to rakudo.org 3992875 has not made it to production - I suspect that *production server automatically updates itself using the update-rakudo.org.sh script* is not running (maybe a cron job?) … please can someone restart the server / fix the script? 19:16
lizmat librasteve_: you might want to ping coleman andinus on #raku-infra 19:18
Geth rakudo/main: 9a801dfeb0 | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION
Bump NQP to get locking on potential races

Specifically in NQPClassHOW, NQPConcreteRoleHOW and NQPParametricRoleHOW
19:22
jdv idk if it auto updates anymore
on release i now kick it but im not near a real box to do that atm. 19:23
librasteve_ jdv: it can wait a day or so … or should I go over to infra? 19:25
lizmat tomorrow: full implementation of TWEAK methods in roles in NQP
but first afk&
jdv infra guys are probably faster 19:27
lizmat: woohoo?! 19:28
japhb lizmat++ # LOTS of progress 20:57
22:03 sena_kun joined 22:44 finanalyst joined 23:12 sena_kun left 23:51 librasteve_ left