»ö« 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.
discord6 <theangryepicbanana> there don't happen to be llvm bindings for Perl 6, does there? 00:05
00:06 lichtkind_ joined 00:23 Seance[m] left, AlexDaniel` left, xliff[m] left, unclechu left, matiaslina left 00:24 Guest55169 left, aearnus[m] left, sergiotarxz[m] left, rba[m] left, CIAvash left, EuAndreh[m] left, lance_w[m] left, TravisRt2botio[m left, Matthew[m] left, BlackChaosNL[m] left, uzl[m] left, mack[m]1 left, folex left, Demos[m] left 00:30 AlexDaniel` joined 00:37 epony joined
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. gist.github.com/RayMPerry/e38337cc...5642871a19 00:42
00:43 EuAndreh[m] joined, BlackChaosNL[m] joined, lance_w[m] joined, sergiotarxz[m] joined, Matthew[m] joined, Guest999 joined, TravisRt2botio[m joined, rba[m] joined 00:44 unclechu joined, Seance[m] joined, aearnus[m] joined, matiaslina joined, CIAvash joined, Demos[m] joined, folex joined, mack[m]1 joined, uzl[m] joined, xliff[m] joined
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 and 00: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 that
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?
Sorry for so much text :D
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 = [+] @numbers 01:04
RaycatWhoDat*
RaycatWhoDat: and also, fibonacci sequence can be expressed as 1, 1, * + * ... * 01:05
m: my @fibs = 1, 1, * + * ... *; say @fibs[^10] 01:06
evalable6 (1 1 2 3 5 8 13 21 34 55)
discord6 <theangryepicbanana> so no one answered me?
<theangryepicbanana> ok ik what I'm doing tomorrow
01:10 molaf left 01:13 aborazmeh joined, aborazmeh left, aborazmeh joined 01:23 molaf joined 01:26 netrino left 01:36 Cabanossi left 01:42 jaldhar joined 01:47 Cabanossi joined 02:04 Manifest0 left, Manifest0 joined
discord6 <Aearnus> @theangryepicbanana what did you ask? 02:07
02:19 jaldhar_ joined 02:20 jaldhar left, jaldhar_ left 02:21 jaldhar_ joined
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 condition 02:23
* + * is equivalent to -> $a, $b { $a + $b }
not exactly the same, but in this situation similar enough
discord6 <RaycatWhoDat> Very interesting.
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 example 02:24
discord6 <RaycatWhoDat> So, in theory, is it possible to express fizzbuzz with this syntax?
timotimo m: .say for 1, 2, -> *@a { (@a.pick, @a.sum).pick } ... * > 999;
evalable6 1
2
3
6
12
2
1
6
2
12
47
2
96
192
384
768
6
192
3
1737
timotimo just a silly sequence 02:25
discord6 <RaycatWhoDat> Interesting.
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 function 02:26
at that point you may be better off using xx
discord6 <RaycatWhoDat> what's that
timotimo repetition operator for creating lists
it thunks the LHS, i.e. what's on the left of it will be evaluated multiple times 02:27
discord6 <RaycatWhoDat> thunks?
<RaycatWhoDat> Who made these words 02: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 result
discord6 <RaycatWhoDat> Ah.
timotimo and thunking means that instead of getting the result, the function will be called with the code
and it can do whatever it wants with the code. run it once, run it any number of times, don't run it at all
anyway, i'm heading out to bed 02:29
have a good one!
discord6 <RaycatWhoDat> Good night!
timotimo o/
AlexDaniel RaycatWhoDat: @numbers.reduce(&[+]) can be written as just [+] @numbers 02:30
astronavt how does that work..?
AlexDaniel astronavt: docs.perl6.org/language/operators#...aoperators 02:31
astronavt aha
AlexDaniel I think of it as if it simply shoves + ops between the elements
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 on
AlexDaniel astronavt: oh yeah, in that case &[+] is just another way of writing &infix:<+>
astronavt thats like some kind of uncanny valley of syntax similarity 02:34
how do i search for that
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 :o 02:36
astronavt yikes
PRs accepted?
seems like it should be part of the sigils doc page, no?
AlexDaniel of course!
maybe it's better to document it on docs.perl6.org/language/operators
astronavt that seems more like a reference listing all the operators 02:37
AlexDaniel the syntax is used many times in the docs, just never explained: gist.github.com/AlexDaniel/f3ed89d...b9ec608de2
astronavt: it also talks about precedence, metaops, identity, etc. 02:39
so I think that page fits
astronavt i cant even find the sigils doc page anyway 02:40
i just had it a minutes ago
this one docs.perl6.org/language/variables#...igil_&
discord6 <RaycatWhoDat> AlexDaniel, I'm doing @numbers.tail(*-1), not -1. 02:48
AlexDaniel m: say <a b c d e>.tail(*-1)
evalable6 (b c d e)
AlexDaniel ahhh right
sorry :)
discord6 <RaycatWhoDat> No worries.
AlexDaniel m: say <a b c d e>[1..*]
evalable6 (b c d e)
discord6 <RaycatWhoDat> I come from a Lisp background, so head and tail made more sense to me 02:49
AlexDaniel interesting
I have to invert my brain backwards to understand .tail(*-1) :D 02:50
as in 1..* is kinda left to right for me
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 easy 02:51
AlexDaniel m: my ($first, @rest) = <a b c d e f>[1, 1..*]; say $first; say @rest 02:52
evalable6 b
[(b c d e f)]
AlexDaniel uhh 02:53
discord6 <RaycatWhoDat> .flat?
AlexDaniel I mean, we can just use := in this case, probably safely 02:54
m: my ($first, @rest) := <a b c d e f>[1, 1..*]; say $first; say @rest 02:55
evalable6 b
(b c d e f)
AlexDaniel or $
m: my ($first, $rest) = <a b c d e f>[1, 1..*]; say $first; say $rest
evalable6 b
(b c d e f)
discord6 <RaycatWhoDat> what does that do
AlexDaniel binding docs.perl6.org/language/operators#...g_operator
I guess chloekek++ can comment on using := where others typically use = :) 02:56
.seen chloekek
tellable6 AlexDaniel, I saw chloekek 2019-08-22T20:46:28Z in #perl6: <chloekek> I've heard chicken is quite versatile
03:21 evalable6 left
cpan-p6 New module released to CPAN! Lazy::Static (0.0.1) by 03SAMGWISE 03:21
03:24 Sgeo__ left, Sgeo__ joined 03:25 evalable6 joined, ChanServ sets mode: +v evalable6 03:55 molaf left 04:00 MetaPrem joined 04:07 [Sno] left 04:37 jaldhar_ left 04:38 jaldhar_ joined 04:54 lgtaube joined 04:58 lgtaube left 05:04 [particle]1 joined, [particle] left 05:09 sena_kun joined 05:12 lgtaube joined 05:15 [particle]1 left 05:17 [particle]1 joined
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
05:30 eseyman joined
AlexDaniel El_Che: so, puppeting? 05:47
El_Che The master of puppets 05:50
05:50 aborazmeh left
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 time 05:53
and yes I was a little shit back then :)
06:00 jmerelo joined
Geth ecosystem: 0e4d20b7c6 | (Konstantin Narkhov)++ | META.list
Add LZW::Revolunet to ecosystem

  gitlab.com/pheix/lzw-revolunet-perl6
  👻
