🦋 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.
xinming How do we merge 2 seq into one? 01:19
vrurg xinming: via a list? 01:45
Juerd m: ((^5).Seq, (^Inf).Seq).flat.say 02:33
evalable6 (0 1 2 3 4 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1…
Juerd, Full output: gist.github.com/81db6559c41983f386...0e7aaf9940
ZzZombo WTF, why does the stupid bot refuse to eval code in private messages?? 02:52
And where is Camelia?
xinming I don't mean the same result, What I mean is, wether it's possible to merge 2 Seq to be like a single Seq. 02:53
The ((^5).Seq, (^Inf).Seq).flat will eager enumerate all values.
Something like, $seq1.append($seq2), Where we get another Seq 02:54
Or maybe I still in confuson about Seq
Geth advent: 919e7d014c | (Aleks-Daniel Jakimenko-Aleksejev)++ | raku-advent-2019/schedule
Free the spot on 23rd

I wrote articles on 23rd for the past two years, but this time I won't make it (busy developing stuff). Sorry!
03:20
AlexDaniel There's an empty spot if anybody wants to write something :) 03:21
ZzZombo: please stop robot abuse! 03:29
:)
Juerd xinming: my $x = ((^5).Seq, (^Inf).Seq).flat; would never finish if it did eagerly enumerate all values :)
AlexDaniel ZzZombo: it is doing its best! Trying to satisfy users who expect camelia to be around 03:30
ZzZombo: also, apparently there are ways to kill camelia, so evalable6 just feels safer in public, no need to call it stupid :) 03:31
AlexDaniel ZzZombo: you can pm “perlbot” 03:33
that one knows how to do things right
ZzZombo AlexDaniel: I don't get how to use `perlbot`, can you lend me a hand? 03:49
simcop2387 perlbot: eval: say "$^V" 03:50
AlexDaniel rkeval: say "Hello"
perlbot simcop2387: 5===SORRY!5=== Error while compiling /tmp/Ww5d1_go_B␤Unsupported use of $^V variable; in Perl 6 please use $*PERL.version or $*PERL.compiler.version␤at /tmp/Ww5d1_go_B:1␤------> 3say "$^V7⏏5"␤[Exited 1]
simcop2387 ok cool it's using the right thing there
AlexDaniel eval: say 42
evalable6 42
AlexDaniel hmm
simcop2387 i need to change some other stuff still for the address/non-addressed stuff hold on
AlexDaniel oh it now does newlines properly :) 03:51
ZzZombo perlbot: eval: role NamedObject[Str:D $name]{has $.name = $name};say NamedObject['asd'].new 03:52
simcop2387 yea that's one of the things i had to update for the channel
and i had to restart it for the non-address config, give it a few minutes (freenode takes forever to reload)
perlbot: hi
ZzZombo perlbot: eval: role NamedObject[Str:D $name]{has $.name = $name};say NamedObject['asd'].new 03:54
simcop2387 the real slow part is that it does /who on every channel and parses the responses so it knows who's an op and everyone's hostname
AlexDaniel why tho
simcop2387 it uses that data for some of the security and permissions things
it also learns who's registered/logged in to services that way (at least on freenode) 03:55
AlexDaniel can't it be lazied?
simcop2387 not in a meaningful way thanks to some of the stupid ways that irc works 03:56
i've tried :/
perlbot: echo hi
hrm it should have been done by now i thought
there are some things that could in theory be done to help but they're difficult/annoying to do so i haven't done them yet 03:57
perlbot ZzZombo: NamedObject[Str].new(name => "asd")␤
simcop2387: hi
ZzZombo: NamedObject[Str].new(name => "asd")␤
simcop2387 finally
perlbot simcop2387: hi
simcop2387 this is why i try not to have to update those parts of it very often. i need to rewrite the channel config stuff so it can be changed at runtime 03:58
ZzZombo It still doesn't work in PMs: "<perlbot> ERROR: syntax error at (IRC) line 1, near "Str:""
simcop2387 ZzZombo: that's because eval: is by default perl5 everywhere but here and #perl6, try rkeval
ZzZombo How do I use it then? 03:59
rkeval: 'stuff'
perlbot ZzZombo: WARNINGS for /tmp/KP13JwFKqA:␤Useless use of constant string "stuff" in sink context (line 1)␤
cpan-raku New module released to CPAN! LibXML (0.2.4) by 03WARRINGD
simcop2387 /msg perlbot rkeval: role NamedObject[Str:D $name]{has $.name = $name};say NamedObject['asd'].new
ZzZombo Thanks! 04:01
simcop2387 no problem 04:02
now lets go see if the magnets will work to stick this to my fridge
SmokeMachine does anyone have a docker image with the last commit of raku? 04:24
would that be ok to have a git action to generate a new docker image on every new rakudo commit? 04:26
AlexDaniel squashable6: HEAD 04:31
squashable6 AlexDaniel, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Squashable
AlexDaniel shareable6: HEAD
shareable6 AlexDaniel, whateverable.6lang.org/HEAD
AlexDaniel SmokeMachine: ↑ it's not a docker image but it's a usable rakudo build
SmokeMachine AlexDaniel: thanks! I've also found this (gitlab.com/tyil/docker-perl6/conta..._registry) 04:34
squashable6 🍕 JJ++ submitted a review on pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3122#pull...-328592832 07:52
Geth doc: c11d048daf | MasterDuke17++ (committed using GitHub Web editor) | xt/headings.t
"Pod 6" -> "Pod6"
doc: 3464a84868 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | xt/headings.t
Merge pull request #3122 from MasterDuke17/patch-7

  "Pod 6" -> "Pod6"
