🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:00 hungrydonkey joined 00:10 libertas left 00:18 pecastro left 00:28 hungrydonkey left 00:30 Kaiepi left 00:34 Kaiepi joined 00:48 hungrydonkey joined 00:53 leont joined 01:14 |oLa| joined 01:24 molaf left, TeamBlast joined 01:31 Kaiepi left 01:32 vike left, Kaiepi joined 01:33 sena_kun left 01:37 aborazmeh joined, aborazmeh left, aborazmeh joined 01:42 molaf joined 01:43 aborazmeh left 01:47 sena_kun joined 01:49 leont left
cpan-raku New module released to CPAN! Pretty::Table (0.0.2) by 03UZLUISF 02:01
rypervenche k-man: You can use given. 02:05
02:08 Tirifto left 02:12 ufobat_ joined 02:15 ufobat left 02:24 wildtrees left 02:36 molaf left 02:44 vike joined 02:48 molaf joined
tbrowder .tell nxadm your rakudo_pkg for debian is great--thanks! 02:56
tellable6 tbrowder, I haven't seen nxadm around, did you mean nadim?
03:04 wamba left 03:16 AlexDani` joined 03:17 hungryd5 joined 03:18 AlexDaniel left 03:20 hungrydonkey left 03:25 Kaiepi left, Kaiepi joined 03:32 sena_kun left 03:42 hungrydonkey joined, hungryd5 left 03:43 Doc_Holliwood joined, Doc_Holliwould joined 03:45 Kaiepi left 03:46 sena_kun joined 03:49 Kaiepi joined 03:53 hungryd2 joined 03:56 hungrydonkey left 04:04 |oLa| left 04:18 normanrockwell joined 04:27 normanro_ joined 04:30 normanrockwell left 04:32 Sgeo__ joined 04:33 normanro_ is now known as normanrockwell 04:36 Sgeo_ left, normanrockwell left, normanrockwell joined 04:37 normanrockwell left, normanrockwell joined, normanrockwell left, normanrockwell joined 04:38 normanrockwell left, normanrockwell joined 04:39 normanrockwell left, normanrockwell joined 04:40 normanrockwell left, normanrockwell joined, normanrockwell left 04:41 normanrockwell joined, normanrockwell left 04:42 normanrockwell joined 04:46 normanrockwell left 04:58 Actualeyes left 05:21 Celelibi left 05:31 normanrockwell joined 05:32 sena_kun left 05:36 normanrockwell left 05:39 Actualeyes joined 05:49 sena_kun joined 05:50 hungrydonkey joined 05:54 hungryd17 joined, hungryd2 left, Celelibi joined 05:55 hungryd41 joined, hungrydonkey left, Kaiepi left 05:58 hungryd17 left, Kaiepi joined 06:02 Kaiepi left 06:03 Kaiepi joined 06:08 Benett left 06:09 NODE left 06:10 Benett joined 06:11 NODE joined, hungrydonkey joined
Doc_Holliwould good morning you beautiful people 06:11
m: sub is-open( $room ) { ($_ = $room.sqrt) && $_ == $_.Int; } is-open(16); 06:12
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3) { ($_ = $room.sqrt) && $_ == $_.Int; }7⏏5 is-open(16);
expecting any of:
infix
infix stop…
Doc_Holliwould m: sub is-open( $room ) { ($_ = $room.sqrt) && $_ == $_.Int; }; is-open(16);
camelia ( no output )
Doc_Holliwould m: sub is-open( $room ) { ($_ = $room.sqrt) && $_ == $_.Int; }; say is-open(16);
camelia ( no output )
06:13 hungryd41 left
Doc_Holliwould m: sub is-open( $room ) { return ($_ = $room.sqrt) && $_ == $_.Int; }; say is-open(16); 06:15
camelia True
Doc_Holliwould m: sub is-open( $room ) { return ($_ = $room.sqrt) && $_ == $_.Int; }; say is-open(12);
camelia False
Doc_Holliwould is this safe? i mean assigning to something and immedeatly using it this way 06:16
06:17 sauvin joined 06:21 xinming joined 06:24 xinming_ left 06:25 Kaiepi left 06:30 Kaiepi joined 06:34 hungrydonkey left 06:37 xelxebar_ joined, xelxebar left 07:15 eythian left 07:16 eythian joined, eythian left, eythian joined 07:33 sena_kun left 07:40 rindolf joined 07:45 hungrydonkey joined 07:47 sena_kun joined 07:49 mahmudov joined 08:09 domidumont joined 08:12 normanrockwell joined 08:17 normanrockwell left 08:20 Kaiepi left, Kaiepi joined 08:28 Doc_Holliwood left, Doc_Holliwould left 08:48 Kaiepi left 08:51 pecastro joined 08:52 Kaiepi joined 08:54 Kaiepi left, Kaiepi joined 08:56 Kaiepi left, Kaiepi joined 09:15 kensanata joined 09:19 Kaiepi left 09:20 Kaiepi joined 09:21 Kaiepi left 09:24 Kaiepi joined 09:33 sena_kun left 09:39 camelia left 09:41 camelia joined 09:42 camelia left 09:43 camelia joined 09:45 kensanata left 09:48 NODE left 09:49 NODE joined 09:52 leont joined 09:56 molaf left 10:14 |oLa| joined 10:25 [Sno] left, mowcat joined 10:27 [Sno] joined 10:36 |oLa| left 10:42 mowcat left 10:44 libertas joined 10:51 mowcat joined, camelia left 10:52 jmerelo joined 10:53 camelia joined, AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined 10:55 camelia left
AlexDaniel squashable6: status 10:55
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/6586ecb56fbb87e6c3...cbcafe9744
10:56 camelia joined 10:57 chloekek joined 10:58 camelia left, maggotbrain left 10:59 maggotbrain joined 11:00 camelia joined, camelia left 11:04 camelia joined 11:09 sena_kun joined
jmerelo It's probably about time we prepare another Raku user survey? 11:11
tellable6 2020-02-05T18:16:59Z #raku <patrickb> jmerelo: I have cleaned up the the GSoC loads. If you could have a look that'd be great.
2020-02-06T16:20:26Z #raku <tbrowder> jmerelo: you're welcome
jmerelo Or the first Raku user surven, Actually...
11:13 camelia left 11:14 camelia joined 11:15 patrickb joined 11:26 aluaces left
jmerelo .tell patricb I'm not sure I understand what you mean, but thanks. 11:26
tellable6 jmerelo, I haven't seen patricb around, did you mean patrickb?
11:27 aluaces joined 11:28 camelia left 11:29 camelia joined 11:31 Kaiepi left 11:32 sena_kun left
patrickb jmerelo: I have misstyped. I meant to type: I have cleaned up the GSoC website (perl-foundation-outreach.github.io...20-ideas/) a lot. I hope the changes are OK with you. 11:39
11:42 Ven`` joined 11:43 wamba joined 11:47 sena_kun joined 11:52 Black_Ribbon left
jmerelo patrickb: OK, great. Thanks! 11:55
11:56 wamba left 11:57 Ven`` left 11:59 wamba joined 12:12 wamba left
thundergnat .tell Doc_Holliwould Is it safe? yes, though a little verbose. How about something like: sub is-open ($door) { $door.sqrt.narrow ~~ Int }; say .&is-open for 4, 7, 16, 23, 25; 12:13
tellable6 thundergnat, I'll pass your message to Doc_Holliwould
12:14 normanrockwell joined
lizmat weekly: fluca1978.github.io/2020/02/03/Per...ed_46.html 12:18
notable6 lizmat, Noted! (weekly)
12:18 normanrockwell left 12:21 normanrockwell joined
Geth doc: c6f3015df4 | (JJ Merelo)++ | doc/Language/nativecall.pod6
Improves example of CArray and explanation of methods.

Closes #3146
12:23
linkable6 Link: docs.raku.org/language/nativecall
linkable6 DOC#3146 [closed]: github.com/Raku/doc/issues/3146 [RFE] Clarify that AT-POS is not really intended for final users
12:26 Sgeo_ joined 12:27 lucasb joined 12:29 Sgeo__ left 12:35 mahmudov left 12:52 stoned75 joined 12:55 normanro_ joined
stoned75 commit: releases "foo" x Int 12:55
committable6 stoned75, gist.github.com/60be866c22c0b8d420...f11986a538
stoned75 grr 12:56
commit: releases "foo" x Inf
committable6 stoned75, gist.github.com/debaf2dda15bfaf859...26746dee76
12:59 normanrockwell left 13:11 normanrockwell joined 13:14 normanro_ left, mahmudov joined 13:17 normanrockwell left, normanrockwell joined 13:22 normanrockwell left 13:25 chloekek left 13:27 rindolf left 13:29 Voldenet left 13:32 jmerelo left 13:33 sena_kun left 13:35 Voldenet joined, Voldenet left, Voldenet joined, rindolf joined 13:37 normanrockwell joined 13:38 Sgeo__ joined 13:41 Sgeo_ left 13:45 mahmudov left 13:49 sena_kun joined 13:50 patrickb left 13:52 mahmudov joined 13:54 stoned75 left 13:58 mowcat left 14:03 Tirifto joined 14:09 Ven`` joined 14:13 mowcat joined 14:29 normanro_ joined 14:32 normanrockwell left 14:51 normanro_ is now known as normanrockwell 15:02 normanro_ joined 15:06 normanrockwell left, normanro_ left 15:13 kensanata joined 15:15 chloekek joined 15:33 sena_kun left
Tirifto I think I have even less of an idea how modules work now than when I started trying to find out… 15:41
15:46 sena_kun joined
Tirifto I wrote a short example of syntax interpretations I find puzzling, if anyone wants to take a look: paste.gnome.org/pwc0p0cpf 15:49
15:57 chloekek left 16:08 guifa2 left 16:12 guifa2 joined 16:16 guifa2 left 16:20 jmerelo joined 16:21 thundergnat left 16:29 benjif_ left 16:34 cpan-raku left, cpan-raku joined, cpan-raku left, cpan-raku joined 16:35 Doc_Holliwood joined, Doc_Holliwould joined 16:41 guifa2 joined 16:50 guifa2 left, guifa2 joined
lizmat weekly: raku-musings.com/cryptic-room.html 16:55
notable6 lizmat, Noted! (weekly)
tellable6 hey lizmat, you have a message: gist.github.com/e5154205629368da7d...de6bd4910d
16:55 kensanata left 17:11 wildtrees joined 17:21 entonian joined 17:33 sena_kun left 17:45 mahmudov left 17:47 sena_kun joined 17:54 stoned75 joined
Geth doc: 4e1e2b833e | (Stoned Elipot)++ | doc/Language/operators.pod6
Add missing word
17:58
linkable6 Link: docs.raku.org/language/operators
doc: bc233e2a3c | (Stoned Elipot)++ | doc/Language/operators.pod6
fix layout
17:58 chloekek joined, mahmudov joined 18:04 hungrydonkey left
AlexDaniel c: releases my $p = run <bash -c>, ‘exit 5’, :out; say ‘Out​: "’ ~ $p.out.slurp-rest ~ ‘"’; say $p.exitcode;' 18:16
ahhh
c: releases my $p = run <bash -c>, ‘exit 5’, :out; say ‘Out​: "’ ~ $p.out.slurp-rest ~ ‘"’; say $p.exitcode;
committable6 AlexDaniel, gist.github.com/64412c20340f9e662f...0499bbbfff 18:17
AlexDaniel, gist.github.com/ff90f6be845f9d2ddb...f0cf7c3d9b
18:17 AlexDaniel left 18:18 AlexDaniel joined, thundergnat joined, AlexDaniel left, AlexDaniel joined
AlexDaniel bisect: old=2017.05 my $p = run <bash -c>, ‘exit 5’, :out; say ‘Out​: "’ ~ $p.out.slurp-rest ~ ‘"’; say $p.exitcode; 18:19
bisectable6 AlexDaniel, Bisecting by output (old=2017.05 new=99b67a4) because on both starting points the exit code is 0
AlexDaniel, bisect log: gist.github.com/d7c4fdad1efcd68af2...2722606895 18:20
AlexDaniel, (2017-06-12) github.com/rakudo/rakudo/commit/92...a08fb98bd2
squashable6 🍕 AlexDaniel++ wrote a comment on “shell().exitcode is always 0 when :out is used”: github.com/Raku/old-issue-tracker/...-583763113
🍕🍕🍕 First contribution by AlexDaniel++! ♥
🍕 AlexDaniel++ labeled issue “shell().exitcode is always 0 when :out is used” (lhf): github.com/Raku/old-issue-tracker/issues/4456 18:21
🍕 AlexDaniel++ labeled issue “shell().exitcode is always 0 when :out is used” (testneeded): github.com/Raku/old-issue-tracker/issues/4456
AlexDaniel any volunteers whip up a test for github.com/Raku/old-issue-tracker/issues/4456 ? :) Then we'll be able to close it 18:22
to*
RT#130781 18:24
linkable6: hello? :)
I can't figure out github.com/Raku/old-issue-tracker/issues/6072 18:29
it looks… mangled
18:30 thundergnat left
AlexDaniel c: releases gist.github.com/AlexDaniel/fca7b26...b7645e5e2a 18:30
ok maybe I see it :)
committable6 AlexDaniel, gist.github.com/29b11df2027fcdbfed...39d1038d10
AlexDaniel c: releases gist.github.com/AlexDaniel/fca7b26...b7645e5e2a 18:32
committable6 AlexDaniel, gist.github.com/007a8134b569d222e5...6e9207192c 18:33
squashable6 🍕 AlexDaniel++ wrote a comment on “Using both :out and :err…”: github.com/Raku/old-issue-tracker/...-583764370 18:34
🍕 AlexDaniel++ labeled issue “Using both :out and :err…” (testneeded): github.com/Raku/old-issue-tracker/issues/6072 18:35
🍕 AlexDaniel++ labeled issue “Using both :out and :err…” (lhf): github.com/Raku/old-issue-tracker/issues/6072
🍕 AlexDaniel++ wrote a comment on “shell().exitcode is always 0 when :out is used”: github.com/Raku/old-issue-tracker/...-583764415
AlexDaniel two tickets for the price of one! Volunteers? :)
18:36 hsmyers joined
hsmyers my zef says "Date::TimeZone not available perl6Date::TimeZone not available" Wha's up? 18:37
AlexDaniel hsmyers: shouldn't it be DateTime::TimeZone ?
m: my int @​x[-2**63]; say @​x.shape 18:38
camelia 5===SORRY!5=== Error while compiling <tmp>
Name must begin with alphabetic character
at <tmp>:1
------> 3my int @7⏏5​x[-2**63]; say @​x.shape
expecting any of:
constraint
infix
infix stopper
AlexDaniel m: my int @x[-2**63]; say @​x.shape
camelia 5===SORRY!5=== Error while compiling <tmp>
Name must begin with alphabetic character
at <tmp>:1
------> 3my int @x[-2**63]; say @7⏏5​x.shape
expecting any of:
infix
infix stopper
postfix
AlexDaniel m: my int @x[-2**63]; say @x.shape
camelia (-9223372036854775808)
AlexDaniel okay
hsmyers remove extraneous 'perl6' and fix Date to DateTime::TimeZone
squashable6 🍕 AlexDaniel++ labeled issue “Shaped native arrays wit…” (MoarVM): github.com/Raku/old-issue-tracker/issues/6470
🍕 AlexDaniel++ labeled issue “Shaped native arrays wit…” (Rakudo): github.com/Raku/old-issue-tracker/issues/6470
hsmyers any one have nanoseconds for DateTime? long as I'm here… 18:39
AlexDaniel m: say DateTime.now.second 18:42
camelia 45.72593355178833
AlexDaniel hsmyers: ↑ that seems to be precise enough?
I'm not sure what's the actual precision there 18:43
hsmyers yes indeed! Hadn't thought of that
should I convert time_zone to name myself? 18:44
squashable6 🍕 AlexDaniel++ wrote a comment on “'Unhandled exception: co…”: github.com/Raku/old-issue-tracker/...-583765190 18:45
🍕 AlexDaniel++ closed issue “'Unhandled exception: co…”: github.com/Raku/old-issue-tracker/issues/6396
AlexDaniel hsmyers: sorry, what do you mean? 18:46
hsmyers DateTime returns TZ as offset, I need that converted to name like -7 = MST or American/Denver etc. 18:48
18:49 mowcat left
AlexDaniel hsmyers: and you want to create a module for that? 18:59
hsmyers Was hoping to find one, I know it is a bit problematic going back and forth, but I jst need from numeric to text… 19:00
but thinking on it, any reasonable range would necessitate a module just to keep it out of in-line 19:01
19:01 domidumont left 19:02 jmerelo left 19:04 mowcat joined 19:05 guifa2 left
hsmyers at least the 3-letter names are inclusive so no problem with America/Boise versus America/Denver, both MST 19:05
19:12 telex left, Ven`` left 19:13 telex joined, Ven`` joined
hsmyers Even with 3 letters there are problems, WST can be Somoa or Sahara… 19:13
19:13 Ven`` left
AlexDaniel hsmyers: I can't comment on that because I never had this need, but if you find it useful then others will probably do too :) 19:14
hsmyers I see traces of other attempts out there so I'd agree 19:17
squashable6 🍕 AlexDaniel++ wrote a comment on “`loop { 0, .1 ... 1000 }` leaks memory”: github.com/Raku/old-issue-tracker/...-583768395 19:21
🍕 AlexDaniel++ closed issue “`loop { 0, .1 ... 1000 }` leaks memory”: github.com/Raku/old-issue-tracker/issues/4592
19:22 domidumont joined
AlexDaniel bisect: perl6 -e 'run "perl", "-e", q{kill SEGV => $$}; say "should not happen"' 19:22
bisectable6 AlexDaniel, On both starting points (old=2015.12 new=99b67a4) the exit code is 1 and the output is identical as well
AlexDaniel, gist.github.com/24170fad03a08f2c4d...95e9e04a17
AlexDaniel ah geez
19:22 guifa2 joined
AlexDaniel bisect: run "perl"q{kill SEGV => $$}; say "should not happen" 19:22
bisectable6 AlexDaniel, On both starting points (old=2015.12 new=99b67a4) the exit code is 1 and the output is identical as well
AlexDaniel, gist.github.com/b098ddf2fe24e57c35...ac23430920
AlexDaniel bisect: run "perl", "-e", q{kill SEGV => $$}; say "should not happen"
19:22 domidumont left
bisectable6 AlexDaniel, Bisecting by exit code (old=2015.12 new=99b67a4). Old exit code: 0 19:22
AlexDaniel, bisect log: gist.github.com/7bf7984bb3ba5cceb7...c58d94247f 19:23
AlexDaniel, (2019-09-05) github.com/rakudo/rakudo/commit/22...eda445227e
19:23 guifa2 left
squashable6 🍕 AlexDaniel++ wrote a comment on “Proc.exitcode is zero fo…”: github.com/Raku/old-issue-tracker/...-583768613 19:24
🍕 AlexDaniel++ closed issue “Proc.exitcode is zero fo…”: github.com/Raku/old-issue-tracker/issues/5512
19:25 zakharyas joined
squashable6 🍕 AlexDaniel++ transferred issue “Errors indexing past the end of a List”: github.com/Raku/old-issue-tracker/issues/6373 19:27
Geth ¦ problem-solving: AlexDaniel self-assigned Errors indexing past the end of a List github.com/Raku/problem-solving/issues/160
¦ problem-solving: AlexDaniel self-unassigned Errors indexing past the end of a List github.com/Raku/problem-solving/issues/160 19:28
¦ problem-solving: AlexDaniel assigned to jnthn Issue Errors indexing past the end of a List github.com/Raku/problem-solving/issues/160
19:34 sena_kun left
squashable6 🍕 AlexDaniel++ wrote a comment on “Weird memory leakage of …”: github.com/Raku/old-issue-tracker/...-583769506 19:36
🍕 AlexDaniel++ labeled issue “Weird memory leakage of …” (Rakudo): github.com/Raku/old-issue-tracker/issues/6420
🍕 AlexDaniel++ labeled issue “Weird memory leakage of …” (leak): github.com/Raku/old-issue-tracker/issues/6420
stoned75 :q 19:37
AlexDaniel stoned75: yes? 19:38
c: releases use Aoeu;
committable6 AlexDaniel, gist.github.com/060433f8414ca94193...4744be9da4
AlexDaniel 6c: run(:out, <perl6 -e>, ‘use Aoeu’).out.slurp.contains(‘at /tmp/’).say 19:40
stoned75 AlexDaniel: nothing. wrong window :)
committable6 AlexDaniel, gist.github.com/81456e91aa6b5e4bac...af1b1d8cdd
AlexDaniel 6c: run(:err, <perl6 -e>, ‘use Aoeu’).err.slurp.contains(‘at /tmp/’).say 19:42
committable6 AlexDaniel, gist.github.com/6dbc66d0f3ce3a6fa9...0fbc48fa5f 19:43
AlexDaniel bisect: old=2019.11 spurt ‘sandbox/foo.p6’, ‘use Aoeu’; run(:err, <perl6 sandbox/foo.p6>).err.slurp.contains(‘at /home’).say 19:46
bisectable6 AlexDaniel, Bisecting by output (old=2019.11 new=99b67a4) because on both starting points the exit code is 0 19:47
AlexDaniel, bisect log: gist.github.com/f9991e7b23c492aa18...3fd04b7641
AlexDaniel, (2020-01-02) github.com/rakudo/rakudo/commit/6f...3c64c7f03b
AlexDaniel huh
c: 6f527cea9a0^,6f527cea9a0 spurt ‘sandbox/foo.p6’, ‘use Aoeu’; run(:err, <perl6 sandbox/foo.p6>).err.slurp.contains(‘at /home’).say
committable6 AlexDaniel, ¦6f527cea9a0^: «False␤» ¦6f527ce: «True␤»
AlexDaniel c: 6f527cea9a0^,6f527cea9a0 use Aoeu
committable6 AlexDaniel, gist.github.com/6594141227b60533db...0503bd07b9
AlexDaniel nine++ 19:48
squashable6 🍕 AlexDaniel++ wrote a comment on “Could not fine Aoeu at l…”: github.com/Raku/old-issue-tracker/...-583770456
🍕 AlexDaniel++ labeled issue “Could not fine Aoeu at l…” (testneeded): github.com/Raku/old-issue-tracker/issues/6441
19:48 sena_kun joined
AlexDaniel another ticket that can be closed if someone writes tests :) 19:49
squashable6 🍕 AlexDaniel++ wrote a comment on “Error message when using…”: github.com/Raku/old-issue-tracker/...-583770883 19:54
AlexDaniel Kaiepi: can you take a look at? github.com/Raku/old-issue-tracker/issues/6342 19:55
tellable6 AlexDaniel, I'll pass your message to Kaiepi
19:55 mowcat left
AlexDaniel Kaiepi: oops, misplaced question mark, sry :) Anyway it's just an old ticket that maybe we can close or something 19:56
tellable6 AlexDaniel, I'll pass your message to Kaiepi
19:56 mowcat joined
squashable6 🍕 AlexDaniel++ wrote a comment on “Specifying the source ad…”: github.com/Raku/old-issue-tracker/...-583771282 19:59
AlexDaniel Kaiepi: also: github.com/Raku/old-issue-tracker/issues/6399
tellable6 AlexDaniel, I'll pass your message to Kaiepi
AlexDaniel 6c: say Range.new(List, Nil) 20:00
committable6 AlexDaniel, gist.github.com/380b0e3a3e48828ec4...7337e1863f 20:01
AlexDaniel bisect: say Range.new(List, Nil)
bisectable6 AlexDaniel, Bisecting by output (old=2015.12 new=99b67a4) because on both starting points the exit code is 0
AlexDaniel, bisect log: gist.github.com/695fd9f24f77993e29...fe83443263
AlexDaniel, (2018-07-17) github.com/rakudo/rakudo/commit/6a...469d7cac01
AlexDaniel c: 6ad096c8a612^,6ad096c8a612 say Range.new(List, Nil) 20:02
committable6 AlexDaniel, ¦6ad096c8a612^: «List..Any␤» ¦6ad096c: «List..Nil␤»
AlexDaniel c: 6ad096c8a612^,6ad096c8a612 say Range.new(Nil, List).min
committable6 AlexDaniel, ¦6ad096c8a612^: «(Any)␤» ¦6ad096c: «Nil␤»
squashable6 🍕 AlexDaniel++ wrote a comment on “List.Set loses List elements”: github.com/Raku/old-issue-tracker/...-583771561
🍕 AlexDaniel++ unlabeled issue “List.Set loses List elements” (Bug): github.com/Raku/old-issue-tracker/issues/6144
🍕 AlexDaniel++ labeled issue “List.Set loses List elements” (testneeded): github.com/Raku/old-issue-tracker/issues/6144
🍕 AlexDaniel++ wrote a comment on “Range.new confused by Nil”: github.com/Raku/old-issue-tracker/...-583771616 20:03
🍕 AlexDaniel++ unlabeled issue “Range.new confused by Nil” (Bug): github.com/Raku/old-issue-tracker/issues/6141
🍕 AlexDaniel++ labeled issue “Range.new confused by Nil” (testneeded): github.com/Raku/old-issue-tracker/issues/6141
Doc_Holliwould github.com/manwar/perlweeklychalle...h-2.p6#L16 20:04
tellable6 2020-02-08T12:13:34Z #raku <thundergnat> Doc_Holliwould Is it safe? yes, though a little verbose. How about something like: sub is-open ($door) { $door.sqrt.narrow ~~ Int }; say .&is-open for 4, 7, 16, 23, 25;
Doc_Holliwould what is this ?^= operator?
squashable6 🍕 AlexDaniel++ unlabeled issue “List.Set loses List elements” (testneeded): github.com/Raku/old-issue-tracker/issues/6144 20:05
🍕 AlexDaniel++ labeled issue “List.Set loses List elements” (Rakudo): github.com/Raku/old-issue-tracker/issues/6144
Doc_Holliwould thundergnat: Ty, that is a nice way. I did not know about this function. 20:06
tellable6 Doc_Holliwould, I'll pass your message to thundergnat
AlexDaniel Doc_Holliwould: ha, that's kinda cool. It's docs.perl6.org/language/operators#prefix_?^ 20:07
Doc_Holliwould: the = part works exactly the same way as you can do `$a += 5` instead of `$a = $a + 5` 20:08
6c: say 1 / (2**1020)
Doc_Holliwould Yes, but the RHS in this program is always True 20:09
committable6 AlexDaniel, gist.github.com/2f6eddaab3f39e4b41...d0a150e7c6
Doc_Holliwould m: say True ?^ True 20:10
camelia False
AlexDaniel ah wait, I'm looking at the wrong operator too
Doc_Holliwould m: say False ?^ True
camelia True
AlexDaniel this one: docs.perl6.org/language/operators#infix_?^
# If the door is open then close it. 20:12
# If the door is closed then open it.
that's pretty much what it does :) So in this case it will always try to close it
bisect: say 1 / (2**1020) 20:13
bisectable6 AlexDaniel, Bisecting by output (old=2015.12 new=99b67a4) because on both starting points the exit code is 0
AlexDaniel, bisect log: gist.github.com/0197caa1d91f443833...9f3fffd216
AlexDaniel, (2018-03-25) github.com/rakudo/rakudo/commit/63...e560c40611
Doc_Holliwould Yeah, I know what it does. I'm trying to decide wether I like it or find it overly clever
m: my $f = False; $f!!; say $f; 20:14
camelia 5===SORRY!5=== Error while compiling <tmp>
Bogus postfix
at <tmp>:1
------> 3my $f = False; $f7⏏5!!; say $f;
expecting any of:
infix
infix stopper
statement end
statement modifier
Doc_Holliwould I can smell a new operator :)
Wouldn't that be natural? 20:15
20:17 hsmyers left 20:24 heth left, rindolf left 20:26 thundergnat joined, heth joined
Voldenet is there any way to get only non-complex roots in less ugly way: 20:38
m: roots($_ ** 3, 3).first(*.im =~= 0).Real.say for ^3
camelia 0
1
2
Voldenet uh, nevermind, that was a silly question 20:49
m: sub root($self, Int() $n) { $self ** (1/$n) }; root($_ ** 3, 3).say for -1, ^3 20:54
camelia NaN
3
Voldenet m: sub root($self, Int() $n) { $self ** (1/$n) }; root($_ ** 3, 3).say for -1, |^3 20:55
camelia NaN
0
1
2
20:57 MasterDuke joined
Doc_Holliwould m: [²] (1..500.sqrt.Int); 20:58
camelia 5===SORRY!5=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> 3[²]7⏏5 (1..500.sqrt.Int);
expecting any of:
infix
infix stopper
statement end
statement modifier
Doc_Holliwould oh come on Raku
jnthn Reduction needs an infix operator 20:59
MasterDuke you need an infix to reduce
tellable6 2020-02-07T22:55:33Z #raku-dev <lizmat> MasterDuke github.com/rakudo/rakudo/commit/f8...e703777ba9 made is-prime -2 return True
MasterDuke jinx
jnthn m: say (1..500.sqrt.Int)>>²
camelia (1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289 324 361 400 441 484)
brass Is there a way to say to stderr? 21:00
jnthn brass: note
brass Thanks
What about put? 21:01
Doc_Holliwould my best take was 21:03
m: [Z*] (1..500.sqrt.Int) xx 2;
camelia Potential difficulties:
Useless use of [Z*] in sink context
at <tmp>:1
------> 3<BOL>7⏏5[Z*] (1..500.sqrt.Int) xx 2;
El_Che brass: note
brass Ah ok
MasterDuke m: $*ERR.put("this is on stderr") 21:04
camelia this is on stderr
21:05 chloekek left 21:07 mowcat left
Voldenet m: (1..500.sqrt.Int).map(* ** 2) 21:07
camelia ( no output )
Voldenet m: say (1..500.sqrt.Int).map(* ** 2);
camelia (1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289 324 361 400 441 484)
21:11 mowcat joined
MasterDuke reportable6: help 21:12
reportable6 MasterDuke, list | <from> <to> | weekly # See wiki for more examples: github.com/Raku/whateverable/wiki/Reportable
MasterDuke squashable6: help
squashable6 MasterDuke, Available commands: status, log, quiet, loud # See wiki for more examples: github.com/Raku/whateverable/wiki/Squashable
21:24 wamba joined
MasterDuke m: my Str $s = "abc"; my @l = $s.comb.map(-> $g { ;/$g/ }); say @l.perl 21:24
camelia [/$g/, /$g/, /$g/]
MasterDuke m: my Str $s = "abc"; my @l = $s.comb.map(-> $g { use MONKEY; EVAL "/$g/" }); say @l.perl
camelia [/a/, /b/, /c/]
MasterDuke should the second result be possible without EVAL? 21:25
jnthn Regexes ain't strings, they're compiled code; I suspect it is getting the closure semantics right, but you aren't going to see that reflected in the stringification of the regex, since that's really just carrying along its source 21:27
MasterDuke my Str $s = "abc"; my @l = $s.comb.map(-> $g { /$g/ }); say "a" ~~ @l[0]; say "a" ~~ @l[1] 21:29
evalable6 「a」
Nil
MasterDuke jnthn++
jnthn: so you think github.com/Raku/old-issue-tracker/issues/6690 should be closed? 21:30
jnthn Yes, also the "$g has been assigned many times" thing is a bit confusing, given then it's a read-only parameter 21:32
But that issue seems to want things to work in a way that they fundementally do not
21:33 sena_kun left 21:36 mowcat left
squashable6 🍕 MasterDuke17++ wrote a comment on “stringification of regex with variables”: github.com/Raku/old-issue-tracker/...-583779296 21:37
🍕🍕🍕 First contribution by MasterDuke17++! ♥
🍕 MasterDuke17++ closed issue “stringification of regex with variables”: github.com/Raku/old-issue-tracker/issues/6690
21:48 sena_kun joined
Doc_Holliwould m: my $a = False; $a.=not; say $a; 21:50
camelia True
Doc_Holliwould m: my $a = False; $a.=!; say $a;
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing required term after infix
at <tmp>:1
------> 3my $a = False; $a.=7⏏5!; say $a;
expecting any of:
dotty method or postfix
brass Is there a way do do file globbing? Like if I wanted to get */*.p6?
Doc_Holliwould ah, that not is a method 21:51
brass: modules.raku.org/dist/IO::Glob:cpan:HANENKAMP, I guess 21:53
21:53 leont left
MasterDuke m: my $a = False; $a.=&prefix:<!>; say $a; 21:57
camelia True
brass Doc_Holliwould: thank you 22:01
22:14 wamba left 22:18 wamba joined, lucasb left 22:32 guifa2 joined 22:36 zakharyas left
MasterDuke bisectable6: old=2017.02 A::B 22:45
bisectable6 MasterDuke, Bisecting by output (old=2017.02 new=99b67a4) because on both starting points the exit code is 1
MasterDuke, bisect log: gist.github.com/7ecfd9a1458d1abd79...c7b1b6b77c 22:46
MasterDuke, (2017-06-07) github.com/rakudo/rakudo/commit/e5...30bd74d765
22:50 NODE left 22:51 NODE joined 23:01 Ven`` joined 23:04 pecastro_ joined 23:05 pecastro left 23:08 NODE left, NODE joined 23:20 guifa2 left 23:25 NODE left 23:26 NODE joined 23:29 wamba left 23:30 hungrydonkey joined 23:32 sena_kun left
AlexDaniel squashable6: status 23:33
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈12 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/a972726f6c4f086b29...adee5af01f
🍕 MasterDuke17++ labeled issue “LTA error message when u…” (LTA): github.com/Raku/old-issue-tracker/issues/2204 23:39
🍕 MasterDuke17++ labeled issue “LTA error message when r…” (LTA): github.com/Raku/old-issue-tracker/issues/1453 23:40
🍕 MasterDuke17++ labeled issue “LTA error message when referring to &1 in Rakudo” (LTA): github.com/Raku/old-issue-tracker/issues/1499
🍕 MasterDuke17++ labeled issue “LTA error message for at…” (LTA): github.com/Raku/old-issue-tracker/issues/1726
MasterDuke i had hoped to do more for this squashathon, but i'm falling asleep 23:41
23:46 MasterDuke left 23:49 sena_kun joined 23:56 pecastro_ left