🦋 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:11 vrurg_ joined 00:14 vrurg left 00:16 eseyman left 00:18 eseyman joined 00:39 leont left 00:53 Xliff joined
Xliff \o 00:53
Here's a weird one!
"MoarVM panic: Internal error: invalid thread ID 181469784 in GC work pass" 00:54
Suddenly started showing up in a compunit after a (supposedly) unrelated code change.
Minor change in another piece of code and now it is showing up in a COMPLETELY DIFFERENT compunit! 00:57
"MoarVM panic: Internal error: invalid thread ID -1586283160 in GC work pas"
Hopefully that has been fixed in github.com/rakudo/rakudo/commit/ff...51f3dc8972 01:08
I'll recompile, later.
01:09 KindTwo joined 01:10 KindOne left 01:14 KindTwo is now known as KindOne 01:17 KindTwo joined 01:19 KindOne left 01:21 KindTwo is now known as KindOne 01:25 oddp left 01:31 molaf left 01:36 Altai-man_ joined 01:38 sena_kun left 01:43 molaf joined 02:14 pilne left 02:24 KindTwo joined 02:26 KindOne left 02:28 KindTwo is now known as KindOne 02:34 KindOne left 02:36 KindOne joined 02:47 vike1 left 02:56 vike1 joined 03:37 sena_kun joined 03:38 Altai-man_ left
softmoth .tell JJMerelo, I figured out the Travis CI display problem; I needed to use travis-ci.com instead of .org. Sorry for the noise. travis-ci.com/github/Raku/rakudoc 03:55
tellable6 softmoth, I'll pass your message to JJMerelo
04:24 stoned75 joined 04:31 zacts joined 04:36 vike1 left 04:38 zacts left 04:40 AimeeCandy joined 04:46 AimeeCandy left 04:54 vike1 joined 05:17 wamba joined 05:21 OpenZen left 05:22 suman joined, sauvin joined
suman commit: 4d1ef59 say $*RAKU.compiler.version 05:22
committable6 suman, ¦4d1ef59: «v2020.05.1.266.g.4.d.1.ef.59.e.8␤»
suman commit: 902401 say $*RAKU.compiler.version 05:26
committable6 suman, ¦902401: «v2020.05.1.265.g.902401.b.79␤»
suman commit: 902401b say $*RAKU.compiler.version
committable6 suman, ¦902401b: «v2020.05.1.265.g.902401.b.79␤»
05:31 molaf left 05:36 Altai-man_ joined 05:38 sjm_uk joined 05:39 sena_kun left 05:50 lichtkind joined 05:55 stoned75 left 06:05 rindolf joined 06:16 jast left 06:17 jast joined, rbt left, rbt joined 06:18 sauvin left 06:20 suman left 06:23 stoned75 joined 06:24 sauvin joined 06:31 abraxxa joined 06:36 abraxxa left 06:37 abraxxa joined 06:48 stoned75 left, stoned75 joined 06:50 cgfbee left 06:53 stoned75 left 06:55 stoned75 joined, Summertime left 06:56 soursBot joined 06:57 Summertime joined 06:58 brtastic joined 07:00 aborazmeh joined, aborazmeh left, aborazmeh joined 07:05 guifa left 07:07 Redfoxmoon left 07:08 guifa joined, k-man left 07:09 cgfbee joined 07:10 Celelibi left 07:11 rbt left, rbt joined 07:12 Redfoxmoon joined 07:13 kensanata joined 07:14 wamba left 07:17 sarna joined 07:18 stoned75 left, stoned75 joined 07:21 patrickb joined, k-man joined
patrickb o/ 07:21
tellable6 2020-06-09T16:26:10Z #raku-dev <rba> patrickb: Just stumbled over Dave Rolskys azure pipeline helpers for perl: github.com/houseabsolute/ci-perl-helpers Might be helpful by some means or others...
07:22 k-man left
patrickb :ls 07:22
07:23 daxim joined, cpage left, soursBot left 07:25 Celelibi joined 07:27 k-man joined 07:28 pecastro joined 07:29 k-man left 07:30 soursBot joined 07:31 MasterDuke joined 07:32 stoned75 left 07:34 stoned75 joined 07:37 sena_kun joined 07:38 Altai-man_ left 07:41 wamba joined 07:42 dakkar joined, k-man joined 07:43 k-man left, k-man joined 07:51 softmoth left 07:53 epony left 07:58 epony joined 07:59 epony left 08:01 epony joined 08:08 vike1 left 08:09 squashable6 left 08:12 squashable6 joined 08:22 aborazmeh left 08:24 soursBot left 08:26 brtastic left 08:28 brtastic joined, xinming left 08:31 soursBot joined, xinming joined 08:50 aborazmeh joined, aborazmeh left, aborazmeh joined 08:51 Redfoxmoon left, Redfoxmoon joined 09:04 oddp joined 09:13 lichtkind_ joined 09:16 lichtkind left 09:24 Sgeo left, sarna left
Geth doc: gfldex++ created pull request #3471:
$_ defaults to OUTER::<$_>
09:24
09:27 sarna joined 09:36 Altai-man_ joined 09:39 sena_kun left, vike1 joined 10:01 soursBot left 10:10 Black_Ribbon left 10:13 soursBot joined 10:22 andrzejku joined 10:28 leont joined 10:41 aborazmeh left 10:47 lichtkind_ left 10:49 soursBot left 11:00 Cabanossi joined 11:05 soursBot joined 11:08 aborazmeh joined, aborazmeh left, aborazmeh joined 11:13 Cabanoss- joined 11:14 Cabanoss- left 11:15 Cabanossi left 11:16 Cabanossi joined 11:20 cognomin_ joined, abraxxa left 11:23 cognominal left 11:24 wamba left, wamba joined 11:28 Cabanossi left 11:31 vike1 left 11:37 sena_kun joined 11:38 Altai-man_ left 11:40 vike1 joined 11:41 lichtkind joined 11:46 aborazmeh left 11:49 Cabanossi joined 12:11 rbt left, rbt joined 12:18 soursBot left 12:20 mowcat joined 12:22 soursBot joined 12:24 Cabanossi left 12:27 soursBot left 12:35 Cabanossi joined 12:46 soursBot joined 12:50 lichtkind left, bloatable6 left 12:51 bloatable6 joined, zacts joined 12:52 lichtkind joined 12:54 armin_ joined 12:55 sftp_ joined 12:56 nativecallable6_ joined 12:57 shareable6_ joined 12:58 genevino left, sftp left, sftp_ is now known as sftp 13:01 nativecallable6 left, shareable6 left, quotable6 left, ShimmerFairy left, Roamer` left 13:02 zacts left 13:07 quotable6 joined, ShimmerFairy joined, Roamer` joined 13:09 lue joined, ShimmerFairy left
[Coke] for @map-of-hash.sort: {$_<attribute>} { ... } 13:11
13:11 zacts joined
[Coke] is there a "nicer" way to get the attribute here? (I find myself often using .attribute here, which does not produce the desired output, oops. :) 13:12
13:12 zacts is now known as Guest45698, Guest45698 left, zacts_pi joined
jnthn [Coke]: *<attribute> is a bit prettier 13:13
Though you can use .<attribute> instead of writing out the $_
[Coke] jnthn++ 13:16
13:25 lichtkind left 13:31 zacts_pi left 13:37 OpenZen joined 13:38 Altai-man_ joined, sena_kun left 13:44 lue is now known as ShimmerFairy 13:46 patrickb left 14:06 grondilu joined
grondilu m: say 7.Rat.nude[0] 14:06
camelia 7
grondilu ^this fails if I insert a newline after Rat
can the evalbot read multiline commands so that I show you the error ? 14:08
MasterDuke i think it interprets ␤ as newline. or you could try putting it in a gist and using evalable6 14:10
14:10 MilkmanDan left
jnthn When you have whitespace there you're using the `.` infix operator, not the `.` postfix operator, and the entire term that follows is the method call name, not a general termish, so stacking further postfixes won't work. 14:11
14:13 MilkmanDan joined
grondilu you're right. I added parenthesis and it works. 14:13
Roamer` even though jnthn explained, let me just say that it doesn't even need to be a newline, you can do it with any whitespace:
m: say 7.Rat .nude[0]
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing infix inside []
at <tmp>:1
------> 3say 7.Rat .nude[7⏏050]
expecting any of:
bracketed infix
infix
infix stopper
Roamer` it's the same issue 14:14
14:14 brtastic left 14:16 patrickb joined
grondilu realizes that there is a 'numerator' method anyway 14:17
check out my one-liner for problem 65 of Project Euler : github.com/Raku/examples/blob/mast...rondilu.pl 14:24
jnthn cute 14:25
MasterDuke nice
14:29 Xliff left 14:34 molaf joined 14:37 raiph joined 14:40 raiph left 14:42 soursBot left 14:43 soursBot joined 14:49 mowcat left 14:50 wamba left 14:51 grondilu left 14:57 sarna left 14:58 MilkmanDan left
rypervenche Out of curiosity, why are the file extensions .pl? 14:58
Altai-man_ rypervenche, this is an _old_ repo and overhaul is not finished yet. 14:59
rypervenche Gotcha.
Altai-man_ I still want to find some energy to finish with web part and maybe we can even merge. 15:00
15:00 soursBot left 15:01 soursBot joined 15:04 zacts_pi joined 15:07 MilkmanDan joined 15:08 zacts_pi left, zacts joined 15:09 grondilu joined
grondilu m: say (-1, -.99 ... 1).max(:by(*²)) 15:11
camelia 1
grondilu m: say (-1, -.99 ... 1).min(:by(*²))
camelia -1
grondilu was expecting 0 15:12
m: say (-2, 1).max(:by(*²)) 15:13
camelia 1
grondilu m: say max(-2, 1, :by(*²)) 15:14
camelia -2
grondilu What am I missing ? 15:17
[Coke] m: dd (-1, -.99 ... 1)
camelia (-1, -0.99, -0.98, -0.97, -0.96, -0.95, -0.94, -0.93, -0.92, -0.91, -0.9, -0.89, -0.88, -0.87, -0.86, -0.85, -0.84, -0.83, -0.82, -0.81, -0.8, -0.79, -0.78, -0.77, -0.76, -0.75, -0.74, -0.73, -0.72, -0.71, -0.7, -0.69, -0.68, -0.67, -0.66, -0.65, -0.6…
grondilu m: say [-2, 1].max(:by(*²)) 15:18
camelia 1
MasterDuke m: say (-1, -.99 ... 1).map(* ** 2).min
camelia 0
grondilu 0² = 0 though 15:19
it's not the same zero
it was a bad example in the first place, (-2, 1) is better
15:22 soursBot left
MasterDuke m: say min(1,7,3,:by( { 1/$_ } )); say (1,7,3).min(:by( { 1/$_ } )) 15:23
camelia 7
1
dakkar grondilu: I fear the problem is that `.max` (the mbethod) does not take a named argument
it takes a callable as positional
m: say (-2,1).max(*²)
camelia -2
dakkar the :by you were passing got completely ignored 15:24
docs.raku.org/routine/max#(Any)_routine_max
MasterDuke m: say (1,7,3).min( { 1/$_ } )
camelia 7
grondilu oh, you're right. I misread the doc 15:25
dakkar it is a bit confusing that the sub takes the named argument, the method takes the positional…
oddp Yeah, have a hard time with that as well. 15:26
zip(..., :&with)
reduce(..., &with)
classify(..., :as)
grondilu it makes sense, though. Naming the argument is not useful in the method form.
[Coke] Should we unify that?
15:26 rbt left
[Coke] ah 15:26
dakkar naming the argument is not *necessary* in the method form 15:27
grondilu true
MasterDuke we might be able to add aliases for with/as
15:27 rbt joined
grondilu A warning would be useful, though. 15:27
Also I'm surprised a method can just ignore an argument without warning 15:28
15:28 zacts left
dakkar I think most of them have *%_ in their signature 15:28
grondilu m: class { method foo() {} }.new.foo(this => that)
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
that used at line 1. Did you mean 'WHAT'?
grondilu m: class { method foo() {} }.new.foo(this => "that") 15:29
camelia ( no output )
15:30 grondilu left 15:32 patrickb left
oddp "<dakkar> naming the argument is not *necessary* in the method form" - but it is necessary in zip, for example, isn't it? 15:32
15:32 epony left
dakkar oddp: sorry, I mostly meant "not necessary, but would still be nice for consisntency" 15:34
I forgot to actually write down the second half…
but yes, `zip` needs the `with` to be named because it already takes an arbitrary number of positional arguments (the other things to zip) 15:35
15:38 _jrjsmrtn joined 15:40 sena_kun joined, __jrjsmrtn__ left 15:42 Altai-man_ left, aborazmeh joined, aborazmeh left, aborazmeh joined 15:56 soursBot joined 16:04 kensanata left 16:05 lucasb joined 16:07 mowcat joined 16:12 soursBot left
hoelzro I asked this in #moarvm, but this would be a more appropriate forum - is there a good way to put up modules for adoption? 16:18
[Coke] there is a github group for community adoption. 16:20
hoelzro ok, thanks [Coke] ! 16:28
16:29 dakkar left 16:31 Black_Ribbon joined 16:32 soursBot joined
hoelzro is it ok for me to just hand the repo over, should I open an issue somewhere, etc? 16:33
16:34 soursBot left 16:39 soursBot joined
[Coke] In general, open an issue. for something that's included in rakudo star that you are definitely interested in dumping, just do it. 16:47
my 2¢ 16:48
hoelzro sounds good! which repo would be the best to open an issue on? 16:53
16:54 patrickb joined
[Coke] no clue. :) 17:04
lizmat hoelzro: forked it to github.com/raku-community-modules/...-linenoise for now 17:10
17:11 softmoth joined, rbt left, rbt joined
Geth ecosystem: 60b7fc266f | (Elizabeth Mattijsen)++ | META.list
Move linenoise to community modules
17:15
17:18 zacts joined
lizmat hoelzro: ecosystem should now use the community modules one 17:18
I'm not sure how we could import the issues :-( 17:19
perhaps AlexDaniel knows
AlexDaniel` just transfer the repo? 17:20
why fork it?
lizmat is a noob
AlexDaniel` remove the fork, then transfer it :)
lizmat how do I import it ?
AlexDaniel` this will move all issues and stuff, and the original repo will redirect automatically for most queries 17:21
hoelzro needs to do it
lizmat aha...
well, he can, as the name p6-linenoise is free atm
AlexDaniel` and hoelzro needs to be added to the community-modules org, otherwise they won't be able to transfer
lizmat so maybe I should create a Team with the access right for importing ? 17:23
17:23 KindTwo joined
AlexDaniel` I think all members can create repos (and if you can create repos then you can transfer too) 17:23
but feel free to play with privileges 17:24
same goes for the Raku org, it's even more complicated there
e.g. see github.com/Raku/please-turn-off-th...ch-feature
17:24 KindOne left
AlexDaniel` I have some scripts that can sync members between orgs and teams 17:24
lizmat I've added hoelzro as a member 17:25
AlexDaniel` let me know if you need them
lizmat put perhaps we're doing this the wrong way
AlexDaniel` maybe!
lizmat perhaps hoelzro should just give me maintain access to the linenoise repo, and then I can import it into community modules 17:26
17:26 KindTwo is now known as KindOne
AlexDaniel` I'm going out to enjoy the weather now, .tell me if there's anything I need to do 17:26
lizmat AlexDaniel enjoy!
17:27 zacts left 17:35 epony joined 17:39 Altai-man_ joined 17:42 sena_kun left 17:51 shlomif joined, shlomif left 18:00 shlomif joined 18:01 shlomif left 18:05 shlomif joined 18:06 shlomif left
hoelzro lizmat: thanks! I can transfer that whenever - I'll need to delete the fork first, though 18:18
lizmat ok, let me first undo the change to the ecosystem, then I'll delete the fork, and then I'll re-apply again
Geth ecosystem: 4ec46ddf47 | (Elizabeth Mattijsen)++ | META.list
Revert "Move linenoise to community modules"

This reverts commit 60b7fc266f61e53048ef25abdbd8fe0df42386c0.
18:19
hoelzro ok
tadzik oh hai hoelzro o/ 18:20
hoelzro o/ tadzik
lizmat hoelzro: deleted
hoelzro thanks! transferring
lizmat so go ahead :-)
hoelzro transferred and renamed 18:22
18:22 sauvin left
lizmat hoelzro++ # and thanks for all the good work! 18:23
18:24 molaf left
Geth ecosystem: 98a1bf75b3 | (Elizabeth Mattijsen)++ | META.list
Revert "Revert "Move linenoise to community modules""

This reverts commit 4ec46ddf47679f07c288c173c57722970bc1fb5b.
18:25
18:32 soursBot left 18:33 aborazmeh left, soursBot joined
[Coke] lizmat++ 18:39
18:42 xinming left 18:43 xinming joined 18:48 chloekek joined 19:01 MilkmanDan left 19:02 MilkmanDan joined 19:12 aindilis left 19:18 devmikey joined 19:21 Sgeo joined 19:29 OpenZen left, rbt left 19:30 rbt joined 19:35 sjm_uk left, rbt left, rbt joined 19:40 sena_kun joined 19:42 Altai-man_ left, schlaftier left 19:46 Altai-man_ joined 19:48 sena_kun left 19:53 wamba joined 20:00 maggotbrain left 20:02 chloekek left 20:07 rindolf left 20:14 kensanata joined 20:19 KindOne left 20:21 molaf joined 20:25 soursBot left 20:26 KindOne joined 20:31 OpenZen joined 20:32 molaf left, molaf joined 20:38 chloekek joined 20:41 sena_kun joined 20:42 Altai-man_ left 20:46 stoned75 left 20:48 stoned75 joined 20:49 wamba left
jdv79 a colleague just said "raku is probably the most user unfriendly lang I've seen so far":) 21:03
21:09 team\andinus left, kensanata left 21:11 team\andinus joined 21:13 cj joined
cj hey team 21:13
oscon2006-2006.07.27_12-37-48.dv <- larry and damian giving a presentation about perl6
I'm going to transcode to mp4 and publish it shortly.
web.c9h.org/~cjac/perl/videos/ 21:14
so far all I've got is the State of the Onion
21:14 brian1729 joined 21:15 brian1729 left 21:18 KindTwo joined 21:19 KindOne left 21:22 KindTwo is now known as KindOne 21:30 soursBot joined 21:39 soursBot left 22:00 pepe_70 joined 22:11 rbt left, rbt joined 22:13 chloekek left
lizmat cj++ 22:21
cj hey liz. I think you're great. 22:23
ln -sf perl raku 22:24
lizmat :)
cj I must have follow symlinks on already or maybe it's not needed within the same virtualhost entry 22:25
in any case, web.c9h.org/~cjac/raku/videos/
okay, copying some new content now.
22:29 sena_kun left 22:39 vividsnow joined, vividsnow left
cj ingy: web.c9h.org/~cjac/raku/videos/oscon...-37-44.mp4 22:40
the one after that that is your presentation. 22:41
lizmat weekly: web.c9h.org/~cjac/raku/videos/ 22:42
notable6 lizmat, Noted! (weekly)
lizmat sleep& 22:43
22:58 pecastro left 23:01 patrickz joined 23:03 Woodi left, Woodi joined 23:05 patrickb left 23:20 aindilis joined 23:22 lucasb left 23:28 Woodi left, Woodi joined 23:33 rbt left, rbt joined 23:37 tejr left 23:39 MasterDuke left 23:59 patrickb joined