🦋 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:25
releasable6 left,
greppable6 left,
committable6 left,
notable6 left,
shareable6 left,
unicodable6 left,
bloatable6 left,
bisectable6 left,
quotable6 left,
sourceable6 left,
statisfiable6 left,
nativecallable6 left,
squashable6 left,
reportable6 left,
coverable6 left,
benchable6 left
00:26
squashable6 joined,
coverable6 joined,
sourceable6 joined,
committable6 joined,
reportable6 joined,
nativecallable6 joined
00:27
greppable6 joined,
benchable6 joined,
bloatable6 joined,
bisectable6 joined,
notable6 joined
00:28
releasable6 joined,
unicodable6 joined,
statisfiable6 joined,
quotable6 joined,
shareable6 joined
00:54
sena_kun left
|
|||
xinming | How do we merge 2 seq into one? | 01:19 | |
01:28
KotH left
01:29
KotH joined
|
|||
vrurg | xinming: via a list? | 01:45 | |
01:54
clarjon1 joined
|
|||
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 | |||
03:04
wildtrees left
|
|||
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 | ||
03:32
perryprog joined
|
|||
AlexDaniel | ZzZombo: you can pm “perlbot” | 03:33 | |
that one knows how to do things right | |||
03:46
perlbot joined,
Doc_Holliwould left
|
|||
ZzZombo | AlexDaniel: I don't get how to use `perlbot`, can you lend me a hand? | 03:49 | |
03:49
simcop2387 joined
|
|||
simcop2387 | perlbot: eval: say "$^V" | 03:50 | |
AlexDaniel | rkeval: say "Hello" | ||
perlbot | simcop2387: 5===SORRY!5=== Error while compiling /tmp/Ww5d1_go_BUnsupported use of $^V variable; in Perl 6 please use $*PERL.version or $*PERL.compiler.versionat /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 | |||
04:05
johnjay left
04:08
johnjay joined
|
|||
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 | |
05:20
rindolf joined
05:43
xinming left
05:44
xinming joined
06:32
Xliff joined,
Xliff left
06:36
RobRaku joined
06:48
squashable6 left
06:50
squashable6 joined
07:05
cpan-raku left,
cpan-raku joined,
cpan-raku left,
cpan-raku joined
07:46
wamba joined
|
|||
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 | |
08:51
robertle joined
09:01
Doc_Holliwould joined
09:02
cognomin_ joined
09:05
cognominal left
09:25
RobRaku left
09:35
RobRaku joined
|
|||
ZzZombo | How can I create and use a custom metaclass? | 09:39 | |
09:48
Kaiepi joined
|
|||
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? | ||
10:19
stoned75 joined
10:35
chloekek joined
10:49
RobRaku left
10:52
stoned75 left
10:54
stoned75 joined
10:59
sena_kun joined
11:14
Doc_Holliwould left
12:31
pamplemousse joined
12:34
cognominal joined
12:35
chloekek left
12:38
cognomin_ left
12:51
stoned75 left
|
|||
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 | |||
12:53
sena_kun left
13:07
sena_kun joined
13:08
stoned75 joined
13:35
pamplemousse left
13:50
chloekek joined
14:03
lucasb joined
14:26
johnjay left
14:30
johnjay joined
14:51
veesh_ joined,
veesh left
14:52
veesh_ is now known as veesh
14:53
sena_kun left
15:08
sena_kun joined
15:17
stoned75 left
15:20
robertle left
15:37
Boko_eacbc joined
15:39
Boko_eacbc left
15:40
Boko_dcbba joined
15:46
Boko_dcbba left
15:56
Boko_ecada joined
16:00
Boko_ecada left
16:01
Boko_eebea joined,
Boko_eebea left
16:11
Boko_eaade joined
16:14
Boko_eaade left
16:36
Boko_dabee joined
16:39
Boko_dabee left
16:41
hkdtam joined
16:47
Boko_dbaba joined
16:48
Boko_dbaba left
16:53
Boko_edada joined
16:54
sena_kun left
16:58
Boko_edada left
17:07
sena_kun joined
|
|||
SmokeMachine | ZzZombo: I've been doing that like this: github.com/FCO/Red/blob/master/lib.../Model.pm6 | 17:11 | |
17:30
Doc_Holliwould joined
|
|||
SmokeMachine | it seems that `Red:api<2>` is working!!! \o/ | 17:48 | |
lizmat | SmokeMachine++ | 17:52 | |
17:55
Boko_eebaa joined
|
|||
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 | :( | ||
18:00
Boko_eebaa left
18:11
Boko_eebea joined
18:15
Boko_eebea left
18:18
Boko_eeedd joined
18:27
Boko_eeedd left
|
|||
vrurg | SmokeMachine: you actually need find_private_method. | 18:34 | |
18:47
pmurias joined
|
|||
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 | |||
18:52
sena_kun left
19:07
sena_kun joined
19:27
pmurias left
19:29
pmurias joined
|
|||
El_Che | 19:42 | ||
sena_kun | 19:44 | ||
20:02
pmurias left
|
|||
El_Che | h/az | 20:06 | |
20:09
pmurias joined
20:14
chloekek left
20:50
cpan-raku left
20:53
sena_kun left
|
|||
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 | |
20:54
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|
|||
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 | |
21:06
stoned75 joined
21:07
rindolf left,
sena_kun joined
21:15
pmurias left
21:31
chloekek joined
21:46
benjif joined
22:04
chloekek left
22:18
daxim left
22:23
daxim joined
22:38
stoned75 left
22:43
sena_kun left
23:04
wamba left
23:05
dominix joined
23:08
stoned75 joined
23:09
thienbachtran joined
23:12
thienbachtran left
23:13
dominix_ joined
23:16
dominix left
|
|||
Geth | doc: 361be98b38 | (Stoned Elipot)++ | doc/Language/control.pod6 remove extraneous word and format 'if' |
23:25 |