»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 May 2018.
buggable 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 2 ballots submitted by 2 users! DRUM ROLL PLEASE!... 00:00
And the winning number is 10! Congratulations to samcv, nine! You win a roll of duck tape!
samcv yay. i've never won before
do i have to give a speech
El_Che sound good to me 00:01
00:02 BenGoldberg joined, espadrine left 00:06 stmuk joined 00:07 benjikun2 is now known as benjikun
raschipi I said in the survey I had 2018.05 but I forgot I just had upgraded to 2018.06 00:07
00:08 stmuk_ left
benjikun raschipi: That's okay 00:08
00:11 Israel joined
Israel ? 00:11
Anybody here?
thowe hi
I'm here, but I'm no help.
Israel hey
Ok, lol
AlexDaniel I'm here, I'm sometimes help :)
thowe Most Perl people are super experts at everything... I'm just a hobbiest. 00:12
Israel I need t know more about Perl6, if anyone can help
I am a hobbiest too
thowe Sure!
I'll try.
Israel Ok
AlexDaniel samcv: but who won? you or nine? :) 00:14
thowe The REPL makes things fun and helps with the learning.
raschipi Just stick around and listen and you'll bea 'super expert' in no time.
Israel okay 00:15
where i can learn more about this language? 00:16
thowe Well, do you like books or online resources or both?
raschipi There's a couple of books, introductory texts online...
thowe I have a book called "Perl 6 Fundamentals" which I have liked so far. 00:17
Israel I have many books of Perl, but Perl6...
"Perl 6 Fundamentals" - expensive?
thowe Also, a new book about learning Perl6 is about to come out from O'Reilly
I'm not sure, I seem to recall getting it during a price reduction.
Israel, What country are you in? 00:18
raschipi If you know Perl 5, you might want to have a look here: docs.perl6.org/language/5to6-nutshell
Israel Brazil 00:19
Brazilian Federal Republic***
00:19 gabiruh joined
Israel raschipi - thanks 00:20
thowe Looks like the paperback is about $20 US from Amazon. I'm not sure how that translates to Brazilian currency.
raschipi Seja bem vindo, Israel
Israel I can read in English, and $20 is about 60 brazilian coins 00:21
So it's fine
thowe Coins? That's what it is called? 00:22
AlexDaniel Israel: fwiw there are many short introductions to perl 6, like learnxinyminutes.com/docs/perl6/
raschipi Israel: importação de livros é isento de imposto, se te cobrarem, reclame.
Israel raschipi: I've already released some books from the USA, never charged taxes 00:23
thowe - We call brazilian Real
raschipi Tax over "I'm not sure what this is" is 100%, so they sometimes tax books when they shouldn't. You need to complain to get the money back.
thowe Ah, OK
00:24 gabiruh left
Israel Ok 00:24
thowe this is a free download: greenteapress.com/wp/think-perl-6/ 00:25
Israel Thanks for all guys, realy helped me
raschipi Stick around
00:26 eliasr left
Israel I will be 00:26
00:32 gabiruh joined 00:35 zachk left 00:59 Israel left
raschipi He didn't stick around. 01:09
thowe Ah well. 01:10
01:14 perlpilot joined 01:15 kybr joined 01:35 ChoHag left
benjikun raschipi: Hopefully he returns 01:37
buggable New CPAN upload: IP-Random-0.0.8.tar.gz by JMASLAK modules.perl6.org/dist/IP::Random:cpan:JMASLAK 01:44
02:01 markoong left 02:02 markoong joined 02:03 gabiruh left 02:07 markoong left, perlpilot left 02:14 aborazmeh joined, aborazmeh left, aborazmeh joined 02:26 ChoHag joined 02:59 gabiruh joined 03:18 Zoffix joined 03:21 aborazmeh left
Zoffix .tell MasterDuke did some digging into the `multi z(42)` thing. Looks like the perf rewrite works fine in `sub`s, but in `multi`es, stuff becomes 10x slower and I think just drowns out the improvement. Filed as R#2002 03:22
yoleaux Zoffix: I'll pass your message to MasterDuke.
30 Jun 2018 23:16Z <benjikun> Zoffix: Sorry, was asleep. Yeah this round's survey is complete, I was going to create charts for each question, but I think the google form results will do fine for now.
Zoffix (I mean, 10x slower for some reason, not because of my opt. The issue existed before my stuff) 03:24
even before The Christmas 03:26
R#2002 03:29
hack is ded again
AlexDaniel but at least RT is back up! 03:33
03:33 dalek joined, ChanServ sets mode: +v dalek
Zoffix I rather have hack :P 03:33
03:33 Geth joined, ChanServ sets mode: +v Geth, p6lert joined, synopsebot joined, ChanServ sets mode: +v synopsebot
Zoffix R#2002 03:33
synopsebot R#2002 [open]: github.com/rakudo/rakudo/issues/2002 [perf] `where` in single `multi` vs. `sub` is 10x slower
03:34 SourceBaby joined, ChanServ sets mode: +v SourceBaby
AlexDaniel RT#125974 RT#128693 RT#132219 03:35
synopsebot RT#125974 [new]: rt.perl.org/Ticket/Display.html?id=125974 [PERF] Closures in regex cost a lot of CPU cycles.
RT#128693 [new]: rt.perl.org/Ticket/Display.html?id=128693 [PERF] Regex optimizer on \s+$ is "dumb as bricks"
RT#132219 [new]: rt.perl.org/Ticket/Display.html?id=132219 [@LARRY] [REGEX] non-ratchet right-hand branch of `||` causes backtracking into the alternation
03:38 Zoffix left 03:46 Khisanth left
raschipi Zoffix RT is just bad news anyway. 03:47
AlexDaniel ? 03:52
03:55 psychoslave joined 03:59 Khisanth joined 04:23 Actualeyes left 04:24 Actualeyes joined 04:37 Tison joined
Tison \o 04:37
I was ask that what's new 6.d would bring to, and I introduced github.com/perl6/6.d-prep, but think that it would be better if there is a brief talk/essay to announce 6.d 04:40
my folks are excited to hear that 6.d will be released in Nov. :) 04:41
raschipi Will it?
geekosaur I thought that hadn;t been decided yet
raschipi I didn't hear anything about it either. 04:43
Tison: but don't worry, everyone will hear extensively about 6.d way before it comes out. 04:46
04:54 Zoffix joined
Zoffix Tison: there aren't yet any changelog notes for 6.d and the majority of the spec changes still need to be reviewed. Pointing people to 6.d-prep isn't a good idea: that's a repo for core devs and will just confuse users. The vast majority of 6.d stuff is already available in 6.c, so it's not like we're keeping some secret hidden feature under the covers. The release will just make all these features officially 04:57
part of the language and subject to much stronger compatibility support
and will put in use the features that currently requre `use v6.d.PREVIEW` 04:59
05:10 Tison left 05:14 thowe left 05:22 Kaiepi left 05:23 Kaiepi joined 05:51 kaare_ joined 06:01 wamba joined 06:15 BenGoldberg left 06:20 raschipi left 06:23 xtreak joined 06:24 araraloren joined 06:27 sno left 06:29 sno joined 06:40 fake_space_whale left 06:48 jmerelo joined 06:59 xinming_ joined 07:02 xinming left 07:05 xinming_ left, xinming joined 07:08 xtreak left
Geth doc: f67de5778e | (JJ Merelo)++ | CONTRIBUTING.md
Some guidelines about introducing new features closes #2133
07:17 psychoslave left 07:53 psychoslave joined 08:04 psychoslave left 08:20 parv joined 08:33 DeepIO joined, DeepIO left 08:50 rindolf joined 09:12 rindolf left 09:16 rindolf joined 09:23 TreyHarris joined 09:31 epony left 09:34 ccakes left, parv left 09:36 robertle joined 09:45 epony joined
Geth doc/master: 5 commits pushed by (JJ Merelo)++ 09:48
09:59 lizmat left 10:20 araraloren_ joined 10:23 araraloren left 10:29 Ven`` joined 10:31 sena_kun joined 10:33 Ven`` left 10:36 andrzejku joined, gurmble joined 10:44 lizmat joined 10:51 eliasr joined 10:58 HaraldJoerg joined 11:11 sergot joined 11:19 markoong joined 11:26 andrzejku left 11:29 mniip joined
jmerelo More stuff from the survey: Community score vs. documentation score github.com/perl6/p6survey/blob/mas...munity.png 11:34
11:35 leah2 joined
jmerelo In general, scores are lower for doc than community, but those giving high score to community, in general, give a good score to documentation. 11:37
I'm kinda worried, however, by those giving 9 or 10 to the community and failing documentation. 11:38
Geth doc: cec362ec4f | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/exceptions.pod6
wrap long lines, fix typo
synopsebot Link: doc.perl6.org/language/exceptions
11:39 gurmble is now known as grumble
tbrowder_ jmerelo: maybe a new survey just on documentation? 11:41
jmerelo This is interesting raw.githubusercontent.com/perl6/p6...oxplot.png 11:44
Most people giving a low score to documentation, _also_ give a low score to the community
lizmat judging from reddit comments, that is to be expected :-(
jmerelo tbrowder_: I have more than enough analyzing data in this survey. I don't want people to get tired of surveys...
lizmat: yep. Still, ~ 7 is kind of low. There's room for improvement. 11:46
tbrowder_ i for one would like to see the language part organized into several groupings. the alphabetical order is somtimes unhelpful.
jmerelo tbrowder_: It's sometimes difficult to navigate. But the problem is that major changes like that one simply don't happen. 11:47
tbrowder_: but if you open an issue I'll be giving it some attention. It's a good suggestion.
tbrowder_ if/when another survey is done, maybe ask for specifics if the choice rating is below X. 11:48
jmerelo tbrowder_: I mean, not more than other issues, but it's always good to have those opinions just in case some rearrangement happens.
11:49 rindolf left 11:51 jmerelo left 12:02 pmurias joined 12:06 rindolf joined
tbrowder_ even though i would like to see some categories in the lnguage docs, i’m not sure what they should be, and getting consensus might be difficult. 12:08
i haven’t looked at htmlify since your work started, but i imagine creating categories might be a little easier now, thanks to your efforts. 12:10
sacomo hi all 12:15
pmurias sacomo: hi 12:16
sacomo hello
is there a way to see all of the modules that are available as symbol references from inside a module? for example, can we print a list of modules (JSON::Fast, Foo, Bar, Something::Special) that are either available on the system, or via lib? 12:19
lizmat that would be $*REPO introspection, I guess
ugexe or nine would probably know 12:20
Repository handling is sadly underdocumented atm
sacomo lizmat: thanks, I will mess around with $*REPO 12:22
tbrowder_ speaking of searching modules, any way to search by author on our modules page? 12:23
El_Che modules.perl6.org/search/?q=author...22JNTHN%22 12:25
modules.perl6.org/search/?q=author:"JNTHN" 12:26
12:28 xtreak joined 12:47 mscha joined
mscha How can I declare a nested integer hash, i.e. %foo{42}{21} == 63? 12:48
m: my %foo{Int}; %foo{42} //= my %{Int}; %foo{42}{21} = 63; dd %foo; # This doesn't work, obviously
camelia Hash[Any,Int] %foo = (my Any %{Int} = 42 => $(my Any %{Int} = 21 => 63))
mscha m: my %foo{Int}; %foo{42} //= my Int %{Int}; %foo{42}{21} = 63; dd %foo; # This is a workaround, but annoying. 12:49
camelia Hash[Any,Int] %foo = (my Any %{Int} = 42 => $(my Int %{Int} = 21 => 63))
mscha Ignore my first "this doesn't work"...
m: my %foo{Int}; %foo{42}{21} = 63; dd %foo; # This doesn't work, obviously
camelia Hash[Any,Int] %foo = (my Any %{Int} = 42 => ${"21" => 63})
El_Che mscha: I most forgo strong typing with nested stuff 12:55
mscha: I am under the impressiong typing is rather flat on perl6, but I am sure people will correct me if wrong
lizmat mscha: you're asking a Hash to take a Hash *and* an Int as values ? 12:56
El_Che Nesting stuff is in my view something typical of dynamic non-strongly type languages 12:59
in other languages you'd use Objects or Structs to keep that kind of data 13:00
Geth doc: tbrowder self-assigned add caption info to pod tables discussion github.com/perl6/doc/issues/2134
3ea8e5fa94 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/tables.pod6
mscha lizmat: I want a hash of hashes of ints. 13:08
El_Che: but if I forgo strong typing, Rakudo changes my Ints to Strs. Not a disaster with Ints, but for instance with Rats that can cause bugs. 13:10
El_Che you can type the values, no?
13:11 kaare_ left
mscha El_Che: But how do I type the values of the main hash as Int %{Int}? 13:11
13:11 turdmonkey joined, turdmonkey is now known as Bowlslaw
Bowlslaw hello 13:11
good morning everyone 13:12
mscha m: my Int %{Int} %foo{Int}; # doesn't work
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
foo used at line 1
Bowlslaw You guys have a totalitarian moderator, Mithaldu, on r/perl who bans and mutes people for engaging in harmless discussions in which he disagrees, over joke posts 13:14
El_Che mscha: I see 13:15
m: my Hash[Int] %h; my %h2 = foo => 2; %h<foo> = %h2
camelia Type check failed in assignment to %h; expected Hash[Int] but got Hash (${:foo(2)})
in block <unit> at <tmp> line 1
lizmat Bowlslaw: I think this is the wrong place to complain about that, taking it up with the other moderators on r/perl would be better, I think 13:16
Bowlslaw That's impossible. 13:17
I tried, but I don't know where else to go.
lizmat you could also try #perl on irc.perl.org 13:19
Bowlslaw When I tried to appeal, I literally said, "I don't think I deserve to be banned explanation?" and he said, "you are banned and muted now"
alrighty...thanks. 13:20
13:20 andrzejku joined
pmurias Bowlslaw: this is a Perl 6 channel so if anything you should be complaining about r/perl6 here ;) 13:21
El_Che pmurias: nothing is as simple as it looks :)
Bowlslaw I Know, but r/perl is advertised as both Perl 5 and Perl 6 13:23
"The Perl Programming Language, including both Perl 5 and Perl 6."
El_Che Bowlslaw: it is 13:24
let's see if their are known admins
lizmat Bowlslaw: I assume it's over this? www.reddit.com/r/perl/comments/8uh...s_in_perl/ 13:26
www.reddit.com/user/bowlslaw doesn't read too positive :-( 13:27
Bowlslaw yep 13:28
My history is irrelevant
what IS relevant is the current post there
which is not even close to being ban worthy with the only explanation being, "keep your right-wing stuff elsewhere" or whatever
hahainternet your history surely isn't irrelevant 13:30
13:31 espadrine joined
Bowlslaw In the context of this curernt situation, it is entirely irrelevant, unless yo uare simply looking for an excuse to ban someone. 13:32
hahainternet if your history provides that 'excuse', then it isn't irrelevant
13:32 espadrine left
lizmat Bowlslaw: again, I don't this is the place for this discussion, as I think very few people on this channel can actually do something about the situation 13:33
Bowlslaw alright
hahainternet: and no, that is called an "ad hominem", something you should be too smart to fall for
13:33 Bowlslaw left
lizmat *sigh* 13:33
hahainternet why do people who are always offensive never understand what "ad hominem" means
a mystery to me 13:34
pmurias Bowlslaw: an ad hominem is a valid argument when the person who is being attacked is the subject of the argument 13:37
hahainternet pmurias: he left lol, but even then his history cannot possibly be an ad hominem, it would be like a person on trial insisting the judge should not look at his criminal record before sentencing him 13:45
synopsebot Link: doc.perl6.org/language/tables
El_Che duscussing meme is a can of worms 13:49
as is reddit, it seems
pmurias tries to keep his technical activities and his trolling/internet vitriol separate 13:50
El_Che pmurias: does pmurias have an online evil twin? :) 13:52
I think the only time I posted something on reddit was in a discussion started by lizmat
Geth doc: 926e0f2834 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/tables.pod6
add info on adding a table caption
synopsebot Link: doc.perl6.org/language/tables
El_Che haven't connected since then
reddit looks too much like online comments on newspapers 13:54
lizmat stmuk: pl6anet.org seems irresponsive 13:56
*unresponsive 13:57
Geth doc: 1df6d75505 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/tables.pod6
warn about deprecated use of config hash for captions
synopsebot Link: doc.perl6.org/language/tables
14:06 MilkmanDan left 14:09 MilkmanDan joined
Geth doc: 64cb6677a4 | (Sam S)++ (committed using GitHub Web editor) | doc/Type/Hash.pod6
fix typo

