🦋 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.
00:02 reportable6 left 03:05 reportable6 joined 03:51 frost left 04:03 Xliff_ joined 04:05 Xliff joined, _Xliff_ left 04:07 Xliff_ left 04:49 squashable6 left 05:00 [Coke] left 05:51 squashable6 joined 06:02 reportable6 left 06:09 frost joined 06:39 [Coke] joined
Geth nqp: usev6++ created pull request #746:
[JVM] Deal with invalid input in decodertakeline
07:16
07:39 evalable6 left, linkable6 left, linkable6 joined 07:42 evalable6 joined 08:04 reportable6 joined 09:40 nativecallable6 left, sourceable6 left, unicodable6 left, linkable6 left, statisfiable6 left, reportable6 left, squashable6 left, shareable6 left, greppable6 left, bisectable6 left, quotable6 left, bloatable6 left, coverable6 left, committable6 left, notable6 left, benchable6 left, tellable6 left, evalable6 left, releasable6 left 09:41 tellable6 joined, nativecallable6 joined, greppable6 joined 09:42 notable6 joined, squashable6 joined, linkable6 joined 09:43 statisfiable6 joined, bisectable6 joined, coverable6 joined, unicodable6 joined 10:28 frost left 10:29 dogbert11 joined, dogbert17 left 10:34 frost joined 10:37 dogbert17 joined 10:38 dogbert11 left 10:39 dogbert11 joined 10:41 bloatable6 joined, dogbert17 left, reportable6 joined 10:43 shareable6 joined 11:00 nebuchadnezzar joined 11:04 dogbert17 joined 11:06 dogbert11 left, dogbert11 joined 11:09 dogbert17 left 11:41 quotable6 joined 11:43 sourceable6 joined 12:02 reportable6 left 12:16 notna joined 12:52 frost left 12:57 frost joined 13:04 reportable6 joined
dogbert11 m: sub a (int $a) { Blob[int].new($a) }; say a 12; 13:15
camelia Cannot unbox a type object (NQPMu) to int.
in block <unit> at <tmp> line 1
dogbert11 isn't this a bit odd?
timo c: 2021.6 sub a (int $a) { Blob[int].new($a) }; say a 12; 13:19
dogbert11 commitable seems a bit tired 13:20
13:43 benchable6 joined 14:38 frost left 14:42 committable6 joined 14:43 evalable6 joined, releasable6 joined
dogbert11 c: 2021.6 sub a (int $a) { Blob[int].new($a) }; say a 12; 14:49
committable6 dogbert11, ¦2021.6: «Cannot find this revision (did you mean “2021.06”?)» 14:50
dogbert11 c: 2021.06 sub a (int $a) { Blob[int].new($a) }; say a 12;
committable6 dogbert11, ¦2021.06: «Cannot unbox a type object (NQPMu) to int.␤ in block <unit> at /tmp/qUmi0QPUxs line 1␤␤ «exit code = 1»»
dogbert11 c: 2020.05 sub a (int $a) { Blob[int].new($a) }; say a 12;
committable6 dogbert11, ¦2020.05: «Blob[int]:0x<0C>␤»
MasterDuke i think it's because (u)int doesn't have a nativesize, but the explicitly sized native do 15:17
yeah. it's dying here github.com/rakudo/rakudo/blob/mast...f.pm6#L354 15:18
which makes sense given the bisect github.com/rakudo/rakudo/commit/f9...2dea43R350 15:20
dogbert11 MasterDuke: so this is to be expected then? 16:00
MasterDuke i don't think so 16:06
17:23 notna left
Geth rakudo: MasterDuke17++ created pull request #4605:
Fix gisting a Buf or Blob parameterized with an unsized type
17:24
18:00 dogbert17 joined 18:02 reportable6 left 18:03 dogbert11 left 18:05 reportable6 joined 18:06 dogbert17 left, dogbert17 joined
Geth rakudo: 62c0464651 | (Daniel Green)++ | src/core.c/Buf.pm6
Fix gisting Buf parameterized with an unsized type

