🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
Geth doc: 86948063ae | (JJ Merelo)++ | doc/Language/variables.pod6
Expands explanation of $?MODULE

And adds ::?MODULE, which apparently contains the same. This refers to #2632, but I haven't found much about that "extended spec", other than it's in roast.
07:14
linkable6 Link: docs.raku.org/language/variables
DOC#2632 [open]: github.com/Raku/doc/issues/2632 [Hacktoberfest][RFE][big][docs][good first issue][help wanted][new][⚠ Top Priority ⚠] Checklist for 6.d
fluca1978 given that $_ is an int, why is this not working (@found is empty) @found.push: $_ if [+] $_.split( '', :skip-empty ) == $S; 07:49
while this is working as expected? my $sum = [+] $_.split( '', :skip-empty );
@found.push: $_ if $sum == $S;
dakkar I'm not sure that `if` sets `$_` 07:51
especially postfix `if`
dakkar checks
m: say $_ if 3
camelia (Any) 07:52
dakkar m: if 3 -> $x { say $x }
camelia 3
dakkar m: if 3 { $^a.say } 07:53
camelia 3
dakkar $^a.say if 3
m: $^a.say if 3
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use placeholder parameter $^a outside of a sub or block
at <tmp>:1
------> 3$^a7⏏5.say if 3
dakkar fluca1978: does that help? 07:54
fluca1978 dakkar: thanks, but $_ is set into a loop, the code is for 10 .. 99 { @found.push: $_ if [+] $_.split( '', :skip-empty ) == 4; } 07:56
dakkar ah! 07:57
it's a precedence issue 07:59
m: my @found; for 10 .. 99 { @found.push: $_ if ([+] $_.split( '', :skip-empty )) == 4; }; say @found
camelia [13 22 31 40]
dakkar the `==` was parsed tighter than the `[+]` 08:00
fluca1978 dakkar: shame on me! thanks 08:03
dakkar precedence is hard!
especially with as many operators and meta-operators as raku has 08:04
when in doubt, add parens 😜
sena_kun RFC: gist.github.com/Altai-man/b0d23ec5...37cddf3bc9 08:48
Geth ecosystem/JJ-patch-13: 02676d9e93 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Adds kazmath

In its very initial version.
12:24
ecosystem: JJ++ created pull request #507:
Adds kazmath
Geth ecosystem: 02676d9e93 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Adds kazmath

In its very initial version.
12:29
ecosystem: 6345d6ae9e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #507 from Raku/JJ-patch-13

Adds kazmath
Geth whateverable: 46be6ed2f5 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 3 files
Turn `upload` into a sub