squashable6 🍕 JJ++ merged pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3122
squashable6 🍕 JJ++ submitted a review on pull request “"Pod 6" -> "Pod6", plus some other misc changes”: github.com/Raku/doc/pull/3121#pull...-328592868 07:53
Geth doc: c66cf9ff18 | MasterDuke17++ (committed using GitHub Web editor) | writing-docs/STYLEGUIDE.md
"Pod 6" -> "Pod6", plus some other misc changes
doc: b68384453b | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | writing-docs/STYLEGUIDE.md
Merge pull request #3121 from MasterDuke17/patch-6

  "Pod 6" -> "Pod6", plus some other misc changes
squashable6 🍕 JJ++ merged pull request “"Pod 6" -> "Pod6", plus some other misc changes”: github.com/Raku/doc/pull/3121
squashable6 🍕 JJ++ submitted a review on pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3120#pull...-328592887
Geth doc: 387ec8e75e | MasterDuke17++ (committed using GitHub Web editor) | t/02-pod-valid.t
"Pod 6" -> "Pod6"
doc: 8542f12d03 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | t/02-pod-valid.t
Merge pull request #3120 from MasterDuke17/patch-2

  "Pod 6" -> "Pod6"
squashable6 🍕 JJ++ merged pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3120
squashable6 🍕 JJ++ submitted a review on pull request “"Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3119#pull...-328592912 07:54
🍕 JJ++ merged pull request “"Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3119
Geth doc: 9433ef23e7 | MasterDuke17++ (committed using GitHub Web editor) | resources/i18n/pt/README.pt.md
"Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"
doc: a09eb0f3eb | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | resources/i18n/pt/README.pt.md
Merge pull request #3119 from MasterDuke17/patch-5

  "Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"
squashable6 🍕 JJ++ submitted a review on pull request “"Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3118#pull...-328592935 07:55
Geth doc: 6ac1a0daeb | MasterDuke17++ (committed using GitHub Web editor) | resources/i18n/es/README.es.md
"Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"
doc: 7997501edb | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | resources/i18n/es/README.es.md
Merge pull request #3118 from MasterDuke17/patch-1

  "Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"
squashable6 🍕 JJ++ merged pull request “"Raku Pod" -> "Raku Pod6" and "Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3118
squashable6 🍕 JJ++ submitted a review on pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3117#pull...-328592956
Geth doc: 6092779c27 | MasterDuke17++ (committed using GitHub Web editor) | doc/Language/syntax.pod6
"Pod 6" -> "Pod6"
doc: 808e7febb2 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/syntax.pod6
Merge pull request #3117 from MasterDuke17/patch-4

  "Pod 6" -> "Pod6"