06:03
ecosystem: 833c6b438e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #466 from pheix/master

Add LZW::Revolunet to ecosystem Thanks!
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 local
Xliff jmerelo: I thought $*IN was IO::Handle... 06:09
jmerelo Xliff: but IIRC you could create a supply out of any IO::Handle 06:10
Xliff Yeah. That's what I was thinking.
jmerelo Xliff: right: docs.perl6.org/type/IO::Handle#method_Supply 06: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 tbrowder
06:31 squashable6 left 06:32 MetaPrem left 06:34 squashable6 joined 06:44 [particle]1 left
El_Che morning 06:52
07:03 domidumont joined, rindolf joined 07:04 robertle_ joined, rindolf left
Xliff m: ~^1.say 07:12
evalable6 (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
Xliff m: +^1.say
evalable6 WARNINGS for /tmp/W8nQW2lDyw:
1
Useless use of "+^" in expression "+^1.say" in sink context (line 1)
Xliff m: (+^1).say
evalable6 -2
Xliff m: my $a = 1; $a +&= +^1); $a.say 07:13
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/Ce_VjX4nwu
Unexpected closing bracket
at /tmp/Ce_VjX4nwu:1
------> 03my $a = 1; $a +&= +^108⏏04); $a.say
Xliff m: my $a = 1; $a +&= +^1; $a.say
evalable6 0
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 noise
07:16 _jrjsmrtn left 07:17 __jrjsmrtn__ joined 07:27 jmerelo left 07:45 dolmen joined
Xliff Anybody around to proof? 07:53
gist.github.com/Xliff/d426039cc162...f8067fe9fb
08:16 dolmen left, Actualeyes joined
Xliff m: my %a = ( b => 3 ); .say for ^ %a<b> 08:20
evalable6 0
1
2
08:27 dolmen joined 08:33 jaldhar_ left, jaldhar_ joined
Xliff m: 'n-video'.substr(2).say 08:35
evalable6 video
08:37 Black_Ribbon left
Xliff m: .say for 'current-' «~« <video audio text>; 08:40
evalable6 current-video
current-audio
current-text
08:40 jaldhar_ left 08:41 jaldhar_ joined 08:42 jaldhar_ left 08:43 jaldhar_ joined 08:52 jaldhar_ left 08:53 jaldhar_ joined
discord6 <timotimo> @RaycatWhoDat i think .tail(*-1) is equivalent to .skip(1) 08:54
08:54 jaldhar_ left 08:55 jaldhar_ joined 08:56 jaldhar_ left 08:57 jaldhar_ joined
tadzik I think skip(1) is more likely t work for infinite lists :) 08:58
08:58 jaldhar_ left 08:59 jaldhar_ joined 09:04 jaldhar_ left 09:05 jaldhar_ joined 09:06 jaldhar_ left 09:07 jaldhar_ joined 09:08 jaldhar_ left 09:09 jaldhar_ joined 09:10 jaldhar_ left 09:11 jaldhar_ joined 09:20 jaldhar_ left 09:21 jaldhar_ joined 09:22 jaldhar_ left 09:23 jaldhar_ joined 09:24 jaldhar_ left 09:25 jaldhar_ joined 09:26 jaldhar_ left 09:27 jaldhar_ joined 09:28 satori__ joined 09:30 reach_satori_ left 09:38 jaldhar_ left, netrino joined 09:39 jaldhar_ joined 09:40 jaldhar_ left 09:41 jaldhar_ joined, pecastro joined 09:44 jaldhar_ left 09:45 jaldhar_ joined 09:50 pilne left, jaldhar_ left 09:51 jaldhar_ joined 10:00 jaldhar_ left 10:01 jaldhar_ joined 10:02 jaldhar_ left 10:03 jaldhar_ joined
discord6 <RaycatWhoDat> m: (1..5).skip(1).say 10:06
evalable6 (2 3 4 5)
discord6 <RaycatWhoDat> Sweet
10:08 pecastro left, jaldhar_ left, jaldhar_ joined 10:09 mowcat joined 10:10 jaldhar_ left 10:11 jaldhar_ joined 10:12 jaldhar_ left 10:13 jaldhar_ joined 10:14 jaldhar_ left 10:15 jaldhar_ joined 10:16 jaldhar_ left 10:17 jaldhar_ joined 10:22 jaldhar_ left 10:23 jaldhar_ joined 10:25 domidumont left 10:43 dolmen left
Geth problem-solving/path-to-raku: 115a26084f | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Elaborate on IRC logging
10:50
problem-solving/path-to-raku: dcd66a7be2 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Suggest solution to .perl methods in non-core modules
10:56
problem-solving/path-to-raku: 0dc6534242 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Elaborate on $*RAKU and Raku class
11:01
problem-solving/path-to-raku: 6b2ddf812f | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Do **NOT** change "Perl5" where it's used
11:04
problem-solving/path-to-raku: 50f7697fd0 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Defer versioning discussion
11:09
problem-solving/path-to-raku: 998232afca | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Elaborate on tagging
11:12
problem-solving/path-to-raku: 50c14e2157 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Mention installers
11:14
problem-solving/path-to-raku: 24fddab779 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Introduce concept of a migration guide
11:19
discord6 <theangryepicbanana> @Aearnus I had asked if there were pre-existing Perl 6 bindings to the LLVM 11:20
<theangryepicbanana> but now I have a nativecall question: how do I represent an opaque struct in Perl 6 11:21
11:22 pecastro joined 11:24 robertle_ left
Geth problem-solving/path-to-raku: 5789db03a6 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Migration guide for book authors
11:27
Xliff RaycatWhoDat: Yeah. I just found that out, myself. 11:29
m: ^5.tail(3).say
evalable6 Potential difficulties:
Precedence of ^ is looser than method call; please parenthesiz…
Xliff, Full output: gist.github.com/17ab346bc190a9de87...46adbd4229
Xliff m: (^5).tail(3).say
evalable6 (2 3 4)
Xliff m: (^5).head(3).say 11:30
evalable6 (0 1 2)
Xliff m: (^5).head(3).pop.say
evalable6 (exit code 1) No such method 'pop' for invocant of type 'Seq'
in block <unit> at /tmp/PyXelriylE line 1
Xliff m: (^5).head(3).Array.pop.say
evalable6 2
Geth problem-solving/path-to-raku: 01efd7e39d | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Follow suggestion on phrasing
Xliff \o lizmat! 11:31
Geth problem-solving/path-to-raku: 813165ea04 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
More phrasing suggestions followed
11:33
11:38 satori__ left 11:40 mowcat left
netrino :qall 11:45
Sorry, wrong window
11:48 dolmen joined 11:58 pmurias joined
Kaiepi ./t/01-monad.t .. ===SORRY!=== Error while compiling /home/morfent/Documents/p6-Monad/lib/Monad/MonadPunning.pm6 (Monad::MonadPunning) 12:00
Undeclared routine:
require used at line 5
wat
tadzik :D 12:01
to be fair I don't have it either
sena_kun m: sub require() { 'pls god no'.say }; require;
evalable6 pls god no
tadzik is it not a routine, but a statement?
m: require Test;
evalable6
sena_kun m: sub return($haha) { "pls god no $haha".say }; return 'more'; 12:02
evalable6 pls god no more
tadzik :>
Kaiepi i have a line like `my $pun_meta := require Monad::ClassHOW;` that's causing this
ohh wait
nope, still throws the same error when it's `require ::("Monad::ClassHOW")` instead 12:03
pmurias vrurg: I have fixed up the js backend after Makefile changes
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.
tadzik Kaiepi: I don't think require is an expression 12:06
yeah, it's a statement
you can't use it as something that returns a value
when you do, rakudo thinks you're calling a function
what are you trying to do there?
12:09 dakkar joined 12:12 domidumont joined
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 it 12:12
what i was doing there was seeing if lazily loading the modules would fix it, but it didn't 12:13
12:13 lucasb joined
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 6 12:14
12:15 rindolf joined 12:28 satori__ joined
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? colabti.org/irclogger/irclogger_lo...-09-03#l43 12: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('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 on 12:36
macos
timotimo netrino: it could be that getting Cro::HTTP from the github repo, i.e. an unreleased version, fixes that 12:38
jnthn Also try passing :http<1.1> 12:40
12:41 netrino_ joined 12:42 netrino left
netrino_ Thanks, i'll try that! 12:42
Yup, :http<1.1> resolved the issue for me 12:43
12:48 dolmen left, dolmen joined 12:55 [particle] joined 13:02 pat_js joined 13:13 pmurias left 13:15 pmurias joined 13:25 molaf joined 13:34 lichtkind_ is now known as lichtkind 13:36 ravenous_ joined 13:56 titsuki joined
Xliff If I have a lib in /usr/lib/i386-linux-gnu/gstreamer-1.0, how would I specify that to NativeCall? 13:58
14:04 ravenous_ left 14:12 Altai-man_ joined 14:14 Altai-man_ left 14:15 sena_kun left 14:31 satori__ left
Grinnz loudwire.com/maynard-james-keenan-...years-ago/ only took 13 years, rookies 14:34
posting because it was a familiar release process ;) 14:35
14:38 pmurias left
tyil \o/ my docker-perl6 stuff seems to be building again gitlab.com/tyil/docker-perl6/-/jobs/286503031 14:44
seems like the Configure.pl is no longer executable
14:47 sauvin left 14:52 mowcat joined 14:53 Sgeo__ left 14:54 aborazmeh joined, aborazmeh left, aborazmeh joined 14:59 aborazmeh left 15:02 vike left
El_Che Keenan? Sounds like the p5p guy I met at YAPCE::Amsterdam :) 15:05
Grinnz heh. he does share 2 of his 3 names 15:06
El_Che (or maybe it was in Brussels. I don't know, getting old) 15:07
15:09 atroxaper joined 15:10 jmerelo joined
jmerelo squashable6: next 15:12
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in 2 days and ≈12 hours (2019-09-07 UTC-12⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo We're getting there!
15:16 mowcat left
El_Che AlexDaniel: I can not comment on github.com/perl6/problem-solving/p...97771c10b. 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 nxadm
AlexDaniel El_Che: can you leave a comment now?
15:23 vike joined, domidumont left
El_Che let me check 15:24
lucasb I think any p6/perl6 prefix or suffix is already implied in that idea :) 15:25
[Coke] jmerelo: you here?
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 github.com/perl6/doc/issues/2997
El_Che AlexDaniel: thx, I added the comment 15:28
jmerelo [Coke]: right 15:29
[Coke]: at your service 15:30
[Coke] so I think we're talking past each other on those tickets.
You have a minute to chat here?
jmerelo [Coke]: of course.
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)
jmerelo [Coke]: more than that
[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?
[Coke] (additionally, the previous way to run the old tools (make) was removed instead of being updated)
Xliff gist.github.com/Xliff/d426039cc162...f8067fe9fb
jmerelo [Coke]: the fact that everything was so closely coupled was causing all kinds of problem.
15:32 |oLa| left
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 setup
jmerelo [Coke]: the split is at the bottom of the roadmap.
[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: github.com/perl6/doc#building-the-...umentation
[Coke] I understand that Documentable is in a separate repo: that's the problem with the build step I'm trying to fix.
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/fix
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.
[Coke] So make it an optional prereq.
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)
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.
[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.json
[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.
[Coke]: (also it will be a test dependency, and all site-building tools will be split off) 15:41
15:44 Geth left 15:45 Geth joined
jmerelo [Coke]: fittingly, it's got the 3k ID: github.com/perl6/doc/issues/3000 15:45
15:47 molaf left
Geth ecosystem/JJ-patch-6: 95fb50c84a | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Switches to new version

This version is community-maintained as part of the perl6 repos. It also contains a new version, 0.3.5
15:48
ecosystem: JJ++ created pull request #467:
Switches to new version
15:49
15:49 |oLa| joined
Geth ecosystem: 95fb50c84a | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Switches to new version

This version is community-maintained as part of the perl6 repos. It also contains a new version, 0.3.5
15:52
ecosystem: 1232e84e86 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #467 from perl6/JJ-patch-6

Switches to new version
15:53 Actualeyes left 15:56 abraxxa left, cpan-p6 left, ChoHag left, cpan-p6 joined, cpan-p6 left, cpan-p6 joined 15:58 ChoHag joined 16:05 sena_kun joined 16:11 pat_js left 16:15 dolmen left
Geth doc: 27490b39a1 | (JJ Merelo)++ | 3 files
Adds detailed instructions for generating HTML

Refs #3000
Also eliminates some trailing whitespace (and reflow) found while testing.
16:17
jmerelo Anyone around can help testing instructions? 16:18
Can someone please check github.com/perl6/doc#building-the-...umentation and tell me if it works? 16:19
Geth doc: 36a9fe7adf | (JJ Merelo)++ | README.md
Clarification about update
16:20
sena_kun No candidates found matching identity: documentable 16:21
s/documentable/Documentable/ 16:22
jmerelo sena_kun: right. Thanks.
sena_kun jmerelo, I am continuing with the process...
Geth doc: 4910b10c71 | (JJ Merelo)++ | README.md
Fixes error, thanks @altaiman, refs #3000
16:23
jmerelo sena_kun++
16:24 molaf joined
jmerelo .tell [Coke] Can you please try the new instructions? 16:28
tellable6 jmerelo, I'll pass your message to [Coke]
16:28 ravenous_ joined
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] .
... 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 saw
16:31 Black_Ribbon joined
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+.
jmerelo, no idea, I just see that zef hangs. :(
maybe it's unrelated 16:33
16:33 ravenous_ left 16:36 Cabanossi left
jmerelo m: say say v1.0 ~~ v1.0+; 16:36
evalable6 True
True
jmerelo m: say v1.0 ~~ v1.0+;
evalable6 True
sena_kun I guess my network is crap, because `zef install Pod::Utilities" was hanging too, and now it worked 16:37
16:38 cxreg joined
jmerelo The new Pod::To::Cached seems to be already available in the ecosystem 16:41
And we're back to random test errors: travis-ci.org/perl6/doc/builds/580...urce=email 16:42
16:44 sauvin joined
Xliff jmerelo: Pod::To::Cached is not listed as a dependency in META6.json 16:46
Actually... it is, but tests are failing because it didn't get installed?!? 16:47
16:50 Cabanossi joined
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
16:57 grayrider joined
jmerelo Xliff: that's why Travis, with a different configuration, did not fail travis-ci.org/perl6/Documentable/builds 16:57
sena_kun was able to install Documentable 16:59
jmerelo sena_kun++ 17:00
sena_kun jmerelo, do commands like `make assets` have to be executed from clone of doc repo?
jmerelo sena_kun: right. Is that not clear in the docs?
17:01 [Sno] joined
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 it 17:01
Geth doc: 25906f2deb | (JJ Merelo)++ | README.md
Clarify where make assets has to be run
jmerelo sena_kun^^^ 17:02
17:02 |oLa| left
atroxaper Just now I can not install Documentable - Could not find Pod::To::Cached 17: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.md
Add clonning commands
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 ecosystem 17:09
jmerelo atroxaper: so it should be able to install that...
atroxaper Zef::Repository::Ecosystems<p6c>|Pod::To::Cached:ver<0.3.5>:auth<finanalyst>
Zef::Repository::LocalCache |Pod::To::Cached:ver<0.3.3>
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. :)
sena_kun was able to successfully build docs and peek at the local website 17:15
Whole process has taken 545.9691593 seconds 17:16
jmerelo sena_kun: great! That's a bit slow, though.
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 horrible 17:18
17:19 pecastro left
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.3
jmerelo atroxaper: can you please uninstall and install it anew? 17:23
atroxaper Sure
jmerelo atroxaper: anyway, that version should work in Linux; 0.3.5 fixes stuff in OSx...
atroxaper: try and install documentable after installing Pod::To::Cached... 17:24
atroxaper jmerelo: I use a Mac actually ^^
jmerelo: uninstall -> update -> install -> got 0.3.3 17:25
17:25 Kaiepi left
jmerelo atroxaper: it's maybe taking it from the local cache... which still contains it. 17:26
17:26 Kaiepi joined
atroxaper zef install "Pod::To::Cached:ver<0.3.5>:auth<finanalyst>" -> got 0.3.3(!) 17:27
jmerelo atroxaper: try that with --/cached?
atroxaper jmerelo: zef install "Pod::To::Cached" --/cached -> 0.3.3 17:28
jmerelo atroxaper: (also, maybe raise an issue with zef. I don't think this is how it should work)
jmerelo throws hands up in despair
(not to mention --/cached is not documented, but mentioned in an issue) 17:29
17:30 mowcat joined
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: github.com/ugexe/zef/issues/179
[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:34 kamog left
Xliff m: '🙉'.ord.say 17:41
evalable6 128585
Xliff m: '◒'.ord.say
evalable6 9682
17:42 aborazmeh joined, aborazmeh left, aborazmeh joined 17:43 wildtrees joined 17:48 jaldhar_ left
atroxaper jmerelo: created an issue github.com/ugexe/zef/issues/313 17:54
17:57 atroxaper left, atroxaper joined
jmerelo atroxaper: thanks! 17:58
atroxaper: the question is that the 0.3.3 version does not even have that auth field... 17:59
18:00 aborazmeh left 18:02 pecastro joined
jmerelo Just realized zef hasn't changed since April... 18:04
18:05 ravenous_ joined, dakkar left 18:11 aborazmeh joined, aborazmeh left, aborazmeh joined 18:23 pecastro left 18:25 pecastro joined 18:31 pecastro left 18:32 sauvin left, domidumont joined 18:34 pecastro joined 18:37 domidumont left 18:42 domidumont joined 18:48 jmerelo left 19:03 aborazmeh left 19:10 aborazmeh joined, aborazmeh left, aborazmeh joined 19:12 domidumont left 19:20 Kaiepi left 19:25 netrino_ left 19:30 aborazmeh left 19:37 aborazmeh joined, aborazmeh left, aborazmeh joined, aborazmeh left 19:41 aborazmeh joined, aborazmeh left 19:42 Ven`` joined
discord6 <theangryepicbanana> wait it hasn't? 19:43
<theangryepicbanana> wow it hasn't 19:44
19:46 aborazmeh joined, aborazmeh left, aborazmeh joined 19:47 Ven`` left 19:49 epony left 19:55 aborazmeh left
[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, still
tellable6 [Coke], I'll pass your message to jmerelo
20:01 dolmen joined
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
20:10 f0x joined, wamba joined
Juerd &Proc::QX 20:10
It exists and someone at the hackerspace has it in old Perl 6 code
But it's not documented, there's no roast test for it
And it seems fully redundant with qx// 20:11
sena_kun ah
bisectable6, Proc::QX 20:12
bisectable6 sena_kun, Bisecting by output (old=2015.12 new=17d036a) because on both starting points the exit code is 1
sena_kun, bisect log: gist.github.com/0a0f6f950acd2af718...87827ea132 20:13
sena_kun, (2017-06-07) github.com/rakudo/rakudo/commit/e5...30bd74d765
20:22 ravenous_ left 20:24 sena_kun left 20:28 pmurias_ joined 20:32 pecastro_ joined, cpage_ joined 20:34 pmurias_ left 20:35 pecastro left, cpage_ is now known as cpage, pecastro_ left 20:42 pmurias joined 20:43 dolmen left, Ven`` joined 20:49 dolmen joined 20:55 mowcat left
AlexDaniel 6c: Proc::QX 20:56
committable6 AlexDaniel, gist.github.com/2911fc7bca048df9b5...895f167613
cpan-p6 New module released to CPAN! LibXML (0.0.2) by 03WARRINGD 21:05
21:08 netrino joined 21:10 robertle left, Cabanossi left 21:17 Cabanossi joined, Kaiepi joined 21:24 sftp left 21:27 dolmen left 21:29 Ven`` left 21:50 [particle]1 joined 21:51 wamba left, [particle] left, wamba joined 22:09 sftp joined 22:22 [particle]2 joined
cpan-p6 New module released to CPAN! LibXML (0.0.3) by 03WARRINGD 22:23
22:24 [particle]1 left 22:28 Itaipu_ left 22:33 Itaipu joined
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:51 pmurias left
jnthn my @results = do for @numbers { $forSum + $_ } 22:51
Alternatively spelled: my @results = @numbers.map($forSum + *)
22:52 rindolf left 22:55 satori__ joined
discord6 <RaycatWhoDat> Oh, sweet. Thanks. 22:55
AlexDaniel c: all Proc::QX 22:57
committable6 AlexDaniel, gist.github.com/019478421099dfe4c0...cf941ee5ac 22:58
23:01 wamba left 23:30 Sgeo joined 23:39 Hrmmmmm joined 23:40 Sgeo_ joined 23:41 Sgeo left 23:42 Hrmmmmm left 23:43 lucasb left