»ö« 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.
discord6 <Aearnus> Just saw TimToady's blessing for the name change... I'm getting hyped!! 02:07
araraloren Finally, Perl6 will become Raku. 06:27
Can we still using CAPN in the future ? 06:31
dpk could have CRAN 06:37
, each package called a CRANberry, etc
Grinnz for the time being, nobody has proposed any changes to use of cpan 06:39
araraloren So which version will support the new name ? in 6.e ?
jmerelo squashable: status 06:42
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in 5 days and ≈21 hours (2019-10-19 UTC-12⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Grinnz lizmat: for what it's worth, i think supporting a Raku folder or whatever on cpan should not be impossible, sure it takes a while to get all the ducks in a row but at least we have the existing setup to model it on 06:51
jmerelo Grinnz: what about just renaming the current Perl6 folder? 06:53
Grinnz jmerelo: it would be a lot more effort to coordinate all the necessary tools changing and changing all the existing dists in one swoop... supporting two variants is a lot more practical 06:53
jmerelo m: my $sig = :('Þor', Str, Int); say <Þor Hammer 1> ~~ $sig 06:54
camelia True
Grinnz basically the same "add new, discourage old, remove old" progression proposed for the rest of the stuff, but probably on a few years longer timeline
jmerelo Grinnz: OK 06:57
Grinnz (and given how CPAN dists from 2000 without META.yml are still supported... maybe the last step never happens :P) 07:00
by the way. next friday is the currently planned for migration of all perl 5 core tickets from RT to github. is raku still using RT? 07:02
i know it's not suggested anymore 07:03
jmerelo Grinnz: "using" as in including new tickets, no. But I'm not sure all RT tickets have been migrated to Github.
Grinnz there was this issue: github.com/perl6/problem-solving/issues/49 07:04
Grinnz yeah taht's why i ask. the domain should work, but it will become read only
jmerelo Grinnz: ah, OK. So it's not that urgent to transfer them... But we still need to do it. 07:05
Grinnz i see toddr mentioned his migration method in there. it's quite sophisticated, he showed his demo of how its going to look today 07:06
github.com/Perl/perl5-test/issues
it's apaprently using an unreleased github api that he can't release info about 07:07
jmerelo Grinnz the problem on our side is that it's not too clear where the tickets should go. And we have two organizations, so dumping them into a repository owned by one is not really OK
Grinnz yeah, that's messy 07:08
lizmat weekly: www.theregister.co.uk/2019/10/11/p...arry_wall/ 07:11
notable6 lizmat, Noted! (weekly)
lizmat I vote for no changes to PAUSE
afk for the rest of the day& 07:13
jmerelo Grinnz: unreleased GitHub API? But accessible to some developers anyway? What gives? 07:19
Grinnz jmerelo: he's in contact with github about it, probably because of the scope of the problem 07:20
Grinnz 17500 tickets and getting lots of metadata right is a fun task 07:21
jmerelo I think it's probably OK if he does the same for Perl 6. I see there are some issues with name mapping, but since he's got the privs for the issue and everything, it's best if he proceeds when he's ready 07:22
Deciding what to do with the tickets is transparent to the process of creating the tickets.
m: class Foo { has $.stuff; method bar( $self: ) }; say Foo.bar.signature ~~ :($:) 07:25
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> 3Foo { has $.stuff; method bar( $self: ) 7⏏5}; say Foo.bar.signature ~~ :($:)
jmerelo m: class Foo { method bar( $self: ){} }; say Foo.bar.signature ~~ :($:) 07:26
camelia False
jmerelo m: class Foo { method bar( $self: ){} }; say Foo.bar.signature
camelia Nil
jmerelo m: class Foo { method bar( $self: ){} }; say Foo.new.bar.signature
camelia Nil
jmerelo m: class Foo { method bar( $self: ){} }; say Foo.new().bar 07:27
camelia Nil
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.new().bar
camelia baz
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.new().bar.signature
camelia No such method 'signature' for invocant of type 'Str'
in block <unit> at <tmp> line 1
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say &(Foo.new().bar).signature
camelia No such method 'signature' for invocant of type 'Str'
in block <unit> at <tmp> line 1
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say &(Foo.bar).signature
camelia No such method 'signature' for invocant of type 'Str'
in block <unit> at <tmp> line 1
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say &(Foo.bar) 07:28
camelia baz
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.&bar
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
bar used at line 1. Did you mean 'VAR', 'bag'?
discord6 <mj41> morning, is this bug or not github.com/mj41/Raku-Step-by-Step/...air.p6#L15 ? There is related bug report github.com/rakudo/rakudo/issues/3211 07:31
jmerelo m: my $x = [ Hash.new('b',4) ] 07:32
camelia ( no output )
jmerelo m: my $x = [ Hash.new('b',4) ]; say $x
camelia [b => 4]
jmerelo m: my $x = [ %(b => 4) ]; say $x 07:34
camelia [b => 4]
jmerelo OK, I can't get this right. How do I get a handle on a class method? I can just add the & sigil for routines, but I can't seem to find how to do it for methods 07:39
m: class Foo { method bar( $self: ){ "baz" } }; say &(::Foo.bar) 07:40
camelia baz
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods
camelia (bar BUILDALL)
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods('bar')
camelia Too many positionals passed; expected 2 arguments but got 3
in block <unit> at <tmp> line 1
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods(Foo,'bar')
camelia Too many positionals passed; expected 2 arguments but got 4
in block <unit> at <tmp> line 1
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods[0] 07:41
camelia bar
sena_kun m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods.grep(*.name eq 'bar');
camelia (bar)
jmerelo Well, that seemed to do it...
sena_kun: no other way?
sena_kun jmerelo, none I know of 07:42
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods.grep(*.name eq 'bar').signature
camelia No such method 'signature' for invocant of type 'Seq'
in block <unit> at <tmp> line 1
sena_kun what do you want to do in the first place?
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods.grep(*.name eq 'bar')[0].signature
camelia ($self: *%_)
sena_kun m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods.first(*.name eq 'bar').signature
camelia ($self: *%_)
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods.first(*.name eq 'bar').signature ~~ :($:) 07:43
camelia False
jmerelo m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^methods.first(*.name eq 'bar').signature ~~ :($: *%)
camelia True
jmerelo sena_kun: thanks!
sena_kun yw 07:44
jmerelo Now I don't get why the signature of a methods gets *% added on top 07:45
But I guess that's a different thing altogether...
Geth_ doc: 383a93744e | (JJ Merelo)++ | 2 files
Checks content on Pod6 tables

Only some changes here and there, but it checks the item on "more well-defined pod tables" in #2632, since it seemt to have been written after that.
07:46
doc: 682f7496be | (JJ Merelo)++ | doc/Type/Signature.pod6
Adds examples that use signature literals

With literals or the invocant marker, $:. Refs #2632
synopsebot Link: doc.perl6.org/type/Signature
sena_kun that's a default for methods, thought I don't know the exact reason
m: class A { method a($a) {} }; A.a(42, :fu) 07:47
camelia ( no output )
jmerelo sena_kun: will you want to write something for the Advent calendar? 07:49
sena_kun jmerelo, I want, but have no ideas for topics, alas. I am also a bit burnt out right now, which makes me a bit useless when it comes to writing anything related to code. 07:51
jmerelo sena_kun take care then. In case you can think of something, just let us now.
sena_kun jmerelo, sure!
jmerelo sena_kun sorry to hear that, but sometimes you just need to step back, take a rest and relax.
mj41 m: my $x = [ Hash.new("b",4) ]; say $x; say WHAT $x[0]; 07:56
camelia [b => 4]
(Pair)
sena_kun m: my @a = Hash.new('b', 4),; say @a[0].^name; 07:59
camelia Hash
mj41 sena_kun: thx, .^name is better github.com/mj41/Raku-Step-by-Step/...34adbfacee :-) 08:16
jmerelo notable6: weekly blogs.perl.org/users/ovid/2019/10/l...-raku.html
notable6 jmerelo, Noted! (weekly)
sena_kun mj41, they are just different, ^name gives you a Str and a fully qualified type, .WHAT gives you an object of type 08:17
m: IO::Path.^name.say; IO::Path.WHAT.say;
camelia IO::Path
(Path)
sena_kun ^ so with WHAT you're in trouble if you are checking type of something like Foo::Bar::Baz
jmerelo mj41: May I interest you in writing something for the Advent Calendar? Just add your name here: github.com/perl6/advent/blob/maste...9/schedule 08:18
sena_kun m: 42.WHAT.abs; 42.^name.abs; 08:19
camelia Invocant of method 'abs' must be an object instance of type 'Int', not a type object of type 'Int'. Did you forget a '.new'?
in block <unit> at <tmp> line 1
sena_kun ^ I know calling `abs` on Int type object is a stretch, but with custom classes it'll look better
mj41 jmerelo: not sure to that "not easy to understand/learn parts" is good advent post :-) ... and I am not sure these are my not-understandings or raku bugs 08:25
jmerelo mj41as long as you talk about Raku, it's OK
sena_kun would be interested to read about that
mj41 but anybody feel free to watch github.com/mj41/Raku-Step-by-Step/...ster/steps and use it as a list to be clarified
sena_kun I remember I promised a post about something, but don't remember the exact topic I promised. :S 08:26
jmerelo sena_kun: add yourself as TBD. 08:40
sena_kun jmerelo, roger! 08:46
jmerelo sena_kun: thanks! 08:47
SmokeMachine m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^lookup(“bar”).signature 10:19
camelia ($self: *%_)
SmokeMachine m: class Foo { method bar( $self: ){ "baz" } }; say Foo.^find_method(“bar”).signature 10:22
camelia ($self: *%_)
SmokeMachine jmerelo: ^^ 10:23
tellable6 SmokeMachine, I'll pass your message to jmerelo
xinming_ anyone here know, is Template::Haml will be the same as haml.js? 11:57
hm, ignore me, I don't like the haml syntax. :-)\ 11:58
I'm trying to find a template engine for both client and server.
xinming_ really hard to find one. 11:58
SmokeMachine xinming_: I’m thinking of using Cro::Webapp::Template... 11:59
xinming_ SmokeMachine: But it doesn't render in client side 12:03
I'm looking into mustache, But still need to think on how the templates should be organized so I'll be easy to maintain.
tony-o_ xinming_: i usually have lib/App/Controller and a view/<controller name>/<function name serving a uri path> 13:49
lib/App/Controller/<controller name> ^^ 13:50
cpan-p6 New module released to CPAN! Path::Finder (0.2.1) by 03LEONT 14:28
leont Getting some weird test results on Windows that I can't quite explain 15:05
does dir() do something weird with directories? I'm quite at a loss to what's going on. 15:08
araraloren what's happening ? 15:10
leont The last failure in github.com/Leont/path-finder/issues/6 15:40
It's supposed to filter out .bzr, .git and friends, yet somehow it doesn't on windows
Grinnz strange results on windows? why, i never 15:41
discord6 <RaycatWhoDat> Yee-haw. raymperry.github.io/raku-fansite/
<RaycatWhoDat> Comments, critique, pitchfolks welcome. 15:42
leont Ultimately the test it does is «item.basename ~~ $pattern && $item.d», but the basename implementation looks sensible to me, and .d being broken sounds rather unlikely 15:44
araraloren Seems like on the windows Raku using \ instead / 15:45
leont Yeah, I fixed most of those, but the last failure isn't a / versus \ issue 15:46
It's a "those values shouldn't be in the list in the first place"
araraloren oh, I see
chloekek RaycatWhoDat: apart from the Resources menu it seems to work completely when JS is disabled so kudos for that. 15:53
discord6 <RaycatWhoDat> Nah, Resources menu never worked 15:58
<RaycatWhoDat> Just an icon lol
timotimo @RaycatWhoDat it breaks horribly when zoomed in 15:59
uzl[m] It looks good, RaycatWhoDat. Some of the code examples are bleeding into the footer though. 16:06
discord6 <tmtvl> Oh yeah, p6ring will need renaming to rakuring after the merge come Monday. 16:07
timotimo we be rakuringing 16:08
uzl[m] One of the cleanest and clearest sites I've come across is Inko's (inko-lang.org/) but I guess this is suggestive. ;-) 16:09
araraloren leont The issue code is the line 283 of file Finder.pm 16:13
You should add | flat the Array
leont You mean the <.git …>? 16:42
Then why does the test pass on linux? That seems illogical to me (though if you tested it I believe you) 16:44
mst oh fuck my life the IRC channel moves are going to be fun 16:55
lucasb why aren't you all in #raku yet? We are having fun there already :) 16:57
timotimo mst: and changing up the cloaks :) 17:00
mst *lolsob* 17:05
timotimo offers hugs
discord6 <tmtvl> Disco channel should move as well. Maybe add a second bridge until we can switch of the #perl6 bridge? 17:43
Grinnz with discord you can just rename everything though 17:44
oh you mean the bridge should
timotimo bridge the messages from the perl6 channels to the raku channels via two discord bridge bots 17:50
Grinnz what could possibly go wro-- 17:51
Doc_Holliwood registers church-of-raku.com 18:24
AlexDaniel funny thing I always forget about, even without a rename we still have raku alias 18:53
so if you call your project rakusmth today then it's not wrong
Doc_Holliwood "even without"? 18:58
AlexDaniel Doc_Holliwood: I mean, like, before Monday 19:06
xinming_ Maybe we'll soon rename the channel to #raku 19:24
AlexDaniel not maybe but definitely, after the rename :) 19:34
jjatria RaycatWhoDat: I like the "Created with ♥ by »ö« and the Raku community." at the bottom :D 19:47
discord6 <theangryepicbanana> ya know I've been having more luck getting people to switch to p6 by calling it raku 19:57
<theangryepicbanana> until they see what it's actually called, in which case I get yelled at
xinming_ Is there web irc client written in perl6?
If not perl5 is ok too 19:58
discord6 <theangryepicbanana> probably not, although you could always look on cpan?
jjatria If Perl 5 is fine, I've been using convos.by, and it works great 19:59
discord6 <RaycatWhoDat> Thanks, jjatria 20:07
<RaycatWhoDat> I think the basic draft is far enough along 20:08
<RaycatWhoDat> Now, to make it mobile friendly.
xinming_ jjatria: Thanks, I'll check it out. 20:15
Doc_Holliwood writing an irc client would be fun. i already have a name. Chō (Butterfly) 20:22
cpan-p6 New module released to CPAN! LibXML (0.1.3) by 03WARRINGD 21:12
sagax hi all! 21:14
where i can read about different between perl5 and perl6 ?
jdv79 as ive said before ill do the pause changes - not a big deal 21:16
whatever works... 21:17
sagax: good question.
Voldenet sagax: docs.perl6.org/language/5to6-nutshell 21:18
jdv79 did david adler do most of 5to6? 21:19
havent seen him in a long time
sagax thanks 21:21
Voldenet jdv79: you can check authors of this doc on github, if you're interested github.com/perl6/doc/blob/master/d...shell.pod6 21:22
El_Che we made slashdot, although it's not the same as in the 90s :) developers.slashdot.org/story/19/1...-6-to-raku 21:59
weekly: we made slashdot, although it's not the same as in the 90s :) developers.slashdot.org/story/19/1...-6-to-raku
notable6 El_Che, Noted! (weekly)
Geth_ whateverable: 2cb042a436 | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6
Join Raku channels
22:59
cpan-p6 New module released to CPAN! Path::Finder (0.2.2) by 03LEONT 23:31