squashable6 🍕 JJ++ merged pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3117
squashable6 🍕 JJ++ submitted a review on pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3116#pull...-328592996 07:56
🍕 JJ++ wrote a comment on a review for “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3116#disc...r355167061
🍕 JJ++ submitted a review on pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3116#pull...-328593024 07:57
🍕 JJ++ synchronize pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3116
🍕 JJ++ submitted a review on pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3116#pull...-328593070 07:58
Geth doc: 289a08e708 | MasterDuke17++ (committed using GitHub Web editor) | CONTRIBUTING.md
"Pod 6" -> "Pod6"
doc: 43d43840f5 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | CONTRIBUTING.md
Drop a dash
squashable6 🍕 JJ++ merged pull request “"Pod 6" -> "Pod6"”: github.com/Raku/doc/pull/3116
doc: 1db3a90aac | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | CONTRIBUTING.md
Merge pull request #3116 from MasterDuke17/patch-3

  "Pod 6" -> "Pod6"
cpan-raku New module released to CPAN! MeCab (0.0.14) by 03TITSUKI 08:48
ZzZombo How can I create and use a custom metaclass? 09:39
MasterDuke ZzZombo: i'd ask Kaiepi, they've done some work there. or maybe modules.raku.org/dist/Kind:cpan:KAIEPI would have some examples 09:51
Kaiepi hm?
xinming $string ~~ /(.+)(SQL) (.+) $1 .+ { show-captures( $/ ); }/; 12:51
In above example, Shouldn't the regex be written as something like $string ~~ /(.+)(SQL) (.+) :my $x = $1; $x .+ { show-captures( $/ ); }/; 12:52
It's an example in docs.raku.org/language/regexes
SmokeMachine ZzZombo: I've been doing that like this: github.com/FCO/Red/blob/master/lib.../Model.pm6 17:11
SmokeMachine it seems that `Red:api<2>` is working!!! \o/ 17:48
lizmat SmokeMachine++ 17:52
SmokeMachine m: class C { submethod !bla {} }; say C.^find_method("!bla") 17:57
evalable6 (Mu)
SmokeMachine bisectable6: class C { submethod !bla {} }; say C.^find_method("!bla")
bisectable6 SmokeMachine, On both starting points (old=2015.12 new=382d18b) the exit code is 0 and the output is identical as well
SmokeMachine, Output on both points: «(Mu)␤»
SmokeMachine bisectable6: 2018.12 class C { submethod !bla {} }; say C.^find_method("!bla") 17:58
bisectable6 SmokeMachine, Using old=2018.12 new=HEAD in an attempt to do what you mean
SmokeMachine, On both starting points (old=2018.12 new=382d18b) the exit code is 0 and the output is identical as well
SmokeMachine, Output on both points: «(Mu)␤»
SmokeMachine strange... It was working on Red, but stoped working after I've gotten the new version... 17:59
bisectable6: 2017.12 class C { submethod !bla {} }; say C.^find_method("!bla")
bisectable6 SmokeMachine, Using old=2017.12 new=HEAD in an attempt to do what you mean
SmokeMachine, On both starting points (old=2017.12 new=382d18b) the exit code is 0 and the output is identical as well
SmokeMachine, Output on both points: «(Mu)␤»
SmokeMachine :(
vrurg SmokeMachine: you actually need find_private_method. 18:34
pmurias www.hpi.uni-potsdam.de/hirschfeld/..._AcmDL.pdf 18:47
SmokeMachine vrurg: yes, maybe that's it... but why did it stop working?
pmurias ^^ an interesting paper showing how the truffle framework support creating of a LSP 18:48
server
vrurg SmokeMachine: no idea. I should not been. 18:51
*It
El_Che 19:42
sena_kun 19:44
El_Che h/az 20:06
skyl4rk newb fooling around with hyper operators, is there a way to have @l <<f<< @r result in f(@l,@r[0]), f(@l,@r[1]) ... . using a capture of @l? 20:54
skyl4rk hm, captures seem to work, but I need to jump through hoops with using named variables for everything if I want to have the list mutable as well 21:03
Geth doc: 361be98b38 | (Stoned Elipot)++ | doc/Language/control.pod6
remove extraneous word and format 'if'
23:25