»ö« 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.
SmokeMachine jmerelo, AlexDaniel: github.com/FCO/Red/blob/master/CONTRIBUTING.md 00:36
AlexDaniel SmokeMachine: it's better to have a specific section for the squashathon 00:37
SmokeMachine: so that we can link to that document 00:38
SmokeMachine AlexDaniel: any suggestion of what should be there?
AlexDaniel SmokeMachine: definitely a link to github.com/FCO/Red/labels/Documentation 00:39
AlexDaniel SmokeMachine: maybe more info, but it depends on what you're going to put into the body of these issues 00:40
SmokeMachine: for inspiration, here are the autogenerated tickets from the unbitrot squashathon: github.com/perl6/ecosystem-unbitrot/issues/587 00:41
SmokeMachine AlexDaniel: Thank's! I think Ill have to continue tomorrow... 00:42
AlexDaniel SmokeMachine: thank you! There's enough time, I think :)
SmokeMachine: I'll let you know how to set up the webhook for squashable6 a bit later
SmokeMachine AlexDaniel: ok, thanks! 00:43
AlexDaniel: github.com/rakudo/rakudo/wiki/Mont...-Day#dates still shows 36 things...
but there are 145... 00:44
AlexDaniel SmokeMachine: sure, feel free to edit it 00:53
cpan-p6 New module released to CPAN! Device::HIDAPI (0.0.1) by 03HANENKAMP 01:12
jmerelo .tell SmokeMachine that looks fine. 06:52
tellable6 jmerelo, I'll pass your message to SmokeMachine
jmerelo .tell SmokeMachine and I see you have written a Contributing.md, so I think we're good to go. 06:52
tellable6 jmerelo, I'll pass your message to SmokeMachine
Geth doc: 55eb422a51 | (JJ Merelo)++ | doc/Type/X/Bind/NativeType.pod6
Some proofreading
06:57
synopsebot Link: doc.perl6.org/type/X::Bind::NativeType
doc: 0230dda10f | (JJ Merelo)++ | doc/Type/X/Dynamic/NotFound.pod6
Adds exception class, closes #2928
synopsebot Link: doc.perl6.org/type/X::Dynamic::NotFound
Xliff \o 07:04
Well.... got bored.
Now working on GStreamer. 07:05
developer.gnome.org/gstreamer/stable/index.html
gstreamer.freedesktop.org/document...language=c
github.com/Xliff/p6-GStreamer
scream 07:06
Oops.
😱
... yeeaah... that
Xliff .tell masak Has any of Alma made it into Perl6, yet? 07:10
tellable6 Xliff, I'll pass your message to masak
SmokeMachine . 09:14
tellable6 2019-08-25T06:52:17Z #perl6 <jmerelo> SmokeMachine that looks fine.
2019-08-25T06:52:57Z #perl6 <jmerelo> SmokeMachine and I see you have written a Contributing.md, so I think we're good to go.
SmokeMachine jmerelo: I’ll probably create more issues and add body to some of those issues... 09:16
jmerelo SmokeMachine: great idea. 09:26
I'm going to put it in the wiki and announce it
ufobat m: Backtrace.new.gist.say 09:35
camelia Backtrace(3 frames)
ufobat m: sub a($i) { my $bt = Backtrace.new; die "i: $i and { $bt.list.elems } " if $bt.list.elems != $i; a($i+1) }; a(4) 09:36
camelia i: 100 and 101
in sub a at <tmp> line 1
in sub a at <tmp> line 1
in sub a at <tmp> line 1
in sub a at <tmp> line 1
in sub a at <tmp> line 1
in sub a at <tmp> line 1
in sub a at <tmp> line 1
in sub a at <tmp> line 1
ufobat why is that?
jmerelo why is what? 09:37
El_Che that
Geth doc: Kaiepi++ created pull request #2968:
Document Metamodel::Versioning
ufobat why does the Backtrace.new.list.elems not reflect to the number of calls I made to a()
i am playing around with recursive calls, and I wand to find out how "deep" I am in the recursion. I was hoping that Backtrace can help me out 09:39
but the maximum depth I get is 101
perl5 yielded a "Deep recoursion", since i dont considder 101 to be quite deep.. Is there a way I could for example rather terminate my programm then consuming all the memory :) 09:42
jmerelo ufobat: I'm not sure you can access memory used from Perl 6 unless you use something like POSIX calls 09:43
ufobat I was assuming that Backtrace contains a list of all Backtrace::Frames. could it be a bug? 09:52
jmerelo ufobat: it's probably limited for some reason; also probably you can change that. Check the source and/or raise an issue in the documentation.
ufobat github.com/rakudo/rakudo/blob/mast...e.pm6#L316 <- looks like its limited 09:56
jmerelo ufobat: that was a very safe bet. You can either request from Rakudo to include that as a configuration option, or request from documentation to document that. Or both... 10:00
ufobat I think I try to write a PR and I might open a rakudo issue do ask if we could have a depth for Backtrace that actually reflects the current depth 10:04
jmerelo ufobat: great :-) 10:06
jmerelo SmokeMachine: it would probably be a good idea if you add "good first issue" to a bunch of them, so that people knows where to start. 10:43
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.name }; ab(A.new); ab(B.new) 10:44
camelia No such method 'name' for invocant of type 'A'. Did you mean any of these?
none
note
take

