»ö« 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.
Geth doc: b69f2caa23 | Lichtkind++ | doc/Language/math.pod6
added math module for vectors
00:25
synopsebot Link: doc.perl6.org/language/math
vrurg m: role R1 { method foo { say "R1::foo" } }; role R2 { }; class Bar does R1 { method foo { note "Bar::foo"; self.R1::foo; self does R2; self.R1::foo } }; Bar.new.foo 01:14
camelia Bar::foo
R1::foo
No concretization found for R1
in method foo at <tmp> line 1
in block <unit> at <tmp> line 1
vrurg Is it normal behavior when 'does' on object wipes out all notions of previosly applied roles? 01:15
davelikestorock Really happy to see Perl6 finally and formally released... though I am a bit late to know that :) 01:49
TimToady vrurg: seems like it could be a buglet 01:58
but use of "does" at runtime is always a bit...fraught...
vrurg TimToady: reported already: github.com/rakudo/rakudo/issues/2282
TimToady vrurg++
vrurg Being used accurately dynamic role application allows for some pretty neat tricks. 02:00
In my case application object would depend on what command was used on CLI. Plugin-like behavior. 02:01
hankache hello #perl6 05:52
hankache I was looking at the isms pragma found on docs.perl6.org/language/pragmas and felt a bit confused 05:54
why would this not work:
m: sub abs() { say "foo" }; abs;
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of bare "abs"; in Perl 6 please use .abs if you meant to call it as a method on $_, or use an explicit invocant or argument, or use &abs to refer to the function as a noun
at <tmp>:1…
hankache yet this works: 05:55
m: sub abs1() { say "foo" }; abs1;
camelia foo
Geth doc: 534ff360c2 | (Naoum Hankache)++ (committed using GitHub Web editor) | doc/Language/pragmas.pod6
Fix thinko
06:05
synopsebot Link: doc.perl6.org/language/pragmas
Geth doc: threadless-screw++ created pull request #2312:
Update Str.pod6
08:33
Geth doc: 1bb00da7e4 | (JJ Merelo)++ | doc/Type/IO/Socket/Async.pod6
Adds using CATCH to capture errors

This closes #1685
08:43
synopsebot Link: doc.perl6.org/type/IO::Socket::Async
Geth doc: 118aa08399 | Alexander++ (committed using GitHub Web editor) | doc/Type/Str.pod6
Update Str.pod6

Fixed typo.
08:44
synopsebot Link: doc.perl6.org/type/Str
doc: a463da2f5e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Str.pod6
Merge pull request #2312 from threadless-screw/threadless-screw-patch-1

Update Str.pod6
sena_kun prof-m: say 5; 08:53
camelia No such file or directory
.. Prof: p.p6c.org/6f99a1e
(timeout)Can't exec "./rakudo-inst/bin/perl6-m": No such file or directory at lib/EvalbotExecuter.pm line 206.
cat: /home/camelia/rakudo-inst/revision: No such file or directory

