»ö« 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:06 zachk left, aborazmeh left 00:11 jme` joined 00:12 p6bannerbot sets mode: +v jme`
Kaiepi there 00:20
now Net::Telnet supports TRANSMIT_BINARY
jnthn :) 00:24
00:29 w_richard_w joined 00:30 p6bannerbot sets mode: +v w_richard_w 00:43 irdr left 00:44 irdr joined 00:45 p6bannerbot sets mode: +v irdr 00:51 zacts joined 00:52 p6bannerbot sets mode: +v zacts 01:04 Home joined 01:05 p6bannerbot sets mode: +v Home 01:08 sena_kun left 01:10 _isomorphismes joined 01:11 p6bannerbot sets mode: +v _isomorphismes
eno can anyone help me with an error I'm getting while trying to install a compiled version of perl6 01:30
this is the error:
perl6-m tools/build/install-core-dist.p6 /gnu/store/qp5w8m517cfbi5lc30g8127ss92d2ycs-rakudo-2018.12/share/perl6/No writeable path found, /gnu/store/qp5w8m517cfbi5lc30g8127ss92d2ycs-rakudo-2018.12/share/perl6 not writeable in block <unit> at tools/build/install-core-dist.p6 line 28
and here is what is in install-core-dist.p6
$*REPO.install( Distribution::Hash.new( { name => "CORE", auth => "perl", ver => $*PERL.version.Str, provides => %provides, }, prefix => $*CWD, ), :force,); 01:31
01:31 zacts left
eno for some reason $*REPO.install says the dir is not writable when it is running as root 01:32
btw, this is coming from the Makefile in the rakudo repo
line 641 01:33
Xliff eno: Can you check the permissions on those directories? 01:34
Worst comes to worse, you can make them world-writable and see if that fixes the error. 01:35
Home is there any way to run perl6 on windows 10 and get the libraries that need gmake, like cro?
eno ls -la /gnu/store/qp5w8m517cfbi5lc30g8127ss92d2ycs-rakudo-2018.12/share/total 16drwxr-xr-x 4 guixbuilder1 guixbuild 4096 Jan 17 18:13 .drwxr-xr-x 4 guixbuilder1 guixbuild 4096 Jan 17 18:13 ..drwxr-xr-x 3 guixbuilder1 guixbuild 4096 Jan 17 18:13 nqpdrwxr-xr-x 12 guixbuilder1 guixbuild 4096 Jan 17 18:13 perl6 01:36
thats messy
drwxr-xr-x 12 guixbuilder1 guixbuild 4096 Jan 17 18:13 perl6
guixbuilder is running the build 01:37
all the other perl install commands work except for the $*REPO.install
I'm not that familiar with the perl6 module system so I'm kinda stuck 01:38
"Worst comes to worse, you can make them world-writable and see if that fixes the error." this is an automated build script so it's hard to make changes in the middle of the make install process 01:40
does anybody know how $*REPO.install works and the types of permissions it needs? The Makefile shouldn't be failing 01:48
even if i run the command manually as root it still gives me a permission error 01:49
01:50 _isomorp1ismes joined 01:51 pochi_ joined, p6bannerbot sets mode: +v _isomorp1ismes, p6bannerbot sets mode: +v pochi_ 01:52 john_parr_ joined 01:53 p6bannerbot sets mode: +v john_parr_, jargan joined, aindilis` joined 01:54 p6bannerbot sets mode: +v jargan, p6bannerbot sets mode: +v aindilis` 01:55 aeruder_ joined, sca_ joined, titsuki_ joined, oftl_ joined, p6bannerbot sets mode: +v aeruder_ 01:56 p6bannerbot sets mode: +v sca_, p6bannerbot sets mode: +v titsuki_, p6bannerbot sets mode: +v oftl_
lookatme_q Home, you can install rakudo-star on win10 or run Perl 6 under bash-on-win10 01:57
I don't know cro need gmake
01:59 irdr_ joined 02:00 p6bannerbot sets mode: +v irdr_, _isomorphismes left, irdr left, Manifest0 left, timotimo left, TreyHarris left, oftl left, jast left, powerbit left, leah2 left, aeruder left, marcusr left, titsuki left, aindilis left, APic left, pochi left, john_parr left, sca left, llfourn left, silug left, john_parr_ is now known as john_parr, jargan is now known as jast
Home i can't seem to be able to get open ports on my wifi lan using ubuntu on windows 02:00
02:00 Manifest0 joined 02:01 p6bannerbot sets mode: +v Manifest0 02:04 llfourn joined 02:05 p6bannerbot sets mode: +v llfourn 02:06 marcusr joined, TreyHarris joined, p6bannerbot sets mode: +v TreyHarris, marcusr left, marcusr joined, p6bannerbot sets mode: +v marcusr 02:07 p6bannerbot sets mode: +v marcusr, APic joined 02:08 timotimo joined, p6bannerbot sets mode: +v timotimo, lizmat left, p6bannerbot sets mode: +v APic 02:09 leah2 joined, eno left 02:10 p6bannerbot sets mode: +v leah2, hph^ left 02:12 ufobat left 02:14 aindilis` left 02:15 aindilis joined 02:16 p6bannerbot sets mode: +v aindilis, Home left, silug joined 02:17 w_richard_w left, p6bannerbot sets mode: +v silug, zachk joined 02:18 p6bannerbot sets mode: +v zachk 02:35 zachk left 02:36 zachk joined 02:37 zachk left, zachk joined, p6bannerbot sets mode: +v zachk 02:43 molaf left
cpan-p6 New module released to CPAN! OO-Plugin (v0.0.5) by 03VRURG 02:54
02:56 molaf joined 02:57 p6bannerbot sets mode: +v molaf 03:04 lizmat joined, p6bannerbot sets mode: +v lizmat, zachk left 03:13 ferreira left 03:27 _isomorp1ismes left 03:44 squashable6 left 03:48 squashable6 joined, ChanServ sets mode: +v squashable6 03:49 eno joined, p6bannerbot sets mode: +v eno, p6bannerbot sets mode: +v squashable6 03:50 Khisanth left 03:51 ferreira joined 03:52 p6bannerbot sets mode: +v ferreira 04:01 eno left 04:06 zacts joined, p6bannerbot sets mode: +v zacts 04:08 Khisanth joined 04:09 p6bannerbot sets mode: +v Khisanth, molaf left 04:14 Cabanoss- left, Cabanossi joined 04:15 p6bannerbot sets mode: +v Cabanossi 04:45 sauvin joined, p6bannerbot sets mode: +v sauvin
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :&bla!) {say 42}; class :: { has $.a is bla{;} } # why this does work 04:52
camelia 42
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :&bla!) {say 42}; role :: { has $.a is bla{;} } # but this doesn't?
camelia ===SORRY!===
Cannot invoke this object (REPR: Null; VMNull)
SmokeMachine bisect: multi trait_mod:<is>(Attribute $attr, :&bla!) {say 42}; role :: { has $.a is bla{;} } 04:53
bisectable6 SmokeMachine, Bisecting by output (old=2015.12 new=f71ca0d) because on both starting points the exit code is 1
SmokeMachine bisect: old=2018.10 multi trait_mod:<is>(Attribute $attr, :&bla!) {say 42}; role :: { has $.a is bla{;} } 04:54
bisectable6 SmokeMachine, bisect log: gist.github.com/91d19ecd213945bc5c...692136255d
SmokeMachine, (2016-05-12) github.com/rakudo/rakudo/commit/33...d4efe221de
SmokeMachine, On both starting points (old=2018.10 new=f71ca0d) the exit code is 1 and the output is identical as well
SmokeMachine, Output on both points: «===SORRY!===␤Cannot invoke this object (REPR: Null; VMNull)␤»
SmokeMachine bisect: old=2018.01 multi trait_mod:<is>(Attribute $attr, :&bla!) {say 42}; role :: { has $.a is bla{;} }
bisectable6 SmokeMachine, On both starting points (old=2018.01 new=f71ca0d) the exit code is 1 and the output is identical as well
SmokeMachine, Output on both points: «===SORRY!===␤Cannot invoke this object (REPR: Null; VMNull)␤»
05:00 xiaoyafeng joined, p6bannerbot sets mode: +v xiaoyafeng
SmokeMachine bisect: old=2017.01 multi trait_mod:<is>(Attribute $attr, :&bla!) {say 42}; role :: { has $.a is bla{;} } 05:00
bisectable6 SmokeMachine, Bisecting by output (old=2017.01 new=f71ca0d) because on both starting points the exit code is 1
SmokeMachine, bisect log: gist.github.com/e416c828abff34e609...8a10e40da3
SmokeMachine, (2018-01-10) github.com/rakudo/rakudo/commit/77...13599da053
05:10 molaf joined 05:11 p6bannerbot sets mode: +v molaf 05:15 molaf left 05:26 atta left 05:27 Brynn left 05:29 holyghost joined 05:30 p6bannerbot sets mode: +v holyghost 05:42 Tush_r joined, p6bannerbot sets mode: +v Tush_r 05:43 Tush_r left 05:48 atta joined 05:49 p6bannerbot sets mode: +v atta 05:58 _isomorphismes joined, p6bannerbot sets mode: +v _isomorphismes 06:01 robertle left 06:04 curan joined, p6bannerbot sets mode: +v curan 06:11 abraxxa joined 06:12 p6bannerbot sets mode: +v abraxxa 06:13 atta left 06:15 abraxxa left 06:24 atta joined 06:25 p6bannerbot sets mode: +v atta 06:30 xiaoyafeng left 06:31 abraxxa joined, p6bannerbot sets mode: +v abraxxa 06:50 ncb^ joined 06:51 p6bannerbot sets mode: +v ncb^ 06:55 powerbit joined 06:56 p6bannerbot sets mode: +v powerbit 07:03 domidumont joined, p6bannerbot sets mode: +v domidumont 07:06 TeamBlast left, TeamBlast joined 07:07 p6bannerbot sets mode: +v TeamBlast 07:18 abraxxa left, abraxxa joined 07:19 abraxxa left 07:23 cgfbee joined 07:24 p6bannerbot sets mode: +v cgfbee 07:30 w17t left 07:33 jmerelo joined, p6bannerbot sets mode: +v jmerelo 07:44 cpan-p6 left 07:57 cpan-p6 joined
cpan-p6 03cpan-p6 reporting for duty! [Perl 6] 02git.tyil.nl/perl6/app-cpan-uploadnotifierbot 07:57
07:57 p6bannerbot sets mode: +v cpan-p6 08:00 _isomorphismes left 08:02 robertle joined 08:03 p6bannerbot sets mode: +v robertle 08:12 reach_satori left 08:15 cpup joined 08:16 p6bannerbot sets mode: +v cpup 08:26 rindolf joined, w17t joined, p6bannerbot sets mode: +v w17t 08:27 p6bannerbot sets mode: +v rindolf 08:35 abraxxa joined, abraxxa left 08:36 abraxxa joined, p6bannerbot sets mode: +v abraxxa 08:46 gregf_ left 09:09 rindolf left 09:13 Sgeo_ left, Sgeo_ joined 09:14 p6bannerbot sets mode: +v Sgeo_ 09:34 pecastro joined 09:35 p6bannerbot sets mode: +v pecastro 09:42 kurahaupo joined, kurahaupo left, kurahaupo joined 09:43 p6bannerbot sets mode: +v kurahaupo 09:46 Manifest0 left, Manifest0 joined
Geth doc: 1f75096d1d | (JJ Merelo)++ | doc/404.pod6
Fix format
09:47
doc: 4697053e90 | (JJ Merelo)++ | doc/Language/operators.pod6
Reindexes andthen, gets page back refs #2568
09:47 p6bannerbot sets mode: +v Manifest0 09:53 ufobat joined 09:54 p6bannerbot sets mode: +v ufobat 09:57 _isomorphismes joined, p6bannerbot sets mode: +v _isomorphismes 10:01 _isomorphismes left 10:07 zakharyas joined 10:08 p6bannerbot sets mode: +v zakharyas 10:16 rindolf joined 10:17 p6bannerbot sets mode: +v rindolf
ufobat anyone intersted in maintaining github.com/zoffixznet/perl6-Temp-Path ? 10:17
;)
robertle I actively use it, so I could look after it as well 10:19
ufobat i've having directories that dont get lost 10:20
and i think that is because of the issue number 4
is there something you need to be aware of when you use Channels in combiation with END phasers? 10:21
Some exceptions were thrown in END blocks:
X::Channel::SendOnClosed+{X::Await::Died}: Cannot send a message on a closed channel
jmerelo clickbaits github.com/perl6/doc/issues/2575 for some brainstorming on documentation organization. 10:22
ufobat i love the pink/black tags on it, jmerelo :D 10:28
jmerelo ufobat: let's see if they draw everyone's attention... 10:29
ufobat *crosses fingers*
jmerelo ufobat: I've also used the new "pinning" thing in GitHub to pin this one: github.com/perl6/doc/issues/2542 10:31
timotimo you have to be aware that an END block gets registered immediately when the parser finds it
so it'll be run even if the scope it's in was never actually called
10:33 hkdtam joined, p6bannerbot sets mode: +v hkdtam
ufobat m: sub foo($yada) { END { say "haha $yada" }}; 10:34
camelia haha
hkdtam m: say test
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
test used at line 1
ufobat timotimo, but that's not causing the issues in the Temp::Path module
10:35 ferreira left
hkdtam m: my uint32 $i = 2654435769; say $i +> 11; 10:35
camelia 1296111
hkdtam m: my uint32 $i = 2654435769; say $i +< 11;
camelia 5436284454912
jmerelo ufobat: if you are still in your module fixing and creating frenzy, could you take a look at this? github.com/perl6-community-modules/uri 10:36
ufobat am i? i am not like mohammad anwar :) 10:38
hkdtam sorry for bothering guys, should any shift result of uint32 also within uint32? 10:40
jmerelo ufobat: Manwar thing is permanent, yours seems to be time-constrained.
ufobat: anyway, you seem to have some issues (literally) there, and it's a community maintained module. That means us. 10:41
ufobat and he is the more skilled guy :-)
i am wondering that's going wrong there, the grammar is not matching
youre talking about your issue that you've craeted there recently, jmerelo?
is it a "released" version or is it HEAD? 10:42
jmerelo ufobat: well, that's one
jnthn hkdtam: Calculations are done at full width, the size is about the storage
jmerelo ufobat: but there are issues dating back to 2015
ufobat the hacktoberfest issues, yeah :) 10:43
hkdtam jnthn: oh thx a lot 10:44
jmerelo ufobat: anyway, if you've got the time, please take a look. I'll keep it in my own backlog (which includes lots of pink-and-black labeled issues in /doc) anyway 10:45
ufobat I'll write it down on my list as well. So far i just send PR to stuff that i was using and didnt work as i wanted it. 10:46
jmerelo ufobat: this URI thing is pretty down the food chain in the ecosystem. It's bound to come up sooner or later. The doc builds, since they happen several times a day, are kind of a canary for the modules it's using, because it's also using HEAD in Rakudo. 10:49
ufobat your issue is just with HEAD? 10:51
timotimo DBDish::SQLite: Error: not an error (17)
what fun!
jmerelo ufobat: not sure. Might be. 10:52
ufobat: it's not been failing so far, so it's likely it is. 10:53
ufobat i dont know (yet) how to have multiple perl6 installations on windows
any advice?
jmerelo ufobat: rakudobrew does not work? Or p6env? 10:54
ufobat: I mean, about HEAD, yep, that issue is with HEAD, since that's the binary we use, but the error that produces it need not have been introduced in the last commit.
ufobat i am not sure, i think rakudobrew does not work because the PATHs need to be fixed in the configuration gui of windows, no?
i wasn't aware of p6env 10:55
jmerelo ufobat: No idea. I've been Windows-free since circa 2003.
ufobat likewise :-)
11:03 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh, jmerelo left, p6bannerbot sets mode: +v aborazmeh 11:05 holyghost left 11:06 domidumont left 11:13 aborazmeh left 11:19 ferreira joined 11:20 p6bannerbot sets mode: +v ferreira
El_Che hello 11:35
11:38 ferreira1 joined 11:39 p6bannerbot sets mode: +v ferreira1 11:42 ferreira left 11:58 _isomorphismes joined 11:59 p6bannerbot sets mode: +v _isomorphismes 12:02 _isomorphismes left, robertle left 12:04 robertle joined 12:05 p6bannerbot sets mode: +v robertle 12:13 Manifest0 left, Manifest0 joined 12:14 p6bannerbot sets mode: +v Manifest0
ufobat ähhhh 12:23
help
$ prove6 --version does return 0.0.6 for me 12:24
the current version should return 0.0.3, and thats the case for 1 year now
moritz it seems that you have a new version installed than was released? 12:25
ufobat i did install it with zef! 12:27
there is a TAP.0.0.6 in my .zef/ directory
0.0.6 is released on cpan
moritz then why do you say it should return 0.0.3? 12:28
ufobat becase it is either not leont's module or it is on cpan by accident
github.com/perl6/tap-harness6/blob...prove6#L67 <- that file has not been modified since 1 year 12:29
the current version of the module is 0.0.4
zef search TAP::Harness shows 0.0.6 on cpan
and the cpan version (0.0.6) does "test" a file named t/whatever.txt instead of only *.t files 12:30
thats the reason why perl6-community-modules/uri fails
it "tests" this github.com/perl6-community-modules...pected.txt
modules.perl6.org/dist/TAP:cpan:LEONT <- thats the 0.0.6 12:32
moritz but that's TAP, not TAP::Harness 12:33
ufobat but if you click on the github-repo button you're on tap-harness6. 12:35
it's the same code, it's just in a different state 12:36
moritz ah, confusing :/ 12:37
ufobat and there is the bug that jjmerelo was getting on uri -> modules.perl6.org/dist/TAP:cpan:LE...prove6#L11
12:38 robertle left 12:44 dogbert2_ joined 12:45 p6bannerbot sets mode: +v dogbert2_ 12:46 domidumont joined 12:47 hkdtam left, p6bannerbot sets mode: +v domidumont 13:02 sena_kun joined 13:03 p6bannerbot sets mode: +v sena_kun 13:12 robertle joined, pmurias joined, p6bannerbot sets mode: +v pmurias, p6bannerbot sets mode: +v robertle
pmurias what could be causing a Outdated precompiled /home/pmurias/moar_rakudo/t/spec/packages/Test-Helpers/.precomp/8221AEFE989BB8956A38ABE33E1A337F9AA3DE2D/pr/precompiled_test error? 13:12
I have removed rm -fr that .precomp dir before the run 13:13
I'm using github.com/rakudo/rakudo/blob/mast...pileandrun
./perl6-m -I t/spec/packages/Test-Helpers/ t/precompileandrun use_test 13:14
where use_test contains a 'use Test'
13:28 abraxxa left 13:36 leont joined 13:37 p6bannerbot sets mode: +v leont, ferreira joined 13:38 ferreira1 left, p6bannerbot sets mode: +v ferreira 13:44 kurahaupo left, kurahaupo joined, gueston joined, p6bannerbot sets mode: +v gueston 13:45 p6bannerbot sets mode: +v kurahaupo 13:47 gueston left 14:05 zakharyas left
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :&bla!) {say bla}; my &a = {42}; role :: { has $.a is bla(&a) } 14:05
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot invoke this object (REPR: Uninstantiable; Callable)
at <tmp>:1
14:05 pmurias left
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :&bla!) {say &bla; say bla}; my &a = {42}; role :: { has $.a is bla(&a) } 14:06
camelia (Callable)
5===SORRY!5=== Error while compiling <tmp>
Cannot invoke this object (REPR: Uninstantiable; Callable)
at <tmp>:1
14:09 pmurias joined, p6bannerbot sets mode: +v pmurias
pmurias is not supporting useing modules in EVAL in the browser reasonable for rakudo.js? 14:27
Geth doc: 3156a67649 | (Elizabeth Mattijsen)++ | 2 files
Document parameterization of Mix/MixHash
14:28
doc: cb7af52c9f | (Elizabeth Mattijsen)++ | doc/Language/packages.pod6
Contextual variables are a thing of the past

They're called dynamic variables now. See:
   colabti.org/irclogger/irclogger_lo...01-17#l325
14:43 andrzejku left 14:54 kudzo joined
kudzo Hello perl community. so I found github thread where github.com/perl6/user-experience/issues/33 14:55
perl community became too toxic with all this sjw shit. 14:57
my question now is If you need to move from perl to another language what whould U choose?
El_Che kudzo: yes, please do 14:58
kudzo: choose whatever you like
kudzo most priorities are fast-development, containerable 14:59
jnthn Choose a language with as few users as possible. Then you won't have any community to worry about. :)
eseyman I don't know of any language that has avoided "all this sjw shit" 15:00
huf sumerian?
eseyman plus that specific issue has more or less resolved itself 15:01
so there is nothing to complain about
kudzo: give perl6 a try :-)
kudzo eseyman, yes but we lost good man because of this issue. And perl6 has chance to become dead faster than become popular. 15:02
15:02 kurahaupo left, kurahaupo joined
pmurias kudzo: how was the renaming drama sjw related? 15:03
15:03 p6bannerbot sets mode: +v kurahaupo
El_Che kudzo: I would try Java if I was you. Oracle is still evil, so no chance of whatever Illuminati plot or whatever 15:04
kudzo El_Che, yes. I looking forward kotlin nice lang and U can express your self easily like in perl. 15:05
eseyman pmurias: from experience, sjw doesn't mean anything anymore
El_Che See you have world of choices, and if they ever get women programmers in that language, you can move on
tyil El_Che: "sjw bullshit" and "women programmers" existing are two entirely different subjects 15:06
you're not helping anyone by acting like those are the same thing 15:07
El_Che people that use sjw are stupid in my book, same page as people that feel uneasy with women or gay people
so, whenever I see SJW used in a sentences my bullshit alarm goes on
tyil so you have to limit your way of thinking too, and make silly arguments that are in no way beneficial? 15:08
15:08 sena_kun left
El_Che getting read of people that are stupid enough to use the term SJW? A great day 15:08
rid
tyil people who dislike the "sjw culture" are in no way related to people who feel uneasy with women or gay people 15:09
El_Che "sjw culture"
lol
jnthn This isn't on-topic here.
tyil jnthn: good point
this isn't going anywhere anyway
El_Che nope
someone wants to leave because of SJW? sure, go ahead
my 2c
kudzo El_Che, sorry that I triggered U(; 15:10
El_Che, The main reason I want to leave language because I dont feel its safe for bussines. 15:11
El_Che Zoffix leaving has nothing to do with SJW
kudzo El_Che, but because of what? can u explain please ? 15:12
tyil kudzo: Zoffix left because he no longer had fun working on Perl 6, "I think I need to take a long look at my life and re-evaluate what is in it that actually makes me happy." 15:13
El_Che kudzo: I don't want to reopen the discussion (most of it can be read on the channels logs), but I'll just say there is nothing that can be labelled as SJW (despite on how stupid that label is). 15:14
tyil I do think this could've been avoided, but it already happened, and I'm not a great mediator in any case anyway :'D
El_Che for the record, I sympathized and voiced my support for Zoffix's efforts (e.g. the renaming/alias thing)
and with that, I'll refrain from comments 15:15
pmurias kudzo: the github thread was caused by drama in regards to aliasing/renaming Perl 6 to Raku and not as as far as I know any SJW activity
kudzo ok why ribasushi left community? 15:16
El_Che ribasushi was never in the Perl 6 community (that I know of)
he's mostly focused on Perl 5 15:17
kudzo I just think perl5 and 6 communities are almost all the same people
El_Che No, it's not the case
tyil there's overlap, but they're not all the same
El_Che Zoffix was only part of perl 6 the last years, riba only of perl 5 15:18
tyil conversely, there's also a subset that hates the other with a passion
15:18 w17t left
El_Che also, in the case of ribasushi, it's wasn't anything "SJW", he's concerned about perl5 and p5p. He's on the channel, so you can check with him :) 15:19
masak kudzo: you seem to have fallen in with the wrong kind of people, based on your usage of both "sjw" and "trigger" in the past brief exchanges. 15:20
kudzo: out of curiosity, does it make sense to you to describe "social justice warrior" as a derogatory term?
do you feel there's too much of a focus on social justice nowadays? :) 15:21
pmurias please don't make sjw support an official stance of the channel :(
El_Che We have people here from different backgrounds (including gay and trans people) and they need to be treated with respect like everyone else. There is nothing SJW about that. If that's an issue, I think we're missing common ground here.
tyil pmurias++
kudzo as for ribasushi I read this twitter.com/ribasushi/status/945637302402998273
El_Che there is no abuse on this channel and no people policing everyone words. So, using SJW in this context is really investing problems that we luckily don't have 15:23
eseyman inappropriate language, fact-free and insulting; yup, that's by ribasushi
kudzo El_Che, thanks for explanations. I like to take information from first hands not from gossip 15:24
El_Che contact Zoffix if you feel you need more details
and again ribasushi's conflict is pretty centered on p5p 15:25
b2gills I think this conversation is running afoul of the culture we want to have: raw.githubusercontent.com/perl6/sp...draft.pod6
masak the founding member of this channel is transgender, and has transitioned. I always admired how this community embraces people of different backgrounds.
tyil I had too, until they started censoring talks at the conference 15:26
kudzo El_Che, but all this shit happening in both communities past years makes our company very nervous. We considered to move to perl6 from p5 before january.
tyil there's a difference between being respectful to people, and trying to constantly play a victim and have the world change to your wishes 15:27
masak b2gills: as much as I don't disagree with anything in particular in that document, I no longer believe "be reasonable" (its thesis) is enough as a community guideline.
tyil the first is being a decent human being, the second is being an sjw
b2gills The person who was "censored" agreed that they shouldn't have said the things they said.
kudzo tyil, ++
tyil convincing the person of some insane ideology doesn't mean that ideology is correct now, b2gills
El_Che kudzo: I don't know what you're referring to. Communities and not project direction? 15:28
eseyman kudzo: these things happen in all programming communities (and I could remove the word programming here)
tyil it's also very hard to judge anyway, since nobody is willing to give *any* details on what actually happened
or what was said that was inappropriate, or how many people complained
El_Che Besides the naming discussion that returns every six months, I haven't seen much drama inside the perl 6 community
tyil I do agree with El_Che, the Perl 6 community seems remarkably stable and friendly 15:29
15:29 curan left, pmurias left
tyil but I do hope we can keep it this way, and last year's TPC really made me doubt that for the first time 15:29
15:30 pmurias joined, p6bannerbot sets mode: +v pmurias
El_Che tyil: my last one was 2016, I missed the episode you're referring to 15:30
b2gills tyil: So then as far as you know it could have been the most hateful words to ever come out of anyone's mouth. My guess is the person said something that they didn't realize could be hurtful, and once they found that out they didn't want to be associated with those words anymore. 15:32
pmurias masak: I'm all for embarcing everyone in the community (regardless of their background or whatever horrible right wing or left wings view they hold privately as I don't see how that's relevant towards writing Perl 6 code), I just don't want to have an official ideology
tyil I don't think this channel is the place for that discussion, b2gills
so I'm not going to respond to it 15:33
15:33 zacts left, pmurias left
b2gills I am stopping myself from saying what I think at this moment. 15:35
tyil so did I
15:35 pmurias joined, p6bannerbot sets mode: +v pmurias
tyil now peace can return and Perl 6 itself can be the topic of the channel again 15:35
15:36 smallick joined 15:37 p6bannerbot sets mode: +v smallick
El_Che the only thing I know I mdk's post and haven't heard anything about it afterwards, so it does not look like something with lots of consecuences 15:37
but indeed, afk
15:40 lizmat left
tadzik oh my www.nntp.perl.org/group/perl.perl5...48440.html 15:43
leont++
15:43 smallick left
pmurias kudzo: if you want a language that is safe to invest in wouldn't picking something that's decent but focusing on it having a *giant* community like say python be a safe choice? 15:44
kudzo Ok! Sorry ppl for disturbing you on all by this questions(: I just needed to fix the information that I got from gossips.
El_Che kudzo: the discussion is no problem, but be careful with the approach (like I demonstrated, SJW labels are not appreciated). 15:45
kudzo El_Che, ty (;
El_Che I would have been less sarcastic if I'd known your reasons were not meant as trolling 15:46
kudzo pmurias, python is one of the candidates but not preferable.
El_Che so excuses for that
kudzo As for perl6 I think we will give it a try
we all here are perl5 fans so perl6 is our candidate n1 15:47
El_Che, I am from generation that born inside trolling communities. And good sarcasm sometimes can explain much more better than trying to be polite. So nevermind (; 15:49
pmurias tadzik: we currently don't have no language design process for Perl 6 either :( 15:51
El_Che This community has been remarkable troll free, so keen on keeping it that way
kudzo of course 15:54
15:56 smallick joined
tadzik pmurias: True. There used to be one though, at least theoretically :) 15:56
synopses and all that
15:57 p6bannerbot sets mode: +v smallick, molaf joined
kudzo Lets get back to perl6 (% Did someone has in mind idea of implementing gcc abi for nativecall. Or its too difficult to implement. 15:57
15:58 p6bannerbot sets mode: +v molaf
smallick how to create a cached function 15:58
hahainternet smallick: perhaps github.com/lizmat/Memoize ? 15:59
i thought there was a memoization trait(role?) but i might have been mistaken 16:00
smallick is there a pure perl6 way
b2gills m: use experimental :cached; sub fib (UInt $_) is cached { when 0|1 {1}; fib($_-1)+fib($_-2) }; say fib 20 16:01
camelia 10946
hahainternet smallick: that module is Perl 6 100% according to GH :)
b2gills There are some design changes that need to happen to `is cached`, and that is why it is experimental 16:02
smallick thanks
m: my Mu $m; say $m ~~ Mu:U 16:06
camelia True
pmurias tadzik: yes, but I feel nowadays if you have a commit bit you can add something and unless it's obviously horrible it will stay :*
s/:*/:(/
tadzik pmurias: yeah, I'm sure I did that a couple of times... ;P 16:07
smallick m: my Block $b = * ** *; say $b(2, 3); 16:12
camelia Type check failed in assignment to $b; expected Block but got WhateverCode ({ ... })
in block <unit> at <tmp> line 1
smallick m: say (* ** *)(2, 3); 16:13
camelia 8
smallick m: say (****)(3, 4); 16:14
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing required term after infix
at <tmp>:1
------> 3say (****7⏏5)(3, 4);
expecting any of:
prefix
term
smallick hmm 16:15
m: say [*] (1..5).map({ $_ ** $_ }); 16:20
camelia 86400000
smallick m: say [*] (({ $_ Z** $_ })(1..5)); 16:22
camelia 86400000
b2gills smallick: There are * lambdas and there are ** lambdas 16:23
m: say (** + 10)(1,2,3,4)
camelia (11 12 13 14)
smallick another example, please 16:25
b2gills `****` is seen as `** **` where the first ** is the placeholder and the second is the exponentiation operator.
16:27 Manifest0 left
b2gills * lambdas work on one bit of data, ** works on multiple bits of data 16:27
16:28 Manifest0 joined, p6bannerbot sets mode: +v Manifest0
b2gills m: my &code = *.map(* + 10); say code List(1,2,3,4) 16:28
camelia (11 12 13 14)
b2gills m: my &code = ** + 10; say code List(1,2,3,4) 16:29
camelia (11 12 13 14)
16:29 melezhik joined, p6bannerbot sets mode: +v melezhik, domidumont left
El_Che weekly: www.reddit.com/r/perl6/comments/ah..._to_perl6/ 16:30
notable6 El_Che, Noted!
16:30 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 16:31 robertle left 16:33 jme` left
pmurias nnnn 16:34
sorry
smallick m: say (*,*)(3)
camelia Invocant of method 'CALL-ME' must be a type object of type 'List', not an object instance of type 'List'. Did you forget a 'multi'?
in block <unit> at <tmp> line 1
16:35 kurahaupo left, kurahaupo joined
smallick m: say ({ $_, $_ })(1..5) 16:35
camelia (1..5 1..5)
b2gills m: my & = (*,*)
camelia Type check failed in assignment to &; expected Callable but got List ($(*, *))
in block <unit> at <tmp> line 1
b2gills There is also the Whatever star *
16:36 p6bannerbot sets mode: +v kurahaupo
b2gills m: say (1,2,3,4,5).pick(*); # pick Whatever 16:36
camelia (2 1 3 4 5)
b2gills m: say (1,2,3,4,5).pick(Whatever);
camelia (4 2 5 1 3)
b2gills If the Whatever star * is used with operators with a higher precedence than the comma operator they get combined into a lambda 16:37
smallick how can a thing doubled like (val ===> (val, val)) 16:38
b2gills m: say 5 xx 2
camelia (5 5)
b2gills m: say 1..5 xx 2
camelia Seq objects are not valid endpoints for Ranges
in block <unit> at <tmp> line 1
b2gills m: say (1..5) xx 2 16:39
camelia (1..5 1..5)
b2gills Note that xx also doesn't cooperate with Whatever lambdas 16:40
smallick m: say [*] ([Z**] ((1..5) xx 2))
camelia 86400000
moritz m: say (1..5) Xxx2
camelia 5===SORRY!5===
Argument to "say" seems to be malformed
at <tmp>:1
------> 3say7⏏5 (1..5) Xxx2
Bogus statement
at <tmp>:1
------> 3say (1..5) X7⏏5xx2
expecting any of:
whitespace
Other potential difficultie…
moritz m: say (1..5) Xxx 2
camelia ((1 1) (2 2) (3 3) (4 4) (5 5))
moritz m: say (1..5) >>xx>> 2 16:41
camelia ((1 1) (2 2) (3 3) (4 4) (5 5))
b2gills m: say (1..5) Zxx (1..5).reverse
camelia ((1 1 1 1 1) (2 2 2 2) (3 3 3) (4 4) (5))
smallick m: (say o sqrt)(5) 16:43
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of bare "sqrt"; in Perl 6 please use .sqrt if you meant to call it as a method on $_, or use an explicit invocant or argument, or use &sqrt to refer to the function as a noun
at <tmp>:…
smallick function as a noun?
16:45 ferreira1 joined
smallick m: constant I = {$_}; say (I o I o I o I o I)(0) 16:45
camelia 0
moritz m: (&say o &sqrt)(5)
camelia 2.23606797749979
16:45 p6bannerbot sets mode: +v ferreira1 16:47 ferreira left
smallick m: sub infix:<pm> (Numeric $l, Numeric $r) { $l + $r, $l - $r } ; say ((1 pm 5.sqrt) »/» 2) 16:49
camelia (1.618033988749895 -0.6180339887498949)
16:49 MikeyG joined 16:50 p6bannerbot sets mode: +v MikeyG
smallick m: multi sin (pi) { 0 } ; say pi.sin 16:53
camelia 1.2246467991473532e-16
smallick m: pi.sin = 0 ; say pi.sin
camelia Cannot modify an immutable Num (1.2246467991473532e-16)
in block <unit> at <tmp> line 1
16:54 Sgeo__ joined
smallick m: pi.&sin = {0}; say pi.sin 16:54
camelia Cannot modify an immutable Num (1.2246467991473532e-16)
in block <unit> at <tmp> line 1
16:55 p6bannerbot sets mode: +v Sgeo__
smallick m: say pi.sin =~= 0 16:55
camelia True
b2gills m: multi sin (pi) { 0 } ; say sin pi 16:56
camelia 0
b2gills m: multi sin (pi) { 0 } ; say pi.&sin
camelia 0
16:57 Sgeo_ left
b2gills m: sub foo ( UInt ){ 42 }; say &foo.signature; my $c = &foo; say $c(2) 16:58
camelia (Int $ where { ... })
42
16:59 Sgeo__ left
smallick how can force sin so sin 0, 180, 360, ... are 0 16:59
m: say 90° 17:00
camelia 5===SORRY!5=== Error while compiling <tmp>
Bogus postfix
at <tmp>:1
------> 3say 907⏏5°
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
s…
smallick m: sub postfix:<°> { pi * ($_ / 180) } ; say 90° 17:02
camelia 5===SORRY!5=== Error while compiling <tmp>
Calling postfix:<°>(Int) will never work with declared signature ()
at <tmp>:1
------> 3postfix:<°> { pi * ($_ / 180) } ; say 907⏏5°
smallick m: sub postfix:<°> (Numeric $n) { pi * ($n / 180) } ; say 90° 17:03
camelia 1.5707963267948966
17:06 kurahaupo left
smallick m: multi sin (Numeric $n where $n %% pi) { 0 } ; say 0.&sin, pi.&sin 17:06
camelia 00
smallick it is better than 17:07
m: say 0.sin
camelia 0
smallick m: say pi.sin
camelia 1.2246467991473532e-16
smallick m: say (pi/4).tan 17:09
camelia 0.9999999999999999
smallick ha!
17:10 smallick left 17:18 molaf left, kensanata joined, p6bannerbot sets mode: +v kensanata 17:25 melezhik left
ufobat typo of the day: $pain-text 17:30
17:33 dct joined, p6bannerbot sets mode: +v dct 17:34 domidumont joined 17:35 p6bannerbot sets mode: +v domidumont 17:36 lizmat joined, p6bannerbot sets mode: +v lizmat 17:46 Brilpikk3wyn joined, p6bannerbot sets mode: +v Brilpikk3wyn, Brilpikk3wyn is now known as Pikk3wyn
Geth perl6-examples: e4e524f7e0 | (David Warring)++ | .travis.yml
bump CI Rakudo baseline a little more for deps
17:48
17:50 reach_satori joined 17:51 p6bannerbot sets mode: +v reach_satori 18:05 Manifest0 left 18:06 Manifest0 joined, p6bannerbot sets mode: +v Manifest0 18:19 robertle joined, p6bannerbot sets mode: +v robertle 18:24 dct left 18:25 sauvin left 18:35 leont left
cpan-p6 New module released to CPAN! DB-MySQL (0.1) by 03CTILMES 18:40
New module released to CPAN! DB-SQLite (0.1) by 03CTILMES
New module released to CPAN! DB (0.1) by 03CTILMES
New module released to CPAN! Font-FreeType (0.1.3) by 03WARRINGD
18:48 [Coke] left, [Coke] joined, [Coke] left, [Coke] joined, p6bannerbot sets mode: +v [Coke], [Coke] left 18:57 HaraldJoerg joined 18:58 p6bannerbot sets mode: +v HaraldJoerg 19:03 jmerelo joined, p6bannerbot sets mode: +v jmerelo 19:33 kurahaupo joined 19:34 p6bannerbot sets mode: +v kurahaupo 19:53 melezhik joined, p6bannerbot sets mode: +v melezhik
melezhik hi! any does any perl6 module exist to merge 2 hashes? 19:53
similar to metacpan.org/pod/Hash::Merge 19:54
I found something - modules.perl6.org/dist/Hash::Merge:cpan:TYIL 19:55
looks like what I need?
jmerelo melezhik: Might be. And tyil is around here sometimes, you might ask him. 19:57
melezhik sure
will try this module and let see
jmerelo melezhik: good luck! 20:01
20:08 dct joined, p6bannerbot sets mode: +v dct
Kaiepi how do i force a test to fail? 20:09
tyil melezhik: yes, Hash::Merge allows one to deeply merge 2 hashes into one new hash 20:18
melezhik tyil: thanks 20:21
I am trying it ... get this error: Cannot assign to an immutable value 20:22
merge-hash $.parameters, $plugin-config;
I wonder what hash-merge try to assign?
Kaiepi i guess i could just use die 20:23
but it'd be nice if there was an equivalent to pass but for failing a test
melezhik my $plugin-config = load-yaml(slurp "{$.root}/suite.yaml"); # $.parameters is Class data; 20:24
20:24 domidumont left, kurahaupo_ joined 20:25 p6bannerbot sets mode: +v kurahaupo_, dct left, AlexDaniel left 20:26 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel 20:27 kurahaupo left
melezhik that one works though - perl6 -MHash::Merge -e 'my %h = %( foo => 1); my %h1 = %( bar => 100 ); say merge-hash(%h,%h1).perl' 20:28
for some reasons does not work with my class data ((: 20:29
20:29 Pikk3wyn left
lizmat weekly: groups.google.com/forum/#!topic/sp...FFdJOLb9oQ 20:31
notable6 lizmat, Noted!
melezhik How do I make class field mutable? 20:33
lizmat melezhik: what is a class field ? do you mean attribute ? 20:35
melezhik yes
lizmat has $.a is rw
m: class A { has $.foo is rw }; my $a = A.new; $a.foo = 42; dd $a
camelia A $a = A.new(foo => 42)
20:36 zakharyas joined, ufobat left
melezhik how do I access inside class? via $.foo ? 20:36
20:36 p6bannerbot sets mode: +v zakharyas
lizmat $.foo will use the accessor, so handles subclassing correctly 20:37
$!foo is direct access to the attribute, without regards to subclassing
$.foo is syntactic sugar for self.foo
timotimo self.foo.item
^- this sometimes catches people off guard 20:38
lizmat timotimo: good point :-)
although... eh... why ?
because of the sigil ?
timotimo yeah
lizmat wouldn't that already be an item *without* the .item ?
melezhik Cannot assign to a readonly variable or a value 20:39
timotimo yes
20:39 jmerelo left
timotimo i meant that $.foo is equivalent to self.foo.item 20:39
melezhik $.task-config = %( foo => 100 );
class Runner { has Hash $.task-config is rw }
timotimo having it be "is rw" means that you can assign new stuff to the attribute itself 20:40
melezhik which I do
timotimo OK
melezhik through $.task-config = %( foo => 100 );
timotimo right 20:41
melezhik and it throws Cannot assign to a readonly variable or a value
timotimo can you golf that?
lizmat m: class A { has Hash $.b is rw }; my $a = A.new; $a.b = %( a => 42 ); dd $a
camelia A $a = A.new(b => ${:a(42)})
melezhik yes
not sure, why my code does not work
20:42 MasterDuke left
melezhik perl6 -MSparrow6 -e 'Sparrow6::Runner.new( root => "/home/melezhik/sparrow/plugins/public/templater/", debug => True ).task-run'; 20:42
lizmat melezhik: I assume you have a recent version of Rakudo ?
melezhik Cannot assign to a readonly variable or a value
lizmat could you gist the output with --ll-exception ? 20:43
melezhik in method task-run at /home/melezhik/.perl6/sources/58A2D16AF627CCE8CC3EBB21DDEBA29E2E38F9D9 (Sparrow6) line 37
github.com/melezhik/Sparrow6/blob/...w6.pm6#L37
lizmat: let me check
This is Rakudo version 2018.12 built on MoarVM version 2018.12
lizmat m: class A { has Hash $.b is rw; method c() { $.b = 42 } }; my $a = A.new; $a.c; dd $a # cnfirmed 20:44
camelia Cannot assign to a readonly variable or a value
in method c at <tmp> line 1
in block <unit> at <tmp> line 1
lizmat melezhik: could you make a ticket for this, I'll look at it right away 20:45
timotimo well, that's not the right error message
lizmat m: class A { has Hash $.b is rw; method c() { self.b = %( a => 42 ) } }; my $a = A.new; $a.c; dd $a # ah duh :-) 20:46
camelia A $a = A.new(b => ${:a(42)})
melezhik sure. this is gisto meanwhile - gist.github.com/melezhik/ec92611e8...a405945c21
20:46 zakharyas left
lizmat m: class A { has Hash $.b is rw; method c() { $.b = %( a => 42 ) } }; my $a = A.new; $a.c; dd $a # proper golf 20:47
camelia Cannot assign to a readonly variable or a value
in method c at <tmp> line 1
in block <unit> at <tmp> line 1
melezhik lizmat: is that what you needed?
lizmat it only appears to happen with $.foo syntax
20:47 ncb^ left
lizmat self.foo syntax appears to work, so that would be a workaround for now 20:48
melezhik lizmat: sure, understand
do you need a ticket?
lizmat yes please, so it doesn't fall through the cracks
and apparently you must limit to hashes 20:49
melezhik ok
if you remind me where to fill the ticket?
lizmat github.com/rakudo/rakudo/issues
m: class A { has %.b is rw; method c() { $.b = %( a => 42 ) } }; A.new.c # shorter golf 20:50
camelia Cannot assign to a readonly variable or a value
in method c at <tmp> line 1
in block <unit> at <tmp> line 1
lizmat bisectable6: class A { has %.b is rw; method c() { $.b = %( a => 42 ) } }; A.new.c
bisectable6 lizmat, On both starting points (old=2015.12 new=99d30be) the exit code is 1 and the output is identical as well
lizmat, Output on both points: «Cannot assign to a readonly variable or a value␤ in method c at /tmp/o3rGJPNaRh line 1␤ in block <unit> at /tmp/o3rGJPNaRh line 1␤␤»
lizmat wow, seems to have been around like forever
20:54 zachk joined
timotimo m: class A { has Hash $.b is rw; method c() { %.b = %( a => 42 ) } }; my $a = A.new; $a.c; dd $a 20:54
camelia Cannot resolve caller STORE(Hash:U: Hash:D); none of these signatures match:
(Hash:D: \to_store, *%_)
(Hash:D: \keys, \values, *%_)
in method c at <tmp> line 1
in block <unit> at <tmp> line 1
lizmat timotimoL: is nqp::p6store still a thing ?
timotimo ah, that's fun
20:54 p6bannerbot sets mode: +v zachk
timotimo not sure. could it have been replaced by a spesh plugin or something? 20:55
20:55 kensanata left
melezhik lizmat: github.com/rakudo/rakudo/issues/2622 20:58
20:58 kensanata joined, p6bannerbot sets mode: +v kensanata
melezhik tyil: self.task-config = merge-hash $plugin-config, $.parameters works for me. Thanks! ((-: 21:01
21:02 hph^ joined 21:03 p6bannerbot sets mode: +v hph^ 21:15 kensanata left
tyil melezhik: :D 21:21
21:32 zachk left, zachk joined, tolkien.freenode.net sets mode: +v zachk, p6bannerbot sets mode: +v zachk 21:38 kensanata joined, p6bannerbot sets mode: +v kensanata
AlexDaniel greppable6: \:P5 21:41
greppable6 AlexDaniel, 19 lines, 8 modules: gist.github.com/c82fe0637248f91672...1b24b266a2
21:47 hph^ left 21:55 titsuki_ left 22:06 ferreira joined 22:07 p6bannerbot sets mode: +v ferreira 22:08 ferreira1 left 22:09 synopsebot joined, ChanServ sets mode: +v synopsebot 22:10 p6bannerbot sets mode: +v synopsebot 22:11 Kaiepi left 22:12 Kaiepi joined, molaf joined, p6bannerbot sets mode: +v Kaiepi 22:13 p6bannerbot sets mode: +v molaf 22:21 reach_satori left 23:05 pmurias left 23:10 melezhik left 23:16 HaraldJoerg left, molaf left 23:19 kurahaupo_ left 23:40 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke