»ö« 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:05 wamba left 00:18 khisanth_ left 00:28 wildtrees joined 00:34 wildtrees left 00:41 khisanth_ joined 00:56 ravenousmoose joined 01:00 ravenousmoose left 01:05 macaronus left 01:11 ZzZombo left 01:16 lucasb left 01:17 quester left 01:20 quester joined 02:00 cpan-p6 left 02:03 cpan-p6 joined, cpan-p6 left, cpan-p6 joined, aborazmeh joined, aborazmeh left, aborazmeh joined
discord6 <Aearnus> Just saw TimToady's blessing for the name change... I'm getting hyped!! 02:07
02:17 aborazmeh left 02:42 xelxebar left, xelxebar joined 02:44 Cabanossi left 02:50 Cabanossi joined 02:57 sankamur_ left 04:18 coverable6 left, reportable6 left, quotable6 left, evalable6 left, benchable6 left, committable6 left, nativecallable6 left, squashable6 left, shareable6 left, bloatable6 left, statisfiable6 left, tellable6 left, greppable6 left, notable6 left, unicodable6 left, bisectable6 left, releasable6 left, nativecallable6 joined 04:19 Doc_Holliwood left, coverable6 joined 04:20 greppable6 joined, statisfiable6 joined, shareable6 joined, bisectable6 joined 04:21 bloatable6 joined, ChanServ sets mode: +v bloatable6, quotable6 joined, ChanServ sets mode: +v quotable6, committable6 joined 04:22 squashable6 joined, reportable6 joined, ChanServ sets mode: +v reportable6, benchable6 joined, evalable6 joined, releasable6 joined, ChanServ sets mode: +v releasable6, tellable6 joined, unicodable6 joined, ChanServ sets mode: +v tellable6, ChanServ sets mode: +v unicodable6 04:23 notable6 joined 04:52 alnka joined 05:12 alnk left, alnka is now known as alnk 05:45 sauvin joined 05:49 llfourn joined 06:17 Doc_Holliwood joined, gnufr33dom joined 06:26 araraloren joined
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 ?
06:42 jmerelo joined
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
06:50 kurahaupo left
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
06:53 wamba joined
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
06:55 sena_kun joined
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
07:20 nodno joined
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'?
07:29 xinming left
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
07:31 xinming joined
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]
07:34 ravenousmoose joined
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.
07:52 mj41 joined
mj41 m: my $x = [ Hash.new("b",4) ]; say $x; say WHAT $x[0]; 07:56
camelia [b => 4]
(Pair)
07:57 chloekek joined
sena_kun m: my @a = Hash.new('b', 4),; say @a[0].^name; 07:59
camelia Hash
08:04 domidumont joined
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
08:30 molaf joined 08:31 molaf left 08:38 ravenousmoose left 08:40 chloekek left, ravenousmoose joined
jmerelo sena_kun: add yourself as TBD. 08:40
sena_kun jmerelo, roger! 08:46
jmerelo sena_kun: thanks! 08:47
09:04 xinming_ joined 09:07 xinming left 09:12 khisanth_ left 09:14 khisanth_ joined 09:27 chloekek joined, sno left 09:29 sno joined 09:34 abraxxa joined 09:36 abraxxa left, wamba left 10:01 jmerelo left 10:11 nodno left 10:17 wamba joined
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
10:25 Black_Ribbon left 11:17 aborazmeh joined, aborazmeh left, aborazmeh joined 11:35 xinming_ left, xinming_ joined 11:46 X-Scale joined
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.
11:58 cinch joined
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.
12:13 aborazmeh left 12:25 gabiruh_ left, gabiruh joined 12:30 wamba left 12:47 wamba joined 12:55 mj41 left 12:57 eseyman left 13:02 Altai-man_ joined 13:04 sena_kun left, eseyman joined 13:05 Altai-man_ left 13:13 domidumont left, pecastro joined 13:14 gabiruh left
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
13:50 ZzZombo joined 13:53 lucasb joined 14:07 silug left 14:12 leont joined 14:18 silug joined
cpan-p6 New module released to CPAN! Path::Finder (0.2.1) by 03LEONT 14:28
14:39 Cabanossi left 14:40 stanley_tam joined 14:44 stanley_tam left 14:45 stanley_tam joined 14:46 Cabanossi joined, _jrjsmrtn joined, __jrjsmrtn__ left 14:48 stanley_tam left
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
15:27 vrurg_ joined 15:28 vrurg left, vrurg_ is now known as vrurg 15:39 reach_satori_ left
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
16:07 Houl joined
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
16:50 leont left
mst oh fuck my life the IRC channel moves are going to be fun 16:55
16:56 reach_satori_ joined
lucasb why aren't you all in #raku yet? We are having fun there already :) 16:57
16:58 jmerelo joined
timotimo mst: and changing up the cloaks :) 17:00
mst *lolsob* 17:05
timotimo offers hugs
17:37 john_parr left 17:41 literal_ is now known as literal
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
17:47 gnufr33dom left 17:50 domidumont joined
timotimo bridge the messages from the perl6 channels to the raku channels via two discord bridge bots 17:50
17:50 Ekho- is now known as Ekho
Grinnz what could possibly go wro-- 17:51
17:55 k0Le joined 17:59 k0Le left 18:00 k0Le joined, k0Le left, k0Le joined 18:02 gabiruh joined 18:12 wildtrees joined 18:18 araraloren left 18:20 finanalyst joined
Doc_Holliwood registers church-of-raku.com 18:24
18:28 gabiruh_ joined 18:29 gabiruh left
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
18:58 jmerelo left 19:00 aindilis left
AlexDaniel Doc_Holliwood: I mean, like, before Monday 19:06
19:08 domidumont left, aindilis joined 19:14 jmerelo joined
xinming_ Maybe we'll soon rename the channel to #raku 19:24
19:30 Black_Ribbon joined 19:33 daxim joined
AlexDaniel not maybe but definitely, after the rename :) 19:34
19:34 jjatria left 19:35 jjatria joined 19:44 cpan-p6 left 19:45 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
jjatria RaycatWhoDat: I like the "Created with ♥ by »ö« and the Raku community." at the bottom :D 19:47
19:51 jmerelo left
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
20:25 roguelazer left 20:27 roguelazer joined 20:38 veesh left 20:39 veesh joined 20:48 Houl left 20:52 sagax joined 20:54 simcop2387 is now known as rakubot, rakubot is now known as simcop2387 20:58 roguelazer left 21:00 roguelazer joined 21:07 simcop2387 left, Ven`` joined 21:09 ravenousmoose left, simcop2387 joined 21:11 perlbot left
cpan-p6 New module released to CPAN! LibXML (0.1.3) by 03WARRINGD 21:12
21:14 perlbot joined
sagax hi all! 21:14
where i can read about different between perl5 and perl6 ?
21:16 chloekek left
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
21:20 aborazmeh joined, aborazmeh left, aborazmeh joined 21:21 gabiruh_ left
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
21:28 simcop2387 left 21:30 simcop2387 joined 21:34 simcop2387 left, zakharyas joined 21:36 simcop2387 joined 21:37 gabiruh joined 21:38 simcop2387 left, perlbot left, wamba left 21:40 simcop2387 joined 21:41 perlbot joined 21:43 Kaiepi left 21:44 Kaiepi joined, aborazmeh left 21:52 simcop2387 left, perlbot left 21:55 zakharyas left, perlbot joined 21:58 simcop2387 joined
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)
22:06 perlbot left, simcop2387 left 22:09 perlbot joined 22:10 finanalyst left 22:11 simcop2387 joined 22:51 perlbot left, simcop2387 left 22:53 perlbot joined, simcop2387 joined, perlbot left, simcop2387 left 22:55 cwilson2 joined, perlbot joined, Ven`` left 22:56 cwilson left 22:58 simcop2387 joined
Geth_ whateverable: 2cb042a436 | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6
Join Raku channels
22:59
23:00 committable6 left, notable6 left, greppable6 left, nativecallable6 left, shareable6 left, evalable6 left, bisectable6 left, squashable6 left, coverable6 left, statisfiable6 left, benchable6 left, releasable6 left, unicodable6 left, bloatable6 left, tellable6 left, quotable6 left, reportable6 left, evalable6 joined, ChanServ sets mode: +v evalable6 23:01 releasable6 joined, squashable6 joined, ChanServ sets mode: +v squashable6, unicodable6 joined 23:02 greppable6 joined 23:03 tellable6 joined, ChanServ sets mode: +v tellable6 23:04 bloatable6 joined, quotable6 joined, shareable6 joined, reportable6 joined, statisfiable6 joined, benchable6 joined, notable6 joined, bisectable6 joined 23:05 coverable6 joined, ChanServ sets mode: +v coverable6, committable6 joined, nativecallable6 joined 23:07 pecastro left, aindilis left 23:09 X-Scale left 23:14 leont joined
cpan-p6 New module released to CPAN! Path::Finder (0.2.2) by 03LEONT 23:31
23:40 simcop2387 left, perlbot left 23:43 perlbot joined 23:45 simcop2387 joined 23:50 cwilson2 left 23:54 aindilis joined