now running scp...
lost connection
.. Prof: p.p6c.org/6f99a34
timotimo all the allah spam today 10:31
(only ops see it)
moritz if I were a god of a major religion, I'd totally endorse IRC spam in my name /s 10:37
jmerelo moritz: :-) 10:39
El_Che With the previous spam bots in mind, it looks to me as a far right attack again (annoying people and blame it on people you don't like) 10:48
timotimo my fav line so far has been "filesysteⅿ dοеѕ nоt􏿽xE2􏿽x80􏿽x80􏿽xE1􏿽xB4􏿽xA1rⅰte wіtһοut ⲣermіѕsіⲟn of aⅼlah" 10:50
El_Che ah lol
that does indeed looks like a troll
jmerelo timotimo: or uses passive voice, for that matter... 10:51
timotimo i might go out on the balcony, enjoy the sun, and listen to www.twitch.tv/squaresounds 10:54
AlexDani`
.oO( endorsing IRC spam makes more sense than endorsing people to stand on the street or go door-to-door, a god supporting automation is a good god )
10:56
El_Che So the Big Bang was because he/she/it was using Puppet and by error added two resources with the same name? 10:57
moritz or a botched deployment :) 11:13
rindolf hi all 12:17
sena_kun o/ 12:20
buggable New CPAN upload: Array-Agnostic-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/Array::Agnos...:ELIZABETH 12:34
timotimo cpan is not doing allah is doing 12:49
lizmat timotimo: who are you and what have you done to timotimo?
Geth doc: 93ebaac955 | (Elizabeth Mattijsen)++ | doc/Type/Array.pod6
Hopefully clarify Array.push/append/unshift/prepend differences better
13:03
synopsebot Link: doc.perl6.org/type/Array
pmurias .tell Zoffix would it makes sense to have the voice bot give registered and identified users voice immediately? 13:35
yoleaux 12 Sep 2018 13:22Z <brrt> pmurias: I merged your PR
pmurias: I'll pass your message to Zoffix.
Zoffix . 13:41
yoleaux 13:35Z <pmurias> Zoffix: would it makes sense to have the voice bot give registered and identified users voice immediately?
Zoffix pmurias: how to find that info? Would it have to spam nickserv or something to fetch it?
Cloaked users are already getting instant voice 13:42
and web users 13:43
Zoffix .tell pmurias I whitelisted you ( github.com/zoffixznet/perl6-banbot...c1733151a7 ). I could take a PR to insta-voice identified users, but spamming NickServ each time to get that info feels like abusing teh service a bit. 13:50
yoleaux Zoffix: I'll pass your message to pmurias.
AlexDaniel Zoffix: I was thinking about giving voice to anyone who had a voice once 13:52
no idea if that is going to work well or not
as it could voice a spammer by accident if they're reusing nicks or whatever 13:53
El_Che AlexDaniel: I think you found the weak point of the plan 13:55
timotimo you don't have to spam nickserv to receive the "is registered?" info, /whois also contains it 14:07
AlexDaniel timotimo: but will it kick you for flood if you do /whois too often? 14:08
IIRC p6bannerbot was kicked previously just for doing +v when whateverables joined 14:09
timotimo oh, mhm 14:10
a rate limiting scheme (leaky bucket?) shouldn't be too hard
pmurias .tell Zoffix thank you for whitelisting me :) 14:53
yoleaux 13:50Z <Zoffix> pmurias: I whitelisted you ( github.com/zoffixznet/perl6-banbot...c1733151a7 ). I could take a PR to insta-voice identified users, but spamming NickServ each time to get that info feels like abusing teh service a bit.
pmurias: I'll pass your message to Zoffix.
b2gills .tell hankache `abs` is specifically caught by the parser, and the `use isms;` disables the parser from catching it 15:34
yoleaux b2gills: I'll pass your message to hankache.
jmerelo squashable6: status 15:38
squashable6 jmerelo, Next SQUASHathon in 18 days and ≈18 hours (2018-10-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo releasable6: status 15:39
releasable6 jmerelo, Next release will happen when it's ready. 0 blockers. 1 out of 108 commits logged (⚠ 47 warnings)
jmerelo, Details: gist.github.com/13bee11a5545c39ade...c95d1718bf
buggable New CPAN upload: App-FindSource-0.0.6.tar.gz by ALOREN modules.perl6.org/dist/App::FindSou...pan:ALOREN 15:44
buggable New CPAN upload: Getopt-Advance-1.0.0.tar.gz by ALOREN cpan.metacpan.org/authors/id/A/AL/...0.0.tar.gz 16:04
Geth doc: 121795e47f | (JJ Merelo)++ | doc/Type/Duration.pod6
Deletes incorrect sentence

In numeric contexts, it will still return a Duration. If you do any operation with other kind of numbers, the result will be that number's type, but that's the operation, not just the context. Closes #1589
16:35
synopsebot Link: doc.perl6.org/type/Duration
ab6tract o/ #perl6 17:48
read a great shout out to Perl 6 today: esoteric.codes/blog/the-128-language-quine-relay
a quine that transforms through 128 languages is astonishing enough.. but here's a choice quote: "Piet, the language that uses images as source code (read the interview with Piet’s creator here) was a bit easier as it came after Perl 6, which bundles Zlib as standard library, making it straightforward to generate a PNG file. Had it followed, say, brainfuck, it would have been a much larger challenge." 17:49
<3 to the p6 standard lib :) 17:51
rindolf [xpost from #perl ] Hi all! So I think my user script for metacpan is in a mostly usable condition now - please try it out and let me know what you think - www.shlomifish.org/Files/files/cod...ys.user.js . 17:55
Geth doc: 4a48a5cdb0 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/IO/CatHandle.pod6
Clarify IO::CatHandle.words/.lines

Even if :$close is false, the handle switching mechanism will still close consumed handles. Otherwise, we'd hit the open files limit fairly quickly.
18:18
synopsebot Link: doc.perl6.org/type/IO::CatHandle
Geth doc: 2511723174 | (Steve Mynott)++ | doc/Language/101-basics.pod6
Explain the version doesn't have to be v6 and that 6.c is also a version
18:57
synopsebot Link: doc.perl6.org/language/101-basics
xinming_ m: role R { has $.t }; my $x = "b" does R; $x.t.say; 19:19
camelia (Any)
xinming_ How can we init the $t in this case? 19:20
with does
Do we have to use $x.t = "xxx" after the $x is initialized?
m: role R { has $.t is rw }; my $x = "b" does R; $x.t = "test"; $x.t.say; 19:21
camelia test
xinming_ wish to know wether it's possible to also init the vars in the does line.
m: role R { has $.t }; my $x = "b" does role { has $.t = "good" }; $x.t.say; 19:26
camelia good
xinming_ Anonymous role doesn't handle complex situations. any ideas? :-) 19:26
MasterDuke m: role R { has $.t is rw }; my $x = "b" does R(t => 3); $x.t.say 19:30
camelia 3
Zoffix m: role R { has $.t }; my $x = "b" does R(42); $x.t.say; 19:30
yoleaux 14:53Z <pmurias> Zoffix: thank you for whitelisting me :)
camelia 42
Zoffix xinming_: ^
m: role R { has $.a; has $.b; has $.c }; my $x = "b" does R(42, 72, 31337); $x.Capture.say 19:31
camelia Cannot invoke this object (REPR: Uninstantiable; R)
in block <unit> at <tmp> line 1
Zoffix hm... I wonder how it works with multiple attrs
m: role R { has $.a; has $.b; has $.c }; my $x = "b" does R([42, 72, 31337]); $x.Capture.say
camelia Can only supply an initialization value for a role if it has a single public attribute, but this is not the case for 'R'
in block <unit> at <tmp> line 1
Zoffix ahhhh
xinming_ Zoffix: That was what I'm about to ask too. :-) 19:32
So, with multiple attrs, We can't do that. :-)
Zoffix m: role R[\a,\b,\c] { has $.a = a; has $.b = b; has $.c = c; method Capture { self.Mu::Capture} }; my $x = "b" does R[42, 72, 31337]; $x.Capture.say 19:33
camelia \(:a(42), :b(72), :c(31337))
Zoffix You can do this, as long as the variables don't vary much (each variant creates a new role or something along those lines) 19:33
xinming_ m: role R { has $.t; has $.b; has $.c; }; my $x = "b" does R[1,2,3]; $x.t.say; 19:34
camelia No appropriate parametric role variant available for 'R'
in block <unit> at <tmp> line 1
xinming_ Zoffix: That way, We'll have to write bridge roles if these roles are from third party
But thanks anyway for the hint
xinming_ I'm thinking wether I can learn all perl6 features in my life. :-) 19:35
Zoffix Do you know all the features of Chinese? 19:36
Probably not. Same with Perl 6. Learning everything is a waste of time :)
xinming_ But I wish to 19:38
AlexDaniel weekly: colabti.org/irclogger/irclogger_log...09-16#l403 19:40
notable6 AlexDaniel, Noted!
AlexDaniel “This Ruby program produces a Rust program, which produces a Scala program, which produces a Scheme program, and so on, progressing through another 124 languages to return to its original state” 19:42
omg
“Perl 6, which bundles Zlib as standard library” what are they talking about btw? 19:43
timotimo rakudo star probably
AlexDaniel oh
timotimo FWIW, you could also "just" output netbpm like i did for my cellular automata stuff :D
AlexDaniel still can't find anything zlib-related in rakudo star 19:46
I'm probably blind 19:47
timotimo i also don't see it 19:48
ab6tract :( ... maybe the PHP in between Perl 6 and Piet in the graphic on the article is a hint? : github.com/php/php-src/search?utf8...&type= 20:31
timotimo d'oh 20:33
timotimo (they had already stopped spamming, but it still felt a little cathartic) 20:46
Geth whateverable: 62e5fe5ba7 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 14 files
Make bots testable again

By fixing some paths that should've been fixed in d4c92b7f8e22e01161be7d9184ee473287d4ff1d.
22:14
whateverable: a7ddc02ac2 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 4 files
Move some logic into Whateverable::Bisection

Also some refactoring in Bisectable.
AlexDaniel ab6tract: that's hilarious then :D 22:15
weekly: and they also confused PHP with Perl 6? Hmm… colabti.org/irclogger/irclogger_log...09-16#l499
notable6 AlexDaniel, Noted! 22:16
rindolf i keep missing Zoffix 22:20
timotimo he keeps magically popping up when he is needed, though
we just need to have hope
AlexDaniel rindolf: if you need to talk to them then just say Zoffix: … … … 22:23
rindolf: afaik the message will be delivered by some bot
rindolf AlexDaniel: ok, nothing critical 22:24
I did backups today 22:27
most of my stuff is on github/etc. anyway
www.goodreads.com/quotes/574706-on...load-their 22:28
AlexDaniel: are you github.com/perl6/whateverable/comm...AlexDaniel ? and why does your username link not refer to the gh user page? 22:31
maybe it is a gh hiccup
AlexDaniel rindolf: wtf! They changed it 22:32
rindolf: now you have to click on the avatar to get to the page 22:33
timotimo yeah, it'll instead link to the "search all commits by this person" site
AlexDaniel it used to be that you can just click the username from the commit
I do agree that it is more consistent now
timotimo yeah 22:34
AlexDaniel these constant changes though… :)
rindolf github.com/shlomif/fc-solve/commit...or=shlomif - here too
AlexDaniel: how do i access the avatar using the keyboard? 22:35
AlexDaniel rindolf: ' AlexDaniel Shift+Tab
rindolf AlexDaniel: ok
AlexDaniel: github.com/AlexDaniel 22:36
AlexDaniel: thanks
we both have animal avatars 22:37
AlexDaniel :)
only one of them looks right into your soul though :P
rindolf AlexDaniel: speaking of keyboard stuffs - have you tried this script of mine yet - www.shlomifish.org/Files/files/cod...ys.user.js ? I'm seeking beta testers 22:39
rindolf AlexDaniel: heh 22:40
AlexDaniel rindolf: oh… I don't use metacpan that often to be of any help, unfortunately 22:41
rindolf AlexDaniel: ah 22:41
AlexDaniel but the idea totally makes sense
rindolf AlexDaniel: thanks
jlinahan hi 23:18
timotimo greetings 23:19