in sub ab at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new)
camelia A
True
B
True
10:45
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name }; ab(A.new); ab(B.new)
camelia A
B
Geth doc: 275a5090da | (JJ Merelo)++ | template/footer.html
Eliminated variable elements closes #2915
10:48
ufobat jmerelo, github.com/rakudo/rakudo/issues/3148
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.^name.say 10:54
camelia A
True
B
True
AB
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.WHAT.say
camelia A
True
B
True
(AB)
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.^HOW.say
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use .^ on a non-identifier method call
at <tmp>:1
------> 3name.say}; ab(A.new); ab(B.new); AB.^HOW7⏏5.say
expecting any of:
method arguments
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.HOW.say
camelia A
True
B
True
Perl6::Metamodel::SubsetHOW.new
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.HOW.say; say AB ~~ Subset 10:55
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared name:
Subset used at line 1
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.HOW.say; say AB.HOW ~~ SubsetHOW 10:56
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared name:
SubsetHOW used at line 1. Did you mean 'Submethod'?
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.HOW.say; say AB.HOW ~~ Perl6::Metamodel::SubsetHOW
camelia A
Could not find symbol '&SubsetHOW'
in block <unit> at <tmp> line 1

True
B
True
Perl6::Metamodel::SubsetHOW.new
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.HOW.say; say AB.HOW.contains('SubsetHOW') 11:00
camelia A
No such method 'contains' for invocant of type 'Perl6::Metamodel::SubsetHOW'
in block <unit> at <tmp> line 1

True
B
True
Perl6::Metamodel::SubsetHOW.new
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; sub ab (AB $c) { say $c.^name.say}; ab(A.new); ab(B.new); AB.HOW.say; say AB.HOW.Str.contains('SubsetHOW')
camelia A
True
B
True
Perl6::Metamodel::SubsetHOW.new
True
jmerelo ufobat++ 11:08
Kaiepi jmerelo, xt/examples-compilation.t runs makes moar out of memory after around 100 tests (probably because i have /etc/login.conf set up too strictly) and there's this random deadlock in t/02-pods-valid.t that doesn't go away no matter what TEST_THREADS is set to 12:14
i'll see if the first gets fixed by making it more lax next time i update opensbd 12:16
Geth doc: 317364d265 | (Ben Davies)++ | doc/Type/Metamodel/Versioning.pod6
Document Metamodel::Versioning
12:40
synopsebot Link: doc.perl6.org/type/Metamodel::Versioning
doc: ef76a377a9 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Metamodel/Versioning.pod6
Merge pull request #2968 from Kaiepi/versioning

Document Metamodel::Versioning
doc: bbec26b4df | (Mike Swierczek)++ | doc/Language/101-basics.pod6
Added comment syntax on 101 page.

I think it's handy to make that easier to find in the documentation.
synopsebot Link: doc.perl6.org/language/101-basics
doc: 602f814af6 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/101-basics.pod6
Merge pull request #2964 from Michael-S/master

Added comment syntax on 101 page.
jmerelo Kaiepi: you can run tests on single documents 12:42
Kaiepi you can? 12:43
oh, i see, with TEST_FILES in the env 12:48
jmerelo Kaiepi: right :-) 12:49
Kaiepi: or simply with the name of the file at the end, IIRC 12:50
Doc_Holliwood I think I found a bug in NativeCall. 13:51
this code should not throw error 87: pastebin.com/qbV7WdFz 13:52
i think this is akin to stackoverflow.com/questions/465025...ction-call
Doc_Holliwood So, should I file a bug for this? 16:21
Whos turf is NativeCall? 16:22
Geth whateverable: eac051e9fa | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable/Processing.pm6
Make it easier to select the main file