Lately everything was turned into subs because it's more useful this way.
13:32
Geth doc: 8d50bbd8f8 | Coke++ | doc/Language/variables.pod6
fix word variant
14:34
doc: 3ac4af0b1f | Coke++ | doc/Language/variables.pod6
prefer spaces after commas.
linkable6 Link: docs.raku.org/language/variables
Geth whateverable: 99322b00a6 | (Aleks-Daniel Jakimenko-Aleksejev)++ | xt/lib/Testable.pm6
Use double quotes (oops)
14:36
[Coke] JJMerelo: hi 15:03
.tell JJMerelo getting failures on xt/p6doc-blackbox.t again - wondering if we can sunset this now that we have the new repo with rakudoc.
tellable6 [Coke], I'll pass your message to JJMerelo
JJMerelo [Coke] yes, we should. rakudoc is released, only it's not totally tested. Much better than the current state of p6doc anyway. 15:04
Please ping the corresponding issue, and I'll try to take care of this before the end of the week. 15:05
[Coke] haven't opened a ticket yet, will try to remember after $dayjob - thanks! 15:06
melezhik .tell JJMerelo I'd like to see some use cases / scenarios how you'd see these checks - github.com/Raku/ecosystem/issues/505 15:07
tellable6 melezhik, I'll pass your message to JJMerelo
JJMerelo Hi, melezhik 15:08
melezhik Hi!
JJMerelo I don't know if you have seen this github.com/niner/Inline-Python/blo...META6.json
I think it's the only example of a META6 that includes external requirements.
melezhik I have. I am asking about more higher level view , provided that we know _how_ to provide this data 15:09
JJMerelo It's barely documented, and I don't think it's actually used by zef. But I think that if we're going to deploy the specification throughout the ecosystem, it's what we should use. 15:10
melezhik say, all devs start diligently writing all external deps through Meta for theirs modules, then what?
JJMerelo Ah, OK 15:11
I guess write some humongous GitHub action to take care of it?
using your stuff?
melezhik GitHub action for what?
JJMerelo Carry out tests 15:12
in Raku/ecosystem, we don't do much more than that...
We check the META6.json, we download and run tests. Which fail if there's some external dependency...
melezhik so, you mean tests for community modules? what blin does?
JJMerelo Blink does it for releases; I'd want it for those uploaded for the ecosystem.
ideally, there should be some way also for those in CPAN, but that will have to run in an external infraestructure. 15:13
The principle is the same anyway.
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2020/06/15/2020-...proaching/ 15:14
JJMerelo retweets, likes, and so on.
melezhik jjatria rakudist now covers both CPAN and github modules BTW 15:17
melezhik so, the problem like I said, it's all makes a sense if people do provide info in Meta for external dependencies 15:17
JJMerelo melezhik that's great. Still, I'd like to be able to use it when someone uploads a new module, as an initial test. Right now we can't. So I guess using Meta for that is the standard way to go. 15:18
melezhik also like you said "I don't think it's actually used by zef" is also a question
do we want to utilize META6 to pass information which is not going to be consumed by zef ?
JJMerelo melezhik well, zef can't really know how to install all different kind of things.
melezhik the thing is, that's the spec, so we should use it. 15:19
melezhik yeah, I am not asking if it can, I am just highlighting that it seems to me, now META is primary domain of zef, is not it?
JJMerelo melezhik that we probably need something else, well, that's almost for sure.
melezhik not really. It's metadata for different things in the ecosystem. 15:20
it's read by the ecosystem when it's submitted for the first time, it's used for reverse and forward dependence analysis...
melezhik as for rakudist , like I said it uses Sparrow automation under the hood - github.com/melezhik/RakuDist/blob/...parrowfile 15:21
so it's not a big deal to this pieces of logic to this scenario
JJMerelo melezhik so what I was thinking about is to create a GitHub action that uses Sparrow to grab dependencies, as read from the META6.json 15:22
melezhik that gets an external deps information from whatever source and use it to install dependencies and finally run zef tests and report any errors
JJMerelo and then test.
OK, so tests are a given. So much better
melezhik GitHub action could call RakuDist API
github.com/melezhik/RakuDist/blob/...on-example 15:23
not necessarily run Sparrow scripts directly
though the last is also doable, but mean doing a whole new pieces of software
JJMerelo OK. But that's hosted somewhere, right? 15:24
melezhik yes!
as mentioned in the documentation - rakudist.raku.org/
JJMerelo OK. Whatever way you think is better, is fine for me. 15:26
melezhik well I mean we could try various options ... 15:26
JJMerelo Nothing is free, so I guess we'll have to work, but in the end, the ecosystem will be better.
melezhik what do you be "ecosystem will be better"?
be -> mean 15:27
JJMerelo Well, we will be able to install only those that have well-specified dependencies, and those will also be tested before being included in the ecosystem. 15:29
melezhik so it will work as a quality gate? only those that have valid META (with ext dependecies declared) and pass tests will be merged to eco system, is it what you mean? 15:30
JJMerelo melezhik well, that's what we do now with those without external dependencies. That would be good for starters. 15:33
But at the end, the real benefit would be the specification of external dependencies in a standard way
Altai-man_ u: 15:48
unicodable6,
AlexDaniel Altai-man_: that's a vertical tab I think 15:51
m: say 0x0B
camelia 11
AlexDaniel m: say 0x0B.uniname
camelia <control-000B>
Altai-man_ AlexDaniel, thanks, just wanted to make 100% sure I have the right character in my files.
AlexDaniel unicodable6: f
unicodable6 AlexDaniel, Found nothing!
AlexDaniel m: say 0x0B.chr 15:52
camelia
AlexDaniel e: say 0x0B.chr
evalable6
AlexDaniel yeah that's the one
arguably evalable6 is a bit too smart with its transformations :)
oddp Thanks a lot, dear contributors, for providing interesting stuff in the RWN week after week! 17:43
leont gfldex++ # the topic is the topic 18:07
Geth whateverable/master: 4 commits pushed by (Aleks-Daniel Jakimenko-Aleksejev)++ 21:23
whateverable: 4e8c4a4fea | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Committable.p6
Pass ENV in committable (oops)

Surprisingly not caught by tests, but I believe some features would not work otherwise.
21:28