IRCloggy #perl6 2019-09-03

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2019-09-03

discord6 <theangryepicbanana> there don't happen to be llvm bindings for Perl 6, does there?00:05
lichtkind_ joined00:06
Seance[m] left00:23
AlexDaniel` left00:23
xliff[m] left00:23
unclechu left00:23
matiaslina left00:23
Guest55169 left00:24
aearnus[m] left00:24
sergiotarxz[m] left00:24
rba[m] left00:24
CIAvash left00:24
EuAndreh[m] left00:24
lance_w[m] left00:24
TravisRt2botio[m left00:24
Matthew[m] left00:24
BlackChaosNL[m] left00:24
uzl[m] left00:24
mack[m]1 left00:24
folex left00:24
Demos[m] left00:24
AlexDaniel` joined00:30
epony joined00:37
discord6 <RaycatWhoDat> All right, peeps. Can I get a quick glance at this toy program? It's doing three different things but, I'm trying to reduce the code all the same. Any comments or critique would be fantastic. https://gist.github.com/RayMPerry/e38337cc48e389fe15796d5642871a1900:42
EuAndreh[m] joined00:43
BlackChaosNL[m] joined00:43
lance_w[m] joined00:43
sergiotarxz[m] joined00:43
Matthew[m] joined00:43
Guest999 joined00:43
TravisRt2botio[m joined00:43
rba[m] joined00:43
unclechu joined00:44
Seance[m] joined00:44
aearnus[m] joined00:44
matiaslina joined00:44
CIAvash joined00:44
Demos[m] joined00:44
folex joined00:44
mack[m]1 joined00:44
uzl[m] joined00:44
xliff[m] joined00:44
netrino So, i've been trying out Cro and encountered a problem. The SPA framework i'm using in dev-mode produces symlinks to output directory instead of copying actual files and when i try to serve those with cro's static router such as get -> @*path { static 'frontend/dist', @path } it refuses with 403. Now, i've been looking into this issue and it seems that's because IO::Path::ChildSecure expands the symlinks and00:56
then checks if this is indeed a child path. Naturally, expanded path isn't, so it returns 403. Currenly, i'm using workaround doing a join of @path.join('/') and appending that to base, so `static' doesn't have to construct the path on its own, but i wonder, what are security issues that ChildSecure tries to prevent in this case? Will my workaround be dangerous in this case? Should `static' somehow vet that00:56
base also doesn't follow symlinks, or maybe vice versa, it sholdn't follow symlinks at all and allow them, so it wouldn't be 403?00:56
Sorry for so much text :D00:56
RaycanWhoDat i'm not an expert, but from a quick glance, while loop in your sample will only execute its body once, cause reduce will do the looping over @numbers. Also, you can use a short form $whileSum = [+] @numbers01:04
RaycatWhoDat*01:04
RaycatWhoDat: and also, fibonacci sequence can be expressed as 1, 1, * + * ... *01:05
m: my @fibs = 1, 1, * + * ... *; say @fibs[^10]01:06
evalable6 netrino, rakudo-moar b380fd207: OUTPUT: «(1 1 2 3 5 8 13 21 34 55)␤»01:06
discord6 <theangryepicbanana> so no one answered me?01:06
<theangryepicbanana> ok ik what I'm doing tomorrow01:06
molaf left01:10
aborazmeh joined01:13
aborazmeh left01:13
aborazmeh joined01:13
molaf joined01:23
netrino left01:26
Cabanossi left01:36
jaldhar joined01:42
Cabanossi joined01:47
Manifest0 left02:04
Manifest0 joined02:04
discord6 <Aearnus> @theangryepicbanana what did you ask?02:07
jaldhar_ joined02:19
jaldhar left02:20
jaldhar_ left02:20
jaldhar_ joined02:21
discord6 <RaycatWhoDat> Why does 1, 1, * + * ... * work?02:22
timotimo the ... operator has a "complex" LHS and a simple RHS; the LHS starts with a list of starting values and ends with a callable; the RHS is something that can be smart-matched against to decide a stopping condition02:23
* + * is equivalent to -> $a, $b { $a + $b }02:23
not exactly the same, but in this situation similar enough02:23
discord6 <RaycatWhoDat> Very interesting.02:23
timotimo the ... operator checks how many arguments that callable takes and grabs that many values from the end of the values list, which is initialized with "1, 1" in this example02:24
discord6 <RaycatWhoDat> So, in theory, is it possible to express fizzbuzz with this syntax?02:24
timotimo m: .say for 1, 2, -> *@a { (@a.pick, @a.sum).pick } ... * > 999;02:24
evalable6 timotimo, rakudo-moar b380fd207: OUTPUT: «1␤2␤3␤6␤12␤2␤1␤6␤2␤12␤47␤2␤96␤192␤384␤768␤6␤192␤3␤1737␤»02:24
timotimo just a silly sequence02:25
discord6 <RaycatWhoDat> Interesting.02:25
timotimo yeah, fizzbuzz would be possible with that, but since it's meant to take previous values, it'll have to look further back then just one, or have its own state in the generator function02:26
at that point you may be better off using xx02:26
discord6 <RaycatWhoDat> what's that02:26
timotimo repetition operator for creating lists02:26
it thunks the LHS, i.e. what's on the left of it will be evaluated multiple times02:27
discord6 <RaycatWhoDat> thunks?02:27
<RaycatWhoDat> Who made these words02:28
timotimo yeah, you know how when you call a function with something like "$a + $b" it will first calculate the result of $a + $b, and then calls the function with the result02:28
discord6 <RaycatWhoDat> Ah.02:28
timotimo and thunking means that instead of getting the result, the function will be called with the code02:28
and it can do whatever it wants with the code. run it once, run it any number of times, don't run it at all02:28
anyway, i'm heading out to bed02:29
have a good one!02:29
discord6 <RaycatWhoDat> Good night!02:29
timotimo o/02:29
AlexDaniel RaycatWhoDat: @numbers.reduce(&[+]) can be written as just [+] @numbers02:30
astronavt how does that work..?02:30
AlexDaniel astronavt: https://docs.perl6.org/language/operators#Reduction_metaoperators02:31
astronavt aha02:31
AlexDaniel I think of it as if it simply shoves + ops between the elements02:31
RaycatWhoDat: @numbers.tail(*-1) is like uhh, simply @numbers.tail or @numbers[*-1]02:32
astronavt AlexDaniel that's not what [] is doing inside the .reduce() though right?02:33
i assume &[+] is just syntax to make + something you can call .reduce on02:33
AlexDaniel astronavt: oh yeah, in that case &[+] is just another way of writing &infix:<+>02:33
astronavt thats like some kind of uncanny valley of syntax similarity02:34
how do i search for that02:34
AlexDaniel astronavt: the docs usually do a good job at figuring it out if you just type stuff in the search bar, but in this case I'm afraid &[…] syntax is simply not documented :o02:36
astronavt yikes02:36
PRs accepted?02:36
seems like it should be part of the sigils doc page, no?02:36
AlexDaniel of course!02:36
maybe it's better to document it on https://docs.perl6.org/language/operators02:36
astronavt that seems more like a reference listing all the operators02:37
AlexDaniel the syntax is used many times in the docs, just never explained: https://gist.github.com/AlexDaniel/f3ed89d252918c3a6de67eb9ec608de202:37
astronavt: it also talks about precedence, metaops, identity, etc.02:39
so I think that page fits02:39
astronavt i cant even find the sigils doc page anyway02:40
i just had it a minutes ago02:40
this one https://docs.perl6.org/language/variables#index-entry-sigil_&02:40
discord6 <RaycatWhoDat> AlexDaniel, I'm doing @numbers.tail(*-1), not -1.02:48
AlexDaniel m: say <a b c d e>.tail(*-1)02:48
evalable6 AlexDaniel, rakudo-moar b380fd207: OUTPUT: «(b c d e)␤»02:48
AlexDaniel ahhh right02:48
sorry :)02:48
discord6 <RaycatWhoDat> No worries.02:48
AlexDaniel m: say <a b c d e>[1..*]02:48
evalable6 AlexDaniel, rakudo-moar b380fd207: OUTPUT: «(b c d e)␤»02:48
discord6 <RaycatWhoDat> I come from a Lisp background, so head and tail made more sense to me02:49
AlexDaniel interesting02:49
I have to invert my brain backwards to understand .tail(*-1) :D02:50
as in 1..* is kinda left to right for me02:50
discord6 <RaycatWhoDat> That makes sense. Having constructs and routines that operate on the first element and the rest of the list makes thinking about recursion super easy02:51
AlexDaniel m: my ($first, @rest) = <a b c d e f>[1, 1..*]; say $first; say @rest02:52
evalable6 AlexDaniel, rakudo-moar b380fd207: OUTPUT: «b␤[(b c d e f)]␤»02:52
AlexDaniel uhh02:53
discord6 <RaycatWhoDat> .flat?02:53
AlexDaniel I mean, we can just use := in this case, probably safely02:54
m: my ($first, @rest) := <a b c d e f>[1, 1..*]; say $first; say @rest02:55
evalable6 AlexDaniel, rakudo-moar b380fd207: OUTPUT: «b␤(b c d e f)␤»02:55
AlexDaniel or $02:55
m: my ($first, $rest) = <a b c d e f>[1, 1..*]; say $first; say $rest02:55
evalable6 AlexDaniel, rakudo-moar b380fd207: OUTPUT: «b␤(b c d e f)␤»02:55
discord6 <RaycatWhoDat> what does that do02:55
AlexDaniel binding https://docs.perl6.org/language/operators#index-entry-Binding_operator02:55
I guess chloekek++ can comment on using := where others typically use = :)02:56
.seen chloekek02:56
tellable6 AlexDaniel, I saw chloekek 2019-08-22T20:46:28Z in #perl6: <chloekek> I've heard chicken is quite versatile02:56
evalable6 left03:21
cpan-p6 New module released to CPAN! Lazy::Static (0.0.1) by SAMGWISE 03:21
Sgeo__ left03:24
Sgeo__ joined03:24
evalable6 joined03:25
ChanServ set mode: +v03:25
molaf left03:55
MetaPrem joined04:00
[Sno] left04:07
jaldhar_ left04:37
jaldhar_ joined04:38
lgtaube joined04:54
lgtaube left04:58
[particle]1 joined05:04
[particle] left05:04
sena_kun joined05:09
lgtaube joined05:12
[particle]1 left05:15
[particle]1 joined05:17
El_Che it would be cool if the discord6 bot would enter the channel for each user, so we could address them with "nick:" instead of "discord6: nick:"05:20
eseyman joined05:30
AlexDaniel El_Che: so, puppeting?05:47
El_Che The master of puppets05:50
aborazmeh left05:50
El_Che use all the nick in mIRC war mode (yes, you're too young to get the reference :) )05:50
AlexDaniel well, I did use mIRC for quite some time05:53
and yes I was a little shit back then :)05:53
jmerelo joined06:00
Geth ¦ ecosystem: 0e4d20b7c6 | (Konstantin Narkhov)++ | META.list06:03
¦ ecosystem: Add LZW::Revolunet to ecosystem 06:03
¦ ecosystem:06:03
¦ ecosystem: https://gitlab.com/pheix/lzw-revolunet-perl606:03
¦ ecosystem:06:03
¦ ecosystem: 👻06:03
¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/0e4d20b7c606:03
¦ ecosystem: 833c6b438e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list06:03
¦ ecosystem: Merge pull request #466 from pheix/master 06:03
¦ ecosystem:06:03
¦ ecosystem: Add LZW::Revolunet to ecosystem06:03
¦ ecosystem: Thanks!06:03
¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/833c6b438e06:03
Xliff How can I tell if I have data waiting in $*IN?06:06
jmerelo Xliff: use a tap?06:08
tellable6 2019-09-02T21:58:25Z #perl6 <tbrowder> jjmerelo doc v2 is looking good structurally, but i wish i could launch it local06:08
Xliff jmerelo: I thought $*IN was IO::Handle...06:09
jmerelo Xliff: but IIRC you could create a supply out of any IO::Handle06:10
Xliff Yeah. That's what I was thinking.06:10
jmerelo Xliff: right: https://docs.perl6.org/type/IO::Handle#method_Supply06:11
.tell tbrowder what seems to be the problem? installing it or setting it up? Can we maybe talk this afternoon to get it going?06:12
tellable6 jmerelo, I'll pass your message to tbrowder06:12
squashable6 left06:31
MetaPrem left06:32
squashable6 joined06:34
[particle]1 left06:44
El_Che morning06:52
domidumont joined07:03
rindolf joined07:03
robertle_ joined07:04
rindolf left07:04
Xliff m: ~^1.say07:12
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «(exit code 1) WARNINGS for /tmp/p1d2aB6K_P:␤1␤Useless use of "~^" in expression "~^1.say" in sink context (line 1)␤prefix:<~^> NYI␤ in block <unit> at /tmp/p1d2aB6K_P line 1␤␤»07:12
Xliff m: +^1.say07:12
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «WARNINGS for /tmp/W8nQW2lDyw:␤1␤Useless use of "+^" in expression "+^1.say" in sink context (line 1)␤»07:12
Xliff m: (+^1).say07:12
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «-2␤»07:12
Xliff m: my $a = 1; $a +&= +^1); $a.say07:13
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «(exit code 1) === SORRY!=== Error while compiling /tmp/Ce_VjX4nwu␤Unexpected closing bracket␤at /tmp/Ce_VjX4nwu:1␤------> my $a = 1; $a +&= +^1 ); $a.say ␤»07:13
Xliff m: my $a = 1; $a +&= +^1; $a.say07:13
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «0␤»07:13
holyghost I am reading for making another statistical package based on statistical chaos theory. For example the chaos in a Markov Chain.07:15
The probabilities therein start with random variables, thus noise07:15
_jrjsmrtn left07:16
__jrjsmrtn__ joined07:17
jmerelo left07:27
dolmen joined07:45
Xliff Anybody around to proof?07:53
https://gist.github.com/Xliff/d426039cc162e1cb84d1b7f8067fe9fb07:53
dolmen left08:16
Actualeyes joined08:16
Xliff m: my %a = ( b => 3 ); .say for ^ %a<b>08:20
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «0␤1␤2␤»08:20
dolmen joined08:27
jaldhar_ left08:33
jaldhar_ joined08:33
Xliff m: 'n-video'.substr(2).say08:35
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «video␤»08:35
Black_Ribbon left08:37
Xliff m: .say for 'current-' «~« <video audio text>;08:40
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «current-video␤current-audio␤current-text␤»08:40
jaldhar_ left08:40
jaldhar_ joined08:41
jaldhar_ left08:42
jaldhar_ joined08:43
jaldhar_ left08:52
jaldhar_ joined08:53
discord6 <timotimo> @RaycatWhoDat i think .tail(*-1) is equivalent to .skip(1)08:54
jaldhar_ left08:54
jaldhar_ joined08:55
jaldhar_ left08:56
jaldhar_ joined08:57
tadzik I think skip(1) is more likely t work for infinite lists :)08:58
jaldhar_ left08:58
jaldhar_ joined08:59
jaldhar_ left09:04
jaldhar_ joined09:05
jaldhar_ left09:06
jaldhar_ joined09:07
jaldhar_ left09:08
jaldhar_ joined09:09
jaldhar_ left09:10
jaldhar_ joined09:11
jaldhar_ left09:20
jaldhar_ joined09:21
jaldhar_ left09:22
jaldhar_ joined09:23
jaldhar_ left09:24
jaldhar_ joined09:25
jaldhar_ left09:26
jaldhar_ joined09:27
satori__ joined09:28
reach_satori_ left09:30
jaldhar_ left09:38
netrino joined09:38
jaldhar_ joined09:39
jaldhar_ left09:40
jaldhar_ joined09:41
pecastro joined09:41
jaldhar_ left09:44
jaldhar_ joined09:45
pilne left09:50
jaldhar_ left09:50
jaldhar_ joined09:51
jaldhar_ left10:00
jaldhar_ joined10:01
jaldhar_ left10:02
jaldhar_ joined10:03
discord6 <RaycatWhoDat> m: (1..5).skip(1).say10:06
evalable6 RaycatWhoDat, rakudo-moar b380fd207: OUTPUT: «(2 3 4 5)␤»10:06
discord6 <RaycatWhoDat> Sweet10:06
pecastro left10:08
jaldhar_ left10:08
jaldhar_ joined10:08
mowcat joined10:09
jaldhar_ left10:10
jaldhar_ joined10:11
jaldhar_ left10:12
jaldhar_ joined10:13
jaldhar_ left10:14
jaldhar_ joined10:15
jaldhar_ left10:16
jaldhar_ joined10:17
jaldhar_ left10:22
jaldhar_ joined10:23
domidumont left10:25
dolmen left10:43
Geth ¦ problem-solving/path-to-raku: 115a26084f | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md10:50
¦ problem-solving/path-to-raku: Elaborate on IRC logging 10:50
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/115a26084f10:50
¦ problem-solving/path-to-raku: dcd66a7be2 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md10:56
¦ problem-solving/path-to-raku: Suggest solution to .perl methods in non-core modules 10:56
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/dcd66a7be210:56
¦ problem-solving/path-to-raku: 0dc6534242 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:01
¦ problem-solving/path-to-raku: Elaborate on $*RAKU and Raku class 11:01
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/0dc653424211:01
¦ problem-solving/path-to-raku: 6b2ddf812f | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:04
¦ problem-solving/path-to-raku: Do **NOT** change "Perl5" where it's used 11:04
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/6b2ddf812f11:04
¦ problem-solving/path-to-raku: 50f7697fd0 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:09
¦ problem-solving/path-to-raku: Defer versioning discussion 11:09
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/50f7697fd011:09
¦ problem-solving/path-to-raku: 998232afca | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:12
¦ problem-solving/path-to-raku: Elaborate on tagging 11:12
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/998232afca11:12
¦ problem-solving/path-to-raku: 50c14e2157 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:14
¦ problem-solving/path-to-raku: Mention installers 11:14
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/50c14e215711:14
¦ problem-solving/path-to-raku: 24fddab779 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:19
¦ problem-solving/path-to-raku: Introduce concept of a migration guide 11:19
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/24fddab77911:19
discord6 <theangryepicbanana> @Aearnus I had asked if there were pre-existing Perl 6 bindings to the LLVM11:20
<theangryepicbanana> but now I have a nativecall question: how do I represent an opaque struct in Perl 611:21
pecastro joined11:22
robertle_ left11:24
Geth ¦ problem-solving/path-to-raku: 5789db03a6 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:27
¦ problem-solving/path-to-raku: Migration guide for book authors 11:27
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/5789db03a611:27
Xliff RaycatWhoDat: Yeah. I just found that out, myself.11:29
m: ^5.tail(3).say11:29
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «Potential difficulties:␤ Precedence of ^ is looser than method call; please parenthesiz…»11:29
Xliff, Full output: https://gist.github.com/17ab346bc190a9de87dc8446adbd422911:29
Xliff m: (^5).tail(3).say11:29
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «(2 3 4)␤»11:29
Xliff m: (^5).head(3).say11:30
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «(0 1 2)␤»11:30
Xliff m: (^5).head(3).pop.say11:30
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «(exit code 1) No such method 'pop' for invocant of type 'Seq'␤ in block <unit> at /tmp/PyXelriylE line 1␤␤»11:30
Xliff m: (^5).head(3).Array.pop.say11:30
evalable6 Xliff, rakudo-moar b380fd207: OUTPUT: «2␤»11:30
Geth ¦ problem-solving/path-to-raku: 01efd7e39d | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:30
¦ problem-solving/path-to-raku: Follow suggestion on phrasing 11:30
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/01efd7e39d11:30
Xliff \o lizmat!11:31
Geth ¦ problem-solving/path-to-raku: 813165ea04 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md11:33
¦ problem-solving/path-to-raku: More phrasing suggestions followed 11:33
¦ problem-solving/path-to-raku: review: https://github.com/perl6/problem-solving/commit/813165ea0411:33
satori__ left11:38
mowcat left11:40
netrino :qall11:45
Sorry, wrong window11:45
dolmen joined11:48
pmurias joined11:58
Kaiepi ./t/01-monad.t .. ===SORRY!=== Error while compiling /home/morfent/Documents/p6-Monad/lib/Monad/MonadPunning.pm6 (Monad::MonadPunning)12:00
Undeclared routine:12:00
require used at line 512:00
wat12:00
tadzik :D12:01
to be fair I don't have it either12:01
sena_kun m: sub require() { 'pls god no'.say }; require;12:01
evalable6 sena_kun, rakudo-moar b380fd207: OUTPUT: «pls god no␤»12:01
tadzik is it not a routine, but a statement?12:01
m: require Test;12:01
evalable6 tadzik, rakudo-moar b380fd207: OUTPUT: «»12:01
sena_kun m: sub return($haha) { "pls god no $haha".say }; return 'more';12:02
evalable6 sena_kun, rakudo-moar b380fd207: OUTPUT: «pls god no more␤»12:02
tadzik :>12:02
Kaiepi i have a line like `my $pun_meta := require Monad::ClassHOW;` that's causing this12:02
ohh wait12:02
nope, still throws the same error when it's `require ::("Monad::ClassHOW")` instead12:03
pmurias vrurg: I have fixed up the js backend after Makefile changes12:03
tellable6 2019-09-02T14:07:48Z #perl6-dev <vrurg> pmurias I'll try to handle JS backend makefile on my own but most likely you'd need to fix it afterwards. Perhaps if you can take care of python2.7 requirement for a node's module I would manage with it all on my own.12:03
tadzik Kaiepi: I don't think require is an expression12:06
yeah, it's a statement12:06
you can't use it as something that returns a value12:06
when you do, rakudo thinks you're calling a function12:06
what are you trying to do there?12:06
dakkar joined12:09
domidumont joined12:12
Kaiepi i'm trying to make it possible to pun monads (apply them to a class). the problem is i end up with a circular dependency between Monad::ClassHOW and Monad::MonadPunning unless i somehow pass the pun's HOW to it12:12
what i was doing there was seeing if lazily loading the modules would fix it, but it didn't12:13
lucasb joined12:13
Kaiepi the way rakudo does this with Metamodel::RolePunning is it has a configure_punning method that's called in src/Perl6/bootstrap.c/BOOTSTRAP.nqp, but i can't figure out how to port this to perl 612:14
rindolf joined12:15
satori__ joined12:28
jnthn Just call it in the module mainline, so it's set up at load time of the moudle?12:30
netrino As there are seems to be more people now, maybe someone can help me with my question? https://colabti.org/irclogger/irclogger_log/perl6?date=2019-09-03#l4312:33
Also, i've just encountered another issue. I'm trying to use Cro::HTTP::Client to do a web-request, a very simple one, such as Cro::HTTP::Client.get('https://google.com') but it just freezes at this line and sits like this for several minutes already. It appears that when i remove [s] from https it works instantly. Did anyone encountered similar issue? Is there a workaround? I'm using rakudo-star 2019.3.1 on12:36
macos12:36
timotimo netrino: it could be that getting Cro::HTTP from the github repo, i.e. an unreleased version, fixes that12:38
jnthn Also try passing :http<1.1>12:40
netrino_ joined12:41
netrino left12:42
netrino_ Thanks, i'll try that!12:42
Yup, :http<1.1> resolved the issue for me12:43
dolmen left12:48
dolmen joined12:48
[particle] joined12:55
pat_js joined13:02
pmurias left13:13
pmurias joined13:15
molaf joined13:25
lichtkind_lichtkind13:34
ravenous_ joined13:36
titsuki joined13:56
Xliff If I have a lib in /usr/lib/i386-linux-gnu/gstreamer-1.0, how would I specify that to NativeCall?13:58
ravenous_ left14:04
Altai-man_ joined14:12
Altai-man_ left14:14
sena_kun left14:15
satori__ left14:31
Grinnz https://loudwire.com/maynard-james-keenan-new-tool-album-fantastic-eight-years-ago/ only took 13 years, rookies14:34
posting because it was a familiar release process ;)14:35
pmurias left14:38
tyil \o/ my docker-perl6 stuff seems to be building again https://gitlab.com/tyil/docker-perl6/-/jobs/28650303114:44
seems like the Configure.pl is no longer executable14:44
sauvin left14:47
mowcat joined14:52
Sgeo__ left14:53
aborazmeh joined14:54
aborazmeh left14:54
aborazmeh joined14:54
aborazmeh left14:59
vike left15:02
El_Che Keenan? Sounds like the p5p guy I met at YAPCE::Amsterdam :)15:05
Grinnz heh. he does share 2 of his 3 names15:06
El_Che (or maybe it was in Brussels. I don't know, getting old)15:07
atroxaper joined15:09
jmerelo joined15:10
jmerelo squashable6: next15:12
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in 2 days and ≈12 hours (2019-09-07 UTC-12⌁UTC+20). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day15:12
jmerelo We're getting there!15:12
mowcat left15:16
El_Che AlexDaniel: I can not comment on https://github.com/perl6/problem-solving/pull/89/files/50c14e215714ba203610120ed916eaf0d7172e6c..24fddab7799f1d02e13f4a859895df997771c10b. Can you add a comment to also include p6-* repos?15:19
AlexDaniel El_Che: sorry, what was your github handle?15:22
El_Che nxadm15:22
AlexDaniel El_Che: can you leave a comment now?15:22
vike joined15:23
domidumont left15:23
El_Che let me check15:24
lucasb I think any p6/perl6 prefix or suffix is already implied in that idea :)15:25
[Coke] jmerelo: you here?15:25
El_Che it is, but AlexDaniel and co want practical aand explicit info :)15:26
Geth ¦ doc: JJ assigned to antoniogamiz Issue Some pages are not linked from language.html https://github.com/perl6/doc/issues/299715:26
El_Che AlexDaniel: thx, I added the comment15:28
jmerelo [Coke]: right15:29
[Coke]: at your service15:30
[Coke] so I think we're talking past each other on those tickets.15:30
You have a minute to chat here?15:30
jmerelo [Coke]: of course.15:30
jmerelo also sorry about all the problems caused. There's light at the end, though :-)15:31
[Coke] so, I understand you're trying to split things into two repos (docs vs. tooling)15:31
jmerelo [Coke]: more than that15:31
[Coke] but the way things are today, I start with the docs, and then while in that repo, run the tooling. So, from this standpoint, the tools are a(n undocumented) pre-req of the docs (for building the site.)15:32
Xliff Anybody around to proof?15:32
[Coke] (additionally, the previous way to run the old tools (make) was removed instead of being updated)15:32
Xliff https://gist.github.com/Xliff/d426039cc162e1cb84d1b7f8067fe9fb15:32
jmerelo [Coke]: the fact that everything was so closely coupled was causing all kinds of problem.15:32
|oLa| left15:32
jmerelo [Coke]: it was updated. Only in a different repository.15:33
[Coke] so, understanding you have more steps... what is your future state here? If someone wants to build the site, what are they doing? If I knew where you were going (that is apparently different from what I'm expecting), I would be less frustrated about the current broken setup15:33
jmerelo [Coke]: the split is at the bottom of the roadmap.15:33
[Coke] jmerelo: I just told you the steps I used and how they're broken: how are *you* doing the builds that this isn't an issue?15:34
jmerelo [Coke]: The instructions are in the README.md: https://github.com/perl6/doc#building-the-html-documentation15:34
[Coke] I understand that Documentable is in a separate repo: that's the problem with the build step I'm trying to fix.15:34
jmerelo [Coke]: IIRC, with the latest (non-released) version of documentable everything was working correctly on a Mac?15:35
[Coke] Yes. the documentation that says to use the 'documentable' script but with no directions on how to install it. we have a way to indicate that declaratively in META6.json, which you're against, which is what I'm trying to understand/fix15:35
jmerelo: I never got as far as going back to do the build once I installed Pod::To::Cached by hand.15:36
jmerelo [Coke]: but please understand that one of the fundamental differences is that we don't intend people installing the documentation to want, or even be able, to build HTML and serve it.15:36
[Coke] So make it an optional prereq.15:36
jmerelo [Coke]: OK, I'll create an issue for that.15:37
[Coke] or at the worst, give instructions on how to install it as part of that section of code. (but having it declared rather than in docs is better)15:37
jmerelo [Coke]: right now, if you want to build the documentation you need to able to: install perl and Mojolicious. Install node. You need node even if you don't want to serve the pages.15:37
[Coke]: I think we'll do that.15:38
[Coke]: take into account that, now, node *and* perl are prerrequisites for building the documentation (and highlighing). That can't even be listed in META6.json15:38
[Coke] I understand, but I'd rather have as much as possible declared.15:39
jmerelo [Coke]: that's (one of the reasons) we want to split all the non-essential tooling (meaning: not needed to test the documentation)15:40
[Coke]: eventually, documentable will need to be listed as a dependency, since tests will depend on it. But that's further down the roadmap.15:40
[Coke]: (also it will be a test dependency, and all site-building tools will be split off)15:41
Geth left15:44
Geth joined15:45
jmerelo [Coke]: fittingly, it's got the 3k ID: https://github.com/perl6/doc/issues/300015:45
molaf left15:47
Geth ¦ ecosystem/JJ-patch-6: 95fb50c84a | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list15:48
¦ ecosystem/JJ-patch-6: Switches to new version 15:48
¦ ecosystem/JJ-patch-6:15:48
¦ ecosystem/JJ-patch-6: This version is community-maintained as part of the perl6 repos. It also contains a new version, 0.3.515:48
¦ ecosystem/JJ-patch-6: review: https://github.com/perl6/ecosystem/commit/95fb50c84a15:48
¦ ecosystem: JJ++ created pull request #467: Switches to new version 15:49
¦ ecosystem: review: https://github.com/perl6/ecosystem/pull/46715:49
|oLa| joined15:49
Geth ¦ ecosystem: 95fb50c84a | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list15:52
¦ ecosystem: Switches to new version 15:52
¦ ecosystem:15:52
¦ ecosystem: This version is community-maintained as part of the perl6 repos. It also contains a new version, 0.3.515:52
¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/95fb50c84a15:52
¦ ecosystem: 1232e84e86 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list15:52
¦ ecosystem: Merge pull request #467 from perl6/JJ-patch-6 15:52
¦ ecosystem:15:52
¦ ecosystem: Switches to new version15:52
¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/1232e84e8615:52
Actualeyes left15:53
abraxxa left15:56
cpan-p6 left15:56
ChoHag left15:56
cpan-p6 joined15:56
cpan-p6 left15:56
cpan-p6 joined15:56
ChoHag joined15:58
sena_kun joined16:05
pat_js left16:11
dolmen left16:15
Geth ¦ doc: 27490b39a1 | (JJ Merelo)++ | 3 files16:17
¦ doc: Adds detailed instructions for generating HTML 16:17
¦ doc:16:17
¦ doc: Refs #300016:17
¦ doc:16:17
¦ doc: Also eliminates some trailing whitespace (and reflow) found while testing.16:17
¦ doc: review: https://github.com/perl6/doc/commit/27490b39a116:17
jmerelo Anyone around can help testing instructions?16:18
Can someone please check https://github.com/perl6/doc#building-the-html-documentation and tell me if it works?16:19
Geth ¦ doc: 36a9fe7adf | (JJ Merelo)++ | README.md16:20
¦ doc: Clarification about update 16:20
¦ doc: review: https://github.com/perl6/doc/commit/36a9fe7adf16:20
sena_kun No candidates found matching identity: documentable16:21
s/documentable/Documentable/16:22
jmerelo sena_kun: right. Thanks.16:22
sena_kun jmerelo, I am continuing with the process...16:22
Geth ¦ doc: 4910b10c71 | (JJ Merelo)++ | README.md16:23
¦ doc: Fixes error, thanks @altaiman, refs #3000 16:23
¦ doc: review: https://github.com/perl6/doc/commit/4910b10c7116:23
jmerelo sena_kun++16:23
molaf joined16:24
jmerelo .tell [Coke] Can you please try the new instructions?16:28
tellable6 jmerelo, I'll pass your message to [Coke]16:28
ravenous_ joined16:28
sena_kun jmerelo, I am not sure if it can be an issue, but I see that Documentable has `Pod::To::HTML:ver<0.6.2+` in dependencies, but the version in the p6c is `Found: Pod::To::HTML:ver<0.6.2>:auth<Perl 6>`, and then zef just hangs.16:30
[Coke] .16:30
... why did tellable6 not tell me anything just there?16:31
sena_kun [Coke], it is smart enough to know that you are in the channel and wanted to drop the message you saw16:31
Black_Ribbon joined16:31
jmerelo sena_kun: shouldn't that be OK? Or the + excludes the current version? Also, shouldn't it say something like "not found"?16:32
sena_kun the same for Perl6::TypeGraph, version is 2.1.1, but Documentable wants 2.1.1+.16:32
jmerelo, no idea, I just see that zef hangs. :(16:32
maybe it's unrelated16:33
ravenous_ left16:33
Cabanossi left16:36
jmerelo m: say say v1.0 ~~ v1.0+;16:36
evalable6 jmerelo, rakudo-moar 17d036ad4: OUTPUT: «True␤True␤»16:36
jmerelo m: say v1.0 ~~ v1.0+;16:36
evalable6 jmerelo, rakudo-moar 17d036ad4: OUTPUT: «True␤»16:36
sena_kun I guess my network is crap, because `zef install Pod::Utilities" was hanging too, and now it worked16:37
cxreg joined16:38
jmerelo The new Pod::To::Cached seems to be already available in the ecosystem16:41
And we're back to random test errors: https://travis-ci.org/perl6/doc/builds/580318750?utm_medium=notification&utm_source=email16:42
sauvin joined16:44
Xliff jmerelo: Pod::To::Cached is not listed as a dependency in META6.json16:46
Actually... it is, but tests are failing because it didn't get installed?!?16:47
Cabanossi joined16:50
jmerelo Xliff: no, I think the problem is that the zef cache is not updated there.16:54
Xliff: however, I don't understand why the message issued by zef is not more informative... That leads to confusion.16:56
grayrider joined16:57
jmerelo Xliff: that's why Travis, with a different configuration, did not fail https://travis-ci.org/perl6/Documentable/builds16:57
sena_kun was able to install Documentable16:59
jmerelo sena_kun++17:00
sena_kun jmerelo, do commands like `make assets` have to be executed from clone of doc repo?17:00
jmerelo sena_kun: right. Is that not clear in the docs?17:00
[Sno] joined17:01
sena_kun jmerelo, well, I was able to guess that, but giving that a lot of people contribute with a different background, I'd write it17:01
Geth ¦ doc: 25906f2deb | (JJ Merelo)++ | README.md17:01
¦ doc: Clarify where make assets has to be run 17:01
¦ doc: review: https://github.com/perl6/doc/commit/25906f2deb17:01
jmerelo sena_kun^^^17:02
|oLa| left17:02
atroxaper Just now I can not install Documentable - Could not find Pod::To::Cached17:03
jmerelo atroxaper: the new version was just released. Maybe do "zef update" and try again?17:04
Geth ¦ doc: 6695ae7215 | Altai-man++ (committed using GitHub Web editor) | README.md17:04
¦ doc: Add clonning commands 17:04
¦ doc: review: https://github.com/perl6/doc/commit/6695ae721517:04
atroxaper jmerelo: not yet I think. Do not work after zef update for now.17:06
jmerelo atroxaper: what does zef search Pod::To::Cached return?17:07
atroxaper jmerelo: 0.3.3 in local; 0.3.5 in ecosystem17:09
jmerelo atroxaper: so it should be able to install that...17:09
atroxaper Zef::Repository::Ecosystems<p6c>|Pod::To::Cached:ver<0.3.5>:auth<finanalyst>17:09
Zef::Repository::LocalCache |Pod::To::Cached:ver<0.3.3>17:09
jmerelo: Does auth matters?17:10
jmerelo atroxaper: it might...17:11
atroxaper sena_kun: I wrote you an email about CommaIDE bugs a couple hours ago. Please take a look ^^17:12
sena_kun atroxaper, writing an answer right now. :)17:12
sena_kun was able to successfully build docs and peek at the local website17:15
sena_kun Whole process has taken 545.9691593 seconds17:16
jmerelo sena_kun: great! That's a bit slow, though.17:16
sena_kun: I'm kind of mystified with the Pod::To::Cached thing. I've eliminated the "auth" field to see if it's not finding it for that reason... I just added it because comma advised me to do it.17:17
sena_kun jmerelo, you mean that it "kind of" caused zef to hang as I wrote before? that was a lie, it's just that my network right now is beyond horrible17:18
pecastro left17:19
jmerelo No, the fact that the "old" Pod::To::Cached didn't have auth, and now it does, and it seems like it's unable to find it or something...17:19
sena_kun: yet it's not reporting anything...17:20
atroxaper: can you please just install Pod::To::Cached to see which version is downloaded and installed?17:22
atroxaper jmerelo: 0.3.317:22
jmerelo atroxaper: can you please uninstall and install it anew?17:23
atroxaper Sure17:23
jmerelo atroxaper: anyway, that version should work in Linux; 0.3.5 fixes stuff in OSx...17:23
atroxaper: try and install documentable after installing Pod::To::Cached...17:24
atroxaper jmerelo: I use a Mac actually ^^17:24
jmerelo: uninstall -> update -> install -> got 0.3.317:25
Kaiepi left17:25
jmerelo atroxaper: it's maybe taking it from the local cache... which still contains it.17:26
Kaiepi joined17:26
atroxaper zef install "Pod::To::Cached:ver<0.3.5>:auth<finanalyst>" -> got 0.3.3(!)17:27
jmerelo atroxaper: try that with --/cached?17:27
atroxaper jmerelo: zef install "Pod::To::Cached" --/cached -> 0.3.317:28
jmerelo atroxaper: (also, maybe raise an issue with zef. I don't think this is how it should work)17:28
jmerelo throws hands up in despair17:28
jmerelo (not to mention --/cached is not documented, but mentioned in an issue)17:29
mowcat joined17:30
jmerelo atroxaper: apparently there's a config.json for zef somewhere, which you can change to avoid local cache... Other than that...17:30
[Coke] jmerelo: new instructions seem fine. (noting that I haven't verified that Pod::To::Cached installs correctly, I installed that via a clone of the repo)17:31
jmerelo atroxaper: some tips here: https://github.com/ugexe/zef/issues/17917:31
[Coke]: we still have trouble with that... And I really don't understand why. See above.17:32
[Coke]: Thanks anyway for checking that.17:32
kamog left17:34
Xliff m: '🙉'.ord.say17:41
evalable6 Xliff, rakudo-moar 17d036ad4: OUTPUT: «128585␤»17:41
Xliff m: '◒'.ord.say17:41
evalable6 Xliff, rakudo-moar 17d036ad4: OUTPUT: «9682␤»17:41
aborazmeh joined17:42
aborazmeh left17:42
aborazmeh joined17:42
wildtrees joined17:43
jaldhar_ left17:48
atroxaper jmerelo: created an issue https://github.com/ugexe/zef/issues/31317:54
atroxaper left17:57
atroxaper joined17:57
jmerelo atroxaper: thanks!17:58
atroxaper: the question is that the 0.3.3 version does not even have that auth field...17:59
aborazmeh left18:00
pecastro joined18:02
jmerelo Just realized zef hasn't changed since April...18:04
ravenous_ joined18:05
dakkar left18:05
aborazmeh joined18:11
aborazmeh left18:11
aborazmeh joined18:11
pecastro left18:23
pecastro joined18:25
pecastro left18:31
sauvin left18:32
domidumont joined18:32
pecastro joined18:34
domidumont left18:37
domidumont joined18:42
jmerelo left18:48
aborazmeh left19:03
aborazmeh joined19:10
aborazmeh left19:10
aborazmeh joined19:10
domidumont left19:12
Kaiepi left19:20
netrino_ left19:25
aborazmeh left19:30
aborazmeh joined19:37
aborazmeh left19:37
aborazmeh joined19:37
aborazmeh left19:37
aborazmeh joined19:41
aborazmeh left19:41
Ven`` joined19:42
discord6 <theangryepicbanana> wait it hasn't?19:43
<theangryepicbanana> wow it hasn't19:44
aborazmeh joined19:46
aborazmeh left19:46
aborazmeh joined19:46
Ven`` left19:47
epony left19:49
aborazmeh left19:55
[Coke] tell jmerelo yup, 'zef install Pod::To::Cached' finds 0.3.5 and then fails the tests.19:57
.tell jmerelo yup, 'zef install Pod::To::Cached' finds 0.3.5 and then fails the tests, still19:57
tellable6 [Coke], I'll pass your message to jmerelo19:57
dolmen joined20:01
Juerd What is QX (uppercase)?20:03
sena_kun Juerd, as in? `X` is proably cross operator, but Q is a quote, so... what's the context?20:07
f0x joined20:10
wamba joined20:10
Juerd &Proc::QX20:10
It exists and someone at the hackerspace has it in old Perl 6 code20:10
But it's not documented, there's no roast test for it20:10
And it seems fully redundant with qx//20:11
sena_kun ah20:11
bisectable6, Proc::QX20:12
bisectable6 sena_kun, Bisecting by output (old=2015.12 new=17d036a) because on both starting points the exit code is 120:12
sena_kun, bisect log: https://gist.github.com/0a0f6f950acd2af718bc1087827ea13220:13
sena_kun, (2017-06-07) https://github.com/rakudo/rakudo/commit/e538cbc5464447c4a0cf217119a9ff30bd74d76520:13
ravenous_ left20:22
sena_kun left20:24
pmurias_ joined20:28
pecastro_ joined20:32
cpage_ joined20:32
pmurias_ left20:34
pecastro left20:35
cpage_cpage20:35
pecastro_ left20:35
pmurias joined20:42
dolmen left20:43
Ven`` joined20:43
dolmen joined20:49
mowcat left20:55
AlexDaniel 6c: Proc::QX20:56
committable6 AlexDaniel, https://gist.github.com/2911fc7bca048df9b5a353895f16761320:56
cpan-p6 New module released to CPAN! LibXML (0.0.2) by WARRINGD 21:05
netrino joined21:08
robertle left21:10
Cabanossi left21:10
Cabanossi joined21:17
Kaiepi joined21:17
sftp left21:24
dolmen left21:27
Ven`` left21:29
[particle]1 joined21:50
wamba left21:51
[particle] left21:51
wamba joined21:51
sftp joined22:09
[particle]2 joined22:22
cpan-p6 New module released to CPAN! LibXML (0.0.3) by WARRINGD 22:23
[particle]1 left22:24
Itaipu_ left22:28
Itaipu joined22:33
discord6 <RaycatWhoDat> Weird question but is there a way to instantiate a variable with the results of a block?22:44
<RaycatWhoDat> Ideally, I'd like to do something like my $forSum = for @numbers { $forSum + $_ };22:45
<RaycatWhoDat> (invalid syntax but, bear with me)22:45
pmurias left22:51
jnthn my @results = do for @numbers { $forSum + $_ }22:51
Alternatively spelled: my @results = @numbers.map($forSum + *)22:51
rindolf left22:52
satori__ joined22:55
discord6 <RaycatWhoDat> Oh, sweet. Thanks.22:55
AlexDaniel c: all Proc::QX22:57
committable6 AlexDaniel, https://gist.github.com/019478421099dfe4c016f1cf941ee5ac22:58
wamba left23:01
Sgeo joined23:30
Hrmmmmm joined23:39
Sgeo_ joined23:40
Sgeo left23:41
Hrmmmmm left23:42
lucasb left23:43

Logs Search ←Prev date Next date→ Channels Documentation