This way you can just have a “# MAIN” comment in one of the files, and that file will be used for bisecting.
17:21
Doc_Holliwood How do I tell Comma to stop messing with my formatting for /(/!("%!"()!!! 17:33
Geth whateverable: 36faa5b32e | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Bisectable.p6
Add missing space
17:37
AlexDaniel Doc_Holliwood: maybe file a bug report for comma? 17:43
MasterDuke Doc_Holliwood: i think nine++ is the NativeCall expert 17:52
moritz m: say 1 18:02
camelia 1
moritz I'm trying to wipe out the current rakudo installation on evalbot and try to create a new one 18:05
AlexDaniel moritz: fwiw evalable6 automatically responds to m: messages if camelia is down, so feel free to restart it or whatever 18:12
Doc_Holliwood nine is on vacation, but I dropped them a message. ty, MasterDuke 18:18
Geth whateverable: taboege++ created pull request #355:
Bisectable: "DWIM" → "do what you mean" in message
18:45
whateverable: 50ef0201c2 | (Tobias Boege)++ | 2 files
Bisectable: "DWIM" → "do what you mean" in message

  "DWIM" in a message "[doing this] in an attempt to DWIM" directed at the
user uses the wrong pronoun ("I" instead of "you"). Unabbreviate it and use "you".
18:46
whateverable: c0646d99d6 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 2 files
Merge pull request #355 from taboege/bisectable-dwym

Bisectable: "DWIM" → "do what you mean" in message
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; say AB.HOW ~~ Metamodel::SubsetHOW 19:26
camelia sudo: /home/camelia/rakudo-m-inst/bin/perl6-m: command not found
Xliff m: class A {}; class B {}; my @s = (A, B); subset AB where @s.any; say AB.HOW ~~ Metamodel::SubsetHOW 19:27
camelia sudo: /home/camelia/rakudo-m-inst/bin/perl6-m: command not found
Xliff class A {}; class B {}; my @s = (A, B); subset AB where @s.any; say AB.HOW ~~ Metamodel::SubsetHOW
evalable6 True
Xliff jnthn++ # Thanks!
moritz Precompiling templates from src/jit/core_templates.expr 20:03
"pairkeys" is not exported by the List::Util module
timotimo interesting, did we accidentally depend on a too new perl5 for that? 20:04
i mean, it's a development-time dependency
moritz build-time dependency
timotimo so not nearly as critical as what we have in Configure.pl and such
moritz this is from the rakudo build log
and a perl 5.20 cannot build moarvm right now, it seems 20:05
moritz (I assume it's moar, not rakudo directly 20:05
timotimo it's not supposed to have to work with core_templates.expr
moritz gist.github.com/moritz/3dc056e66ac...73203a9d16 20:06
with a bit more context
Grinnz 5.20.0 should have List::Util 1.38 which is new enough for pair functions 20:07
timotimo maybe the linux distro in question removes 90% of perl5 modules from the core 20:08
Grinnz then it wouldn't have List::Util at all
timotimo who knows! maybe they cut out individual lines from the module to minimize it even further 20:10
Grinnz that's not a thing anyone does, except PAR packer with pod
El_Che Grinnz: it is on long lived distros like Centos 20:11
timotimo *shruuuuug* 20:12
Grinnz no, the second thing
El_Che (they change course, but Centos 6 and 7 are still there)
Grinnz also they didn't change course, they just named it better
El_Che potato - earth apple (the litteral translation of the dutch name) 20:13
moritz it has List::Util 1.38
Grinnz my guess is that the wrong perl is being used 20:14
moritz possible
moritz ah yes, crontab... 20:15
Grinnz any perl older than 5.20 would need to update their List::Util 20:16
moritz where the bashrc doesn't activate perlbrew
Grinnz absolute paths to perls in cron, always ;)
AlexDaniel m: say 42 20:23
camelia sudo: /home/camelia/rakudo-m-inst/bin/perl6-m: command not found
AlexDaniel moritz: ↑ 20:24
guifa just watched the video from Riga that talked about perl6 / javascript. 20:25
discord6 <RaycatWhoDat> Hello
Xliff Do roles allow for a :U: type smiley
guifa I had no idea it was so far along. Now I feel like a bit of a fool for creating a fairly cruddy rudimentary parser in JS when I could have just copied the grammar over lol
discord6 <RaycatWhoDat> m: say (2 + 1); 20:27
guifa p6: role Foo { ; }; class Bar does Foo { ; }; sub xyz (Foo:U $foo) { say "yes" }; xyz(Foo)
camelia sudo: /home/camelia/rakudo-m-inst/bin/perl6-m: command not found
guifa m: role Foo { ; }; class Bar does Foo { ; }; sub xyz (Foo:U $foo) { say "yes" }; xyz(Foo)
camelia sudo: /home/camelia/rakudo-m-inst/bin/perl6-m: command not found
guifa o.O
discord6 <RaycatWhoDat> Alas. 20:28
guifa Anyways, Xliff: yes they do. (I was trying to be cute and have it respond with “yes” lol) 20:28
Xliff guifa: How about within the role, itself. ;)
m: role A { method B (A:U:) { say "N 20:29
camelia sudo: /home/camelia/rakudo-m-inst/bin/perl6-m: command not found
Xliff m: role A { method B (A:U:) { say "Boo!" }; }; class AA does A { }; AA.B
camelia sudo: /home/camelia/rakudo-m-inst/bin/perl6-m: command not found
Xliff Well... :( 20:30
mrole A { method B (A:U:) { say "Boo!" }; }; class AA does A { }; AA.B
role A { method B (A:U:) { say "Boo!" }; }; class AA does A { }; AA.B
evalable6 Boo!
Xliff \o/
guifa ’s answer holds haha 20:31
Xliff Yes. Yes it does! :)
moritz Makefile:577: recipe for target 'CORE.setting.moarvm' failed 20:50
make: *** [CORE.setting.moarvm] Bus error (core dumped)
build rakudo on the evalbot server continues to be difficult :(
Geth doc: 33a5fc4873 | Coke++ | xt/words.pws
learn new words
23:53
doc: 2ac0fc4798 | Coke++ | doc/Language/101-basics.pod6
follow style guide on braces/brackets
synopsebot Link: doc.perl6.org/language/101-basics