The unsized natives don't have their $!nativesize set, so just assume 64-bit for them.
18:21
rakudo: 58f536635b | MasterDuke17++ (committed using GitHub Web editor) | src/core.c/Buf.pm6
Merge pull request #4605 from MasterDuke17/fix_trying_to_gist_a_buf_parameterized_with_unsized_type
dogbert17 ah, MasterDuke++ 19:31
m: use nqp; say nqp::istype(Cool, Cool) 19:38
camelia 1
dogbert17 m: use nqp; say nqp::istype(Cool:U, Cool:U)
camelia 1
dogbert17 m: use nqp; say nqp::istype(Cool:D, Cool:D)
camelia 0
MasterDuke seems a little surprising 19:47
dogbert17 perhaps there's a reasonable explanation 19:55
19:58 notna joined
Geth rakudo/Str.substr-between: 827bb9aeb6 | (Elizabeth Mattijsen)++ | 2 files
Add a Str.substr-between method

Returns the substring that is between the two given strings in a string. Effectively a shortcut to:
   with $string.match(/ '$before' <( .*? )> '$after') {
   .Str
... (6 more lines)
19:58
rakudo: lizmat++ created pull request #4606:
Add a Str.substr-between method
19:59
rakudo: MasterDuke17++ created pull request #4607:
Use better default for nativesize in Buf/Blob gist
20:02
rakudo/Str.substr-before: 4c08f455b4 | (Elizabeth Mattijsen)++ | 2 files
Add a Str.substr-before method.

Returns the substring that is before a given string in a string. Effectively a shortcut to:
   with $string.match(/ .*? )> '$before') {
   .Str
... (6 more lines)
20:23
rakudo: lizmat++ created pull request #4608:
Add a Str.substr-before method.
20:24
rakudo/Str.substr-after: 5e1139c3cb | (Elizabeth Mattijsen)++ | 2 files
Add a Str.substr-after method

Returns the substring that is after a given string in a string. Effectively a shortcut to:
   with $string.match(/ '$after' <( .* /) {
   .Str
... (6 more lines)
20:41
rakudo: lizmat++ created pull request #4609:
Add a Str.substr-after method
ugexe im not sure im convinced that is something that needs huffmanizing via spec 21:04
lizmat that's why they're pull requests :-) 21:05
Geth rakudo/Str.rinse: 2809fcc361 | (Elizabeth Mattijsen)++ | 2 files
Remove all occurences of given string from the string

Returns the substring that cleansed of the given string. Effectively a shortcut to:
   $string.subst($dirt, :global);
but a bit faster. At least this may be more semantically pleasing.
21:09
rakudo: lizmat++ created pull request #4610:
Remove all occurences of given string from the string
21:10
lizmat and that concludes my PR stream for today :-) and this month :) 21:11
Geth rakudo: e99e27426c | (Daniel Green)++ | src/core.c/Buf.pm6
Use better default for nativesize in Buf/Blob gist

Instead of just picking 64 bits if the type doen't have a populated nativesize, use the size that the Rakudo compiler was built with.
  Kaiepi++
21:22
rakudo: 580b3ba790 | MasterDuke17++ (committed using GitHub Web editor) | src/core.c/Buf.pm6
Merge pull request #4607 from MasterDuke17/use_better_default_for_nativesize_in_buf_gist
21:29 dogbert17 left, dogbert17 joined 21:40 gabriel80546 joined 21:48 notna left 22:48 benchable6 left, nativecallable6 left, notable6 left, squashable6 left, reportable6 left, evalable6 left, statisfiable6 left, linkable6 left, committable6 left, coverable6 left, sourceable6 left, unicodable6 left, bisectable6 left, shareable6 left, quotable6 left, greppable6 left, releasable6 left, bloatable6 left, tellable6 left, evalable6 joined, coverable6 joined 22:49 notable6 joined, committable6 joined 22:50 unicodable6 joined, tellable6 joined, sourceable6 joined 22:51 reportable6 joined 22:59 Xliff left 23:41 gabriel80546 left 23:48 benchable6 joined, squashable6 joined, Xliff joined 23:49 shareable6 joined 23:50 quotable6 joined 23:51 bisectable6 joined 23:52 kjp left