English is not French... :P
synopsebot Link: doc.perl6.org/type/Hash
14:11 xtreak left 14:16 andrzejku left 14:18 kaare_ joined 14:22 imcsk8 joined, kaare__ joined 14:23 kaare_ left 14:24 Xliff joined
Xliff \o 14:24
Happy Sunday!
14:27 lizmat left 14:35 gabiruh left, wamba left, gabiruh joined 14:36 wamba joined, eliasr left 14:40 turdmonkey joined, turdmonkey is now known as Bowlslaw, sena_kun left 14:41 koto joined
Bowlslaw "No such method 'prase' for invocant of type 'DOM::Tiny'" praise the DOM ! 14:48
14:50 zakharyas joined 14:51 psychoslave joined, gabiruh left 14:54 koto left, fake_space_whale joined, sena_kun joined, Bowlslaw left
Xliff BowlSlaw: Can you bug that? 15:00
Or is that in your code? /o\
Is there a beautify for gist output anywhere? 15:07
15:11 araraloren_ left 15:15 lizmat joined
tbrowder_ tyil: you around? 15:18
15:19 Schepeers_ left
tyil tbrowder_: hi 15:21
15:22 Schepeers joined 15:30 gabiruh joined
tbrowder_ tyil: hi. have you had a chance to try the =input/=output pod blocks yet? 15:31
tyil tbrowder_: I have not, I'll do it right away 15:35
tbrowder_: in the test program, the IO blocks are rendering just like code blocks now (with regards to newlines and whitespace) 15:37
with This is Rakudo version 2018.06-32-g0990945dc built on MoarVM version 2018.06-34-g411f73fdc
and if I'm not mistaken, this month gets a new star release as well, so it's going to be in my default perl6 as well 15:38
thanks for the fix, tbrowder_ :>
15:41 smls joined
tbrowder_ you’re welcome—glad i could help, and thanks for finding the problem! 15:42
smls I wrote a Perl 6 module: github.com/smls/perl6-LinkedHash 15:44
Feedback welcome, especially about the stuff in the TODO section of the readme.
tbrowder_ smls: that sounds great! is it in cpan yet? 15:47
lizmat smls: why %!entries{$key}:exists; in EXISTS-KEY, why not just %!entries.EXISTS-KEY($key) ?
smls tbrowder_: Not yet.
lizmat: Heh, good point. 15:48
lizmat same for DELETE-KEY
saves you 1 level of indirection (at least)
Xliff Does anyone know the best way to add a cookie to the Cro::HTTP::Client::CookieJar class? 15:57
If not, who can I ask?
Actually. That should read "add a cookie to an instance of Cro::HTTP::Client::CookieJar" 15:58
sena_kun Xliff, jnthn or me. Let's see if I can help you...
Xliff sena_kun!! ^^
How goes?
sena_kun: Here's the tricky part... I can add from a response object, but I need a Cro::Uri. However I don't know how I would do that properly. I could specify the actual root dir of the server, but that would require building. 15:59
ALSO! I have a related question to ask when you have a spare minute.
sena_kun Xliff, I don't see obvious way to do that right now, yet I believe you can open an issue and we'll work on it. 16:00
Xliff Would you accept a PR? :)
16:00 zakharyas left
Xliff BTW-- I did fix a minor issue. 16:00
Oh! Yeah, someone merged. 16:01
sena_kun Design-wise things go into jnthn's field I believe, but you can always send a PR and it will be considered.
16:01 zakharyas joined
sena_kun It was me(who merged it), thanks again for your contribution. :) 16:01
Xliff yw! 16:02
sena_kun As for $uri needed, let's see... 16:03
Xliff So yea, the related question was asking about a way to add a cookie directly to the cookie jar, so that's covered.
lizmat Xliff: there's also a #cro channel
Xliff Oh! My bad! 16:04
lizmat but I guess sena_kun would have helped you there as well :-)
Xliff Thanks, liz
lizmat fwiw, I wasn't saying that it was wrong to ask it here, but simply point out that there is a channel with better signal/noise ratio wrt to Cro questions :-) 16:05
Xliff lizmat++ # Message received as intended. ;) 16:06
16:13 SCHAPiE left 16:19 SCHAPiE joined
Xliff sena_kun: I know you will need to run this by jnthn, so I will open an issue, but would it be a bad thing to just allow an add-cookie method to Cro::HTTP::Client::CookieJar? 16:21
lizmat Xliff: is there a way to create a cookie jar separately ? 16:25
sena_kun Xliff, well, the thing is CookieJar operates on CookieState rather than raw Cookie objects, so you need to either go with a cumbersome add method(not so bad) or expose CookieState(arguably worse). Personally, I don't see anything _too bad_ with that, but yet again, it is up to jnthn as I may miss something. 16:28
Xliff sena_kun: Yeah. I'm looking at it now. I would basically put a new cookie in a CookieState and add it to the jar. 16:30
I've submitted the issue for discussion.
sena_kun Xliff++ 16:31
16:33 Sgeo__ left
lizmat afk& 16:33
16:33 Sgeo__ joined 16:36 Sgeo_ joined
stmuk lizmat: can't see a problem now. Maybe a glitch in the matrix? 16:38
16:38 Sgeo__ left 16:39 jmerelo joined
jmerelo o/ 16:39
Geth doc: 7f00a2c76f | (JJ Merelo)++ | doc/Language/modules-core.pod6
Eliminates the sentence about `$*REPO`

