»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
00:00 Manifest0 left 00:06 Manifest0 joined 00:10 netrino left 00:11 Manifest0 left, xi- joined 00:15 Manifest0 joined 00:16 netrino joined 00:21 aborazmeh joined, aborazmeh left, aborazmeh joined 00:31 leont left 00:43 Manifest0 left 00:48 Manifest0 joined 00:53 Manifest0 left 00:56 netrino left 00:57 Manifest0 joined 01:00 netrino joined 01:14 nadim_ left, Manifest0 left 01:19 Manifest0 joined 01:33 netrino left, Manifest0 left 01:38 Manifest0 joined 01:39 netrino joined, ijneb left 01:44 noisegul_ joined 01:47 nadim_ joined, ijneb joined, noisegul left 01:50 molaf left 01:56 nadim_ left 02:03 molaf joined, Manifest0 left 02:05 Manifest0 joined 02:22 netrino left 02:23 netrino joined 02:31 Manifest0 left 02:36 Manifest0 joined 02:40 aborazmeh left 02:47 Manifest0 left 02:52 Manifest0 joined 02:54 ayerhart joined 03:06 netrino left 03:07 Manifest0 left 03:08 netrino joined 03:10 kaare__ left 03:11 kaare__ joined 03:13 Manifest0 joined 03:34 Manifest0 left 03:39 Manifest0 joined 03:42 netrino left 03:47 netrino joined 03:48 Manifest0 left 03:53 lucs joined, Manifest0 joined 04:00 molaf left
Xliff \o 04:19
Why is rakudobrew slow?
04:20 netrino left 04:22 kybr left, reach_satori_ left 04:26 netrino joined 04:28 Manifest0 left 04:31 jeromelanteri joined 04:32 Manifest0 joined 04:39 Manifest0 left 04:45 Manifest0 joined 04:50 Manifest0 left 04:55 Manifest0 joined 04:59 netrino left 05:05 netrino joined 05:07 Manifest0 left
moritz slow doing what? 05:11
05:12 Manifest0 joined 05:16 Manifest0 left 05:22 Manifest0 joined 05:26 Manifest0 left 05:33 Manifest0 joined
lizmat weekly: perl6.eu/squared-ranking.html 05:34
notable6 lizmat, Noted!
05:35 robertle left 05:37 Kaypie joined, Kaiepi left 05:41 nadim_ joined 05:42 Manifest0 left 05:47 jmerelo joined 05:49 netrino left, Manifest0 joined 05:54 netrino joined, Manifest0 left 05:58 aindilis left
lizmat weekly: www.reddit.com/r/programming/comme...ve_perl_6/ 06:01
notable6 lizmat, Noted!
06:01 Manifest0 joined 06:03 sena_kun joined 06:08 cpan-p6 left 06:09 Manifest0 left 06:10 cpan-p6 joined, cpan-p6 left, cpan-p6 joined 06:11 jeromelanteri left 06:13 Manifest0 joined
jmerelo Reddit unavailable right now. The end is nigh 06:16
06:17 nadim_ left
Xliff Oh noes! Ppl will have to actually do something with other ppl! 06:18
jmerelo Xliff: there's always Twitter... And IRC!
lizmat works for me
Xliff Oh gawd. When Twitter dies... that's when Prince comes back to life and we party like it's 1999.
lizmat www.reddit.com/r/perl6/comments/bt...n_jvm_how/ # question on Reddit 06:19
jmerelo Xliff: :-) 06:20
lizmat: so, what's the state of the JVM now? I'm not really sure 06:22
lizmat neither
I guess bartolin knows best
and maybe pmurias
jmerelo Last Saturday I also went to a presentation about GraalVM. I checked out the repo for Perl 6 on GraalVM and it seems to be somewhat advanced 06:23
lizmat that's what pmurias is also working on, no ?
jmerelo lizmat: right. And Rakudo.js as well, which is totally different, right? 06:24
Xliff Actually...what is the state of PERL6 right now? 06:26
I cannot use rakudobrew to build moar-master. Only moar-blead seems to work.
Also...noticing HUGE increase in compile time for moar-blead on my VM 06:27
By a factor of like... 2
06:27 netrino left
jmerelo Xliff: it's on its way to 2019.06, I guess... 06:27
lizmat Xliff: compile time of the setting, or of modules ? 06:28
Xliff Compile times of my modules.
06:28 Manifest0 left
lizmat do you recompile rakudo regularly ? 06:28
Xliff Yes 06:29
lizmat if so, you may want to purge your .precomp directories
Xliff OK.
lizmat every re-compile of rakudo, will cause a fresh batch of your modules precomp files
Xliff lizmat: I know. 06:30
lizmat oki :-)
06:30 sauvin left
lizmat not sure if that's the reason, but it definitely doesn't help 06:30
Xliff This is the second time I've had a performance degredation like this. Fortunately doesn't appear to factor in to runtime.
Just parse
I will bug the build errors with rakudobrew, then. 06:31
06:31 sauvin joined 06:32 ufobat_ left 06:33 Manifest0 joined, netrino joined 06:34 reach_satori_ joined
lizmat www.reddit.com/r/perl/comments/bth...h_arduino/ # another question on Reddit 06:36
06:41 holyghost joined
holyghost hello 06:41
06:42 Manifest0 left 06:45 jmerelo left 06:47 Manifest0 joined 06:49 noisegul joined
noisegul Good morning 06:55
07:00 reportable6 left, quotable6 left, greppable6 left, statisfiable6 left 07:04 squashable6 left, releasable6 left, undersightable6 left, shareable6 left, evalable6 left, nativecallable6 left 07:07 coverable6 left, notable6 left 07:09 reportable6 joined, ChanServ sets mode: +v reportable6, undersightable6 joined, ChanServ sets mode: +v undersightable6, releasable6 joined, ChanServ sets mode: +v releasable6, squashable6 joined, ChanServ sets mode: +v squashable6 07:10 quotable6 joined, Manifest0 left 07:11 statisfiable6 joined, evalable6 joined, vrurg left, greppable6 joined, nativecallable6 joined, ChanServ sets mode: +v nativecallable6, shareable6 joined 07:15 Manifest0 joined 07:16 holyghost_ joined, holyghost left 07:17 holyghost_ is now known as holyghost 07:22 Manifest0 left
holyghost .tell Xliff I've sent you some email, it includes a new public key (my other email adress though) 07:26
yoleaux holyghost: I'll pass your message to Xliff.
07:27 Manifest0 joined 07:31 Manifest0 left, abraxxa joined 07:37 Manifest0 joined 07:42 aindilis joined 07:54 netrino left 07:56 pecastro joined 07:58 netrino joined 08:00 leont joined 08:03 netrino left 08:08 notable6 joined, ChanServ sets mode: +v notable6, coverable6 joined, ChanServ sets mode: +v coverable6 08:14 Altai-man_ joined 08:16 sena_kun left 08:19 Altai-man_ left 08:20 sena_kun joined 08:24 netrino joined 08:26 leont left, rindolf joined, dolmen joined
lizmat weekly: lobste.rs/s/v4b40v 08:29
notable6 lizmat, Noted!
08:34 Manifest0 left 08:39 feldspath joined 08:40 Manifest0 joined 08:44 adu left 08:49 Manifest0 left 08:54 Manifest0 joined 08:58 xi- left, Manifest0 left 08:59 xi- joined 09:01 netrino left 09:03 Manifest0 joined, reach_satori_ left 09:04 netrino joined 09:11 Sgeo__ left, reach_satori_ joined 09:12 Sgeo__ joined 09:13 Manifest0 left 09:17 Manifest0 joined 09:23 Manifest0 left 09:28 Manifest0 joined 09:35 Manifest0 left 09:37 netrino left 09:41 Manifest0 joined 09:43 netrino joined 09:48 Manifest0 left 09:53 Manifest0 joined 09:58 antoniogamiz joined
antoniogamiz o/ 10:00
10:05 Manifest0 left
noisegul Hello Antonio :) 10:07
antoniogamiz noisegul: :D 10:08
10:10 Manifest0 joined 10:15 Manifest0 left 10:16 netrino left, Ven`` joined
Ven`` o/ 10:16
10:21 Manifest0 joined 10:22 netrino joined, Voldenet left 10:24 nadim_ joined 10:30 Manifest0 left 10:36 Manifest0 joined 10:38 pmurias joined
holyghost .tell Xliff thanks, the login is alive ! :o) 10:40
yoleaux holyghost: I'll pass your message to Xliff.
10:44 dolmen left 10:47 krunen left, krunen joined 10:55 netrino left 11:01 netrino joined 11:02 natrys joined
holyghost ;lo Ven` 11:08
I'm feasting and smoking, so perl6 on wednesday probably :-) 11:10
11:18 telex left 11:20 telex joined 11:25 antoniogamiz left 11:32 Manifest0 left 11:33 Voldenet joined, Voldenet left, Voldenet joined 11:37 powerbit left, Manifest0 joined 11:49 dolmen joined 11:51 Manifest0 left 11:56 Manifest0 joined 12:00 Manifest0 left 12:01 leont joined 12:04 netrino left 12:05 Manifest0 joined 12:10 netrino joined 12:16 Manifest0 left 12:19 Guest12727 joined 12:21 Manifest0 joined 12:29 pmurias left 12:30 sena_kun left 12:37 Manifest0 left 12:42 Manifest0 joined, netrino left 12:46 sena_kun joined, xi| joined 12:49 netrino joined 12:50 xi- left, xi|_ joined 12:51 xi| left, Manifest0 left 12:56 xi|_ left 12:57 xi- joined 12:58 Manifest0 joined 13:03 aborazmeh joined, aborazmeh left, aborazmeh joined 13:06 xi| joined 13:09 xi- left 13:11 john_parr left
sena_kun lizmat++ 13:12
13:15 aborazmeh left 13:16 MilkmanDan left 13:20 MilkmanDan joined 13:21 netrino left 13:24 vrurg joined 13:28 netrino joined, Manifest0 left 13:33 Manifest0 joined 13:35 sena_kun left 13:40 Manifest0 left 13:46 Manifest0 joined 13:51 zakharyas joined 13:52 molaf joined 13:58 patrickb joined
patrickb m: class A {method a() {}}; class B {method b() {A.new}}; class C {method c() {B.new}}; my $x = C.new; $x .= c.b; $x.WHAT; 13:59
camelia ( no output )
patrickb m: class A {method a() {}}; class B {method b() {A.new}}; class C {method c() {B.new}}; my $x = C.new; $x .= c.b; say $x.WHAT;
camelia (B)
13:59 khisanth_ left 14:00 pmurias joined 14:01 netrino left
patrickb Intuitively I would have expected this to print "(C)". A quick search through roast didn't yield a test for the behavior. Is the current intended? 14:05
* to print "(A)"
14:07 netrino joined
lizmat and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/05/27/...thats-why/ 14:07
Ven`` lizmat++ 14:09
sjn awesome! lizmat++ 14:10
timotimo lizmat++
14:12 khisanth_ joined 14:13 lizmat left
timotimo hum. modules.perl6.org doesn't render ```blah``` as code, we should perhaps find out why that is (since the Result dist uses it in its readme and that is linked from the weekly, it'll have some visibility) 14:14
ugexe patrickb: looks right to me? my $x = C.new ($x is C). $x .= c.b ($x is assigned the result of $x.c, and then .b is called on that) 14:22
14:22 reach_satori_ left
ugexe m: my $str = "123"; $str .= Int.Str; say $str.WHAT 14:22
camelia (Int)
14:23 reach_satori_ joined
ugexe m: my $str = "123"; $str .= (Int.Str); say $str.WHAT 14:23
camelia Use of uninitialized value of type Int in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
in block <unit> at <tmp> line 1
No such method '' for invocant of type 'Str'. Did you mean any…
ugexe m: my $str = "123"; ($str .= Int).Str; say $str.WHAT
camelia (Int)
patrickb ugexe: I do understand what it's doing. I was just wondering whether it's intended behavior, as my intuition points in a different direction. 14:26
14:28 Ven`` left
patrickb I guess I expected that `$x .= c.b` somehow desugars to / is equivalent to `$x = $x.c.b` 14:28
14:28 reach_satori_ left 14:30 antoniogamiz joined
antoniogamiz o/ 14:30
moritz: could you explain to me how Perl6::Documentable::Registry lookup method works please? 14:31
ugexe i suppose that might be more useful than being able to if($x .= child("myfile.txt").e) { ... } 14:32
antoniogamiz I dont understand how it is initialized
ugexe i avoid mutating usually so i suppose my opinion should be taken with a grain of salt
moritz antoniogamiz: that's the "unless %!cache{$by}:exists {
}" part
antoniogamiz yep, but I still dont know how that code initializes the cache :( 14:33
moritz which part is unclear to you?
if $by is "kind" 14:34
then it goes through all documentables
and adds the documentable $d to %!cache{"kind"}{$d.kind()} 14:35
antoniogamiz aaahhhh that the second pair of curly braces initializes that key? 14:36
I did not know that :p
14:37 jeromelanteri joined 14:40 zakharyas left, netrino left
antoniogamiz ty moritz 14:41
14:46 netrino joined 14:50 jkramer_ left 14:53 nadim_ left 15:01 nadim_ joined 15:02 pmurias left 15:17 antoniogamiz left, farcas_ joined 15:18 netrino left 15:20 farcas82 left 15:24 veesh left 15:25 netrino joined, veesh joined 15:27 noisegul left 15:29 jmerelo joined
jmerelo squashable6: status 15:33
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in 3 days and ≈12 hours (2019-06-01 UTC-14⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo just a few days!
15:34 feldspath left
cpan-p6 New module released to CPAN! Constants::Netinet::In (0.0.1) by 03GARLANDG 15:35
New module released to CPAN! Constants::Net::If (0.0.1) by 03GARLANDG
New module released to CPAN! Constants::Sys::Socket (0.0.1) by 03GARLANDG
15:37 nadim_ left 15:38 patrickb left 15:42 Manifest0 left 15:43 farcas_ left 15:48 Manifest0 joined 15:52 Manifest0 left
Geth doc: 54fd057eb5 | (JJ Merelo)++ | doc/Language/traps.pod6
Revises :skip-test; refs #2738
15:54
doc: b8b8af2267 | (JJ Merelo)++ | doc/Type/Hash.pod6
sigil-() is no longer magical since 6.d

Includes an example, definitely closes #2113
synopsebot Link: doc.perl6.org/language/traps
Link: doc.perl6.org/type/Hash
15:55 zakharyas joined 15:57 Manifest0 joined, netrino left 16:00 noisegul joined 16:04 netrino joined 16:05 Manifest0 left 16:08 noisegul left 16:11 farcas_ joined 16:12 Manifest0 joined 16:16 Manifest0 left 16:18 nadim_ joined, feldspath joined 16:23 Manifest0 joined 16:25 robertle joined, TravisRt2botio[m joined 16:33 jeromelanteri left 16:34 Manifest0 left 16:36 netrino left
cpan-p6 New module released to CPAN! Smack (0.3.0) by 03HANENKAMP 16:37
16:40 feldspath left, Manifest0 joined 16:43 netrino joined 16:55 patrickb joined 17:07 farcas_ left 17:14 adu joined 17:15 dolmen left 17:16 netrino left 17:20 adu left 17:22 netrino joined 17:27 Elronnd left 17:30 reach_satori joined 17:36 skids joined 17:46 skids left
xinming_ IIRC it's recommend to use for @arr[] -> $item { } instead of for @arr -> $item { } Am I right? 17:51
As for @arr[] it decont operation
17:54 cpan-p6 left
tobs m: my @a = ^10; for @a { .say }; my $a = ^10; for $a { .say }; for $a[] { .say } 17:55
camelia 0
1
2
3
4
5
6
7
8
9
^10
0
1
2
3
4
5
6
7
8
9
tobs I don't see why you would need to decont an @-sigiled variable, but a scalar yes ^ 17:56
17:57 cpan-p6 joined, cpan-p6 left, cpan-p6 joined, netrino left
jmerelo xinming_: if you don't know what's in there, you might want to use a sigilless variable, which is deconted by default 17:58
m: my \a = ^10; for a { .say }
camelia 0
1
2
3
4
5
6
7
8
9
18:01 netrino joined 18:02 molaf left 18:05 MasterDuke left
xinming_ What I mean is, with array like var, Maybe seq, When we use decont operation, There will be no result saved. 18:08
I just confused with these.
18:08 ufobat joined
Geth ¦ problem-solving: AlexDaniel assigned to rba Issue perl6-infra: Host the Toaster github.com/perl6/problem-solving/issues/32 18:16
¦ problem-solving: AlexDaniel assigned to maettu Issue perl6-infra: Host the Toaster github.com/perl6/problem-solving/issues/32 18:17
18:21 Manifest0 left 18:27 Manifest0 joined 18:29 ravenousmoose joined 18:33 netrino left 18:39 Manifest0 left 18:40 netrino joined 18:43 jmerelo left 18:45 Manifest0 joined
Xliff . 18:50
yoleaux 07:26Z <holyghost> Xliff: I've sent you some email, it includes a new public key (my other email adress though)
10:40Z <holyghost> Xliff: thanks, the login is alive ! :o)
18:53 espadrine_ joined 19:02 Manifest0 left 19:03 pushpoppeekbop left, moony joined
Xliff m: use NativeCall; my role R { method a { 1 }; method b { 2 }; method c { 3 }; }; class A is repr('CStruct') does R { has uint32 $.a }; A.new.say 19:06
camelia A.new(a => 0)
19:07 Manifest0 joined
Xliff m: use NativeCall; my role R { method a { 1 }; method b { 2 }; method c { 3 }; }; class A is repr('CStruct') { also does R; has uint32 $.a }; A.new.say 19:07
camelia A.new(a => 0)
19:12 netrino left 19:14 jhill left
nadim_ hi all, two questions, one of them pretty serious, #1 am I the only one that gets tests failing sometimes but at the next run they work just fine! And it's quite often. 19:14
#2 what's "New type Stash for Str is not a mixin type"?
19:15 newtoperl joined
newtoperl hoy 19:15
nadim_ the error points at this code: if $clone.flat && (try require Data::Dump::Tree::LayHorizontal <&lay_horizontal>) !=== Nil but it happens when I modify code_after_ that line 19:16
19:16 iviv left 19:17 skaji_ left, newtoperl left 19:19 netrino joined 19:20 SmokeMachine left 19:23 adu joined 19:41 iviv joined, skaji_ joined 19:44 SmokeMachine joined, jhill joined
Xliff What's the best way to populate a CUnion from Perl6? 19:50
20:00 ravenousmoose left 20:02 ravenousmoose joined, Manifest0 left 20:05 netrino left
[Sno] Xliff: can you describe a little bit more detailed what you plan to do? I think I don't get the core of your question. 20:06
20:07 ravenousmoose left 20:08 Manifest0 joined, netrino joined 20:10 ufobat_ joined 20:14 ufobat left, Manifest0 left 20:19 Manifest0 joined 20:28 Manifest0 left 20:29 zakharyas left
Xliff [Sno]: Well, I have a CUnion of several different structs. 20:29
And I want to know the best way to assign one of those member structs back to the CUnion.
20:30 dolmen joined
Xliff It's been a while since I've used unions, so I don't know if $union = nativecast(UnionType, $memberstruct) will "just work" 20:31
jnthn Xliff: Hm, I wonder if it's just a case of making the attribute `is rw` in the union type decl and then assigning into it?
20:34 Manifest0 joined
Xliff jnthn: For CStucts, using "is rw" is still problematic. I have an open ticket about that. 20:34
Anyting not a float-based or int-based member will throw an immutable error.
github.com/rakudo/rakudo/issues/2589 20:35
class A is repr('CStruct') { has Str $.s is rw; }; 20:36
my $a = A.new( s => 'Hello' );
m: class A is repr('CStruct') { has Str $.s is rw; }; my $a = A.new( s => 'Hello' );
camelia assign requires a concrete object (got a Str type object instead)
in block <unit> at <tmp> line 1
Xliff Ah! New error message.
20:43 netrino left
jnthn m: class A is repr('CStruct') { has Str $.s; }; my $a = A.new( s => 'Hello' ) 20:43
camelia assign requires a concrete object (got a Str type object instead)
in block <unit> at <tmp> line 1
jnthn Not about the `is rw` even. Hmm 20:44
tadzik m: class A is repr('CStruct') { has str $.s; }; my $a = A.new( s => 'Hello' ) 20:45
camelia ( no output )
tadzik m: class A is repr('CStruct') { has str $.s; }; my $a = A.new( s => 'Hello' ); say $a.s
camelia Hello
tadzik I guess that works, unless you really want a proper Str ;) 20:46
20:48 netrino joined
Xliff tadzik: "str"? 20:48
What's the diff?
m: my Str $a = "Hello"; my str $b; $b = $a; $b.say 20:49
camelia Hello
tadzik it's like int vs Int, one of them is a native type, the other is boxed
Xliff tadzik: Ah!
Now I have LOADS of code to go over and change... LOL!
tadzik :D 20:50
Xliff tadzik: While you are here. I am having trouble getting latest rakudobrew to compile moar-master. Is this a known error? 20:54
tadzik Xliff: not to me. To be fair, I'm very active in rakudobrew atm, but I'd rather put the blame on rakudo/moar than rakudobrew, it's pretty dumb when it comes to building things :P 20:55
what's the errorr/
Xliff Trying to reproduce
Geth doc: 465e0f82ba | Coke++ | xt/words.pws
learn new word
20:57
doc: a01e5a5687 | Coke++ | doc/Type/Hash.pod6
Clarify the brace type
synopsebot Link: doc.perl6.org/type/Hash
Xliff tadzik: LOL! Looks like the latest changes did the trick! 20:59
20:59 molaf joined
Xliff Wasn't able to do this last night. 20:59
tadzik oh, cool :)
21:02 espadrine_ left 21:09 lizmat joined, Manifest0 left 21:15 Manifest0 joined 21:20 Manifest0 left 21:21 netrino left 21:26 Manifest0 joined 21:27 netrino joined, adu left 21:34 Manifest0 left 21:39 rindolf left 21:40 Manifest0 joined 21:47 rindolf joined 21:48 Manifest0 left 21:54 Manifest0 joined 22:00 netrino left 22:01 molaf left, Manifest0 left 22:04 dolmen left 22:05 Manifest0 joined, dolmen joined 22:06 netrino joined 22:11 kybr joined 22:17 lizmat left 22:24 patrickb left 22:29 lizmat joined 22:38 netrino left 22:45 netrino joined, dolmen left 23:01 Manifest0 left 23:03 alpha6 left, alpha6 joined 23:07 Manifest0 joined 23:14 gfldex left 23:17 Manifest0 left, netrino left, pecastro left 23:20 gfldex joined 23:23 Manifest0 joined 23:24 netrino joined 23:35 natrys left 23:47 nadim_ left 23:55 MasterDuke joined 23:56 netrino left, xi| left 23:57 MasterDuke left 23:59 xi- joined