Refs #502
synopsebot Link: doc.perl6.org/language/modules-core
17:04 ExtraCrispy left 17:06 zakharyas left 17:09 HaraldJoerg left 17:10 HaraldJoerg joined 17:13 andrzejku joined 17:16 zakharyas joined
Geth doc: 9fd2e7767f | (JJ Merelo)++ | doc/Language/glossary.pod6
Adds definition of repository in Rakudo/Perl 6 context

This is ripped of off @jnhtn's
with the idea of contributing towards #502 (TTBOMK, of course).
synopsebot Link: doc.perl6.org/language/glossary
doc: fc24fafac0 | (JJ Merelo)++ | doc/Language/glossary.pod6
Adds compilation unit/compunit to the glossary

It was missing so far, with compunit pointing to the definition of several compilation units. Once again, @jnthn document is essential, and definition sentence basically copypasted from there. Refs #502.
17:18 Zoffix left 17:31 nuclearsandwich joined 17:36 domidumont joined
El_Che jmerelo: whut? 17:40
17:40 gabiruh left
AlexDaniel jmerelo: are you sure abou $?… vs $*… ? These are different 17:41
17:41 gabiruh joined, robertle left
jmerelo AlexDaniel: you mean the Rakudo pull request? 17:42
AlexDaniel yea
jmerelo m: say $?REPO;
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '$?REPO' is not declared
at <tmp>:1
------> 3say 7⏏5$?REPO;
jmerelo m: say $*REPO;
camelia inst#/home/camelia/.perl6
17:43 domidumont left
jmerelo m: use lib </usr/lib>; say $?REPO; 17:43
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '$?REPO' is not declared
at <tmp>:1
------> 3use lib </usr/lib>; say 7⏏5$?REPO;
17:44 domidumont joined
jmerelo El_Che: reacting to this github.com/perl6/doc/issues/502#is...-401607520 17:45
17:45 domidumont left
AlexDaniel jmerelo: ah, maybe you're right 17:47
jmerelo AlexDaniel: I haven't seen it documented, or anywhere else in the Rakudo repo. But I can eliminate that if it's not true.
AlexDaniel: that document is old, and I seem to remember there was a big change $? -> $*. But please double check in case you're not sure. 17:48
AlexDaniel jmerelo: Well, I don't know. There's a bunch of $?… stuff that is not implemented, like RT#124624
synopsebot RT#124624 [open]: rt.perl.org/Ticket/Display.html?id=124624 $?KERNEL, $?DISTRO, $?VM megaticket
AlexDaniel jmerelo: IIRC these did not become $*, I think both forms were intended to exist 17:49
jmerelo AlexDaniel: I'll just leave it be. I think I can edit that. Let me check.
17:50 psychoslave left
El_Che jmerelo: I was reacting to Spain loosing, but the ticket is harsh 17:53
17:54 gabiruh left
jmerelo El_Che: it really is. And the problem is that it's not even remotely constructive. But the gist of it is it's wrong, it's my fault, and I've got to fix it. So back to work. 17:54
El_Che jmerelo: I would try not to get demotivated by it 17:55
jmerelo El_Che: about Spain: it was surprising it even proceeded out of the group phase. At the beginning it was the defense failing, now it's the forwards failing. So it was nice while it lasted
El_Che: not really. Quite the contrary. I'm getting used to them by now. 17:56
17:56 robertle joined
El_Che jmerelo: I only say 1 match where Spain played (against Marocco) and I wasn't impressed 17:56
jmerelo: callus around your heart is not ideal eiter 17:57
jmerelo El_Che: none of them was even remotely good. I'll support Mexico now, I guess :-)
El_Che jmerelo: and .be :)
jmerelo El_Che: OK, I'll support them too. 17:58
El_Che well, it's the part that stayed loyal to Spain until the end 17:59
history must account for something :)
jmerelo El_Che: you've got to have thick skin, that's unavoidable. And maybe work a bit harder.
El_Che (in contrast with out heretic neoghbours in Echt^WHolland
17:59 gabiruh joined
jmerelo El_Che: that's rich :-) 17:59
18:00 fake_space_whale left
jmerelo m: say $*REPO; 18:05
camelia inst#/home/camelia/.perl6
jmerelo m: say $*REPO.repo-chain.perl; 18:08
camelia (CompUnit::Repository::Installation.new(prefix => "/home/camelia/.perl6"), CompUnit::Repository::Installation.new(prefix => "/home/camelia/rakudo-m-inst-1/share/perl6/site"), CompUnit::Repository::Installation.new(prefix => "/home/camelia/rakudo-m-ins…
18:09 thowe joined 18:17 stephane_ joined 18:19 cog left 18:21 fake_space_whale joined 18:24 andrzejku left 18:25 cog joined, zakharyas left 18:26 stephane_ left
Geth doc: 4b237e496b | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/tables.pod6
show an example of the deprecated method
synopsebot Link: doc.perl6.org/language/tables
jmerelo says goodbye for the day 18:40
18:41 Kaiepi left 18:43 jmerelo left 18:51 raschipi joined
Mithaldu sorry that that ass wandered in here earlier. he posted something intended to be divisive, and i told him to stop it, and he both decided to argue it while insulting me, so i banned him for the arguing part 18:55
18:55 psychoslave joined 18:56 TreyHarris left
raschipi Mithaldu: The problem as I see it is the removal message, suggesting you indeed banned him for "right wing stuff". 18:59
If you had given a better ban message, he wouldn't be able to suggest a problem. 19:00
Mithaldu there was another message he posted in reply to that
he was banned for that one
raschipi But the first message was indeed removed just for being right wing? 19:01
Mithaldu yes
and i'll be fully frank 19:02
tadzik um, being right wing is bannable now? I thought it's only unwelcome when you're being hostile in your views
Mithaldu anyone who thinks we shouldn't remove right wing bullshit on the perl reddit can go and talk to a wall as far as i am concerned 19:03
raschipi I fully support banning people for being hostile, that will get a ban on right wing forums too.
Mithaldu i have zero tolerance for that, and i have zero interest with anyone who wishes to discuss that aspect
raschipi Really? In a Perl forum? You have heard about Larry Wall, right? You'll talk to that Wall, I suppose? 19:04
Mithaldu i have no idea about his politics and i don't care as he's never posted them on the subreddit 19:05
El_Che Mithaldu: thx for giving some context. However, I think you're talking about far-right or alt-right memes. I don't think you'll ban someone for a quote of Adam Smith
raschipi I won't have a problem with it either if you are just honest and transparent about it and list it as a rule on the sidebar.
Mithaldu raschipi: if it becomes a longterm problem i will 19:06
El_Che: haven't heard of the guy yet. i talk specifically about espousing things in line with en.wikipedia.org/wiki/Right-wing_politics
raschipi That article is so biased it's funny. 19:07
Anyway, just list that as a rule is my suggestion, otherwise the guy is right to be pissed at you, I think. 19:09
19:10 TreyHarris joined
Mithaldu El_Che: also, again, i didn't ban him for posting anything, but for arguing and insulting 19:10
19:13 gabiruh left
raschipi Like I said, shadow rules will piss people off. 19:14
19:16 spycrab0 joined
tadzik my 3p is that if you ban someone for being insulting then it's completely fair, but if the feedback they see is "they hate me because I'm right-wing" then 1) they learn nothing 2) they tend to victimize themselves. And it leads to this "this mod is intolerant" nonsense rather than "oops, I guess I should've been nice and not a dick" 19:17
raschipi They used a shadow rule to remove his comment and he got angry, so they used that as an excuse to ban him. 19:18
Mods are openly intolerant, which is fine as long as people are told about it beforehand.
spycrab0 Heyo, quick question: Is there a way to use other variables than $_ as index variables in for loops, similar to for my $var... in perl5? 19:19
Mithaldu tadzik: the way they interacted as well as their posting history made it clear they had no intent of becoming a real human being ever. i like giving people chances, but there was no inch possible there
raschipi spycrab0: Yes, use $^a, $^b, etc.
tadzik spycrab0: or for @a -> $b { } 19:20
also, is your name a TF2 reference?
raschipi spycrab0: Or a pointy block for @list -> $var { ... }
Mithaldu haha
tadzik Mithaldu: I see 19:21
spycrab0 tadzik: yes it is. Although I've not played it in forever. just kinda stuck.
raschipi Mithaldu: Like I said, if you want to ban people for being intolerant or agressive, go right ahead, no problems with it, just make the rules clear, that's all.
19:21 domidumont joined
raschipi Seves you the headache of people accusing you of being unfair. 19:23
tadzik spycrab0: www.tf2sounds.com/1500 19:24
Geth doc: 289c0ceb42 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/tables.pod6
add missing =end code
synopsebot Link: doc.perl6.org/language/tables
spycrab0 Is there a go-to perl6 web framework? 19:25
tadzik Cro is the way to go these days
though I obviously recommend giving Bailador a shot :) 19:26
19:28 domidumont left 19:29 fake_space_whale left
thowe bailador website is down :( 19:32
tadzik :( 19:33
spycrab0 Another stupid question: Is this the best way to embed array length in a string? say "Found $(elems(@primes)) primes"; I'm kinda used to the implicit scalar conversion from 5. 19:39
tobs m: my @elems = (1..10).grep: *.is-prime; say "Found {+@elems} primes"; say "Found @elems.elems() primes"; 19:41
camelia Found 4 primes
Found 4 primes
tobs are the ones I know 19:42
spycrab0 Those look way nicer. thanks!
El_Che m: say +('a','b','c') 19:46
camelia 3
20:22 turdmonkey joined, turdmonkey is now known as Bowlslaw
Bowlslaw Helloooo 20:23
moritz oh hai
Bowlslaw i've been using more unicode 20:28
it's fun
feels weird, though
20:45 Bowlslaw left 21:07 robertle left 21:16 sena_kun left 21:17 sena_kun joined 21:27 HaraldJoerg1 joined, HaraldJoerg left 21:31 koto joined, sena_kun left 21:33 HaraldJoerg1 left 21:47 koto left 21:54 smls left 21:57 Zoffix joined 21:59 MasterDuke joined
Zoffix mscha: instead of the `TVal %h{TKey}` you can parametarize with `Hash[TVal,TKey]` and then you can nest it to any depth you want. Autovivification looks to be buggy tho: 22:03
m: my Hash[Int] %h; dd %h<foo><bar> = 42
camelia Type check failed in assignment to %h; expected Hash[Int] but got Hash (${})
in block <unit> at <tmp> line 1
Zoffix Bowlslaw, lots of people hate Perl 6ers in r/perl and Mithaldu harassed me and threatened with a ban when I complained as well. Just use r/perl6 for all discussions: www.reddit.com/r/perl6/ 22:06
Mithaldu fyi i actually regularly act against people who try to report perl6 stuff on the perl reddit 22:07
Zoffix m: my @elems = (1..10).grep: *.is-prime; say @elems.:[+] 22:08
camelia 5===SORRY!5=== Error while compiling <tmp>
Prefix + requires an argument, but no valid term found
at <tmp>:1
------> 3(1..10).grep: *.is-prime; say @elems.:[+7⏏5]
expecting any of:
Mithaldu even complained to the reddit admins because there was at least one very persistent guy who reported every perl6 post for a while
Zoffix Ah, angle brackets 22:09
m: my @elems = (1..10).grep: *.is-prime; say "Found @elems.:<+> primes"
camelia Found 4 primes
Zoffix :)
22:10 fake_space_whale joined
tobs while we are at that, is there a way to make ".grep" looser than the range operator in the above? 22:10
Xliff Uh...
Zoffix: WTF?
tobs (except for parentheses, of course) 22:11
Xliff m: my @elems = (1..10).grep: *.is-prime; @elems.:[+].say
camelia 5===SORRY!5=== Error while compiling <tmp>
Prefix + requires an argument, but no valid term found
at <tmp>:1
------> 3s = (1..10).grep: *.is-prime; @elems.:[+7⏏5].say
expecting any of:
Zoffix tobs: add a space
m: say ^10 .grep: * > 5
camelia (6 7 8 9)