🦋 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. |
|||
00:25
leont left
00:54
Altai-man_ joined
00:56
sena_kun left
01:11
oddp left,
Sgeo_ left
01:21
cpan-raku left
01:26
cpan-raku joined,
cpan-raku left,
cpan-raku joined,
molaf left
01:38
molaf joined
01:39
Sgeo joined
01:54
Cabanossi left
02:02
Cabanossi joined
02:13
AlexDani` joined
02:15
AlexDaniel left
02:27
Cabanossi left
02:28
vrurg left
02:29
vrurg joined
02:31
Cabanossi joined
02:32
vrurg_ joined
02:33
vrurg left
02:45
dataangel left
02:55
sena_kun joined
02:56
Altai-man_ left
02:58
wamba joined,
dataangel joined
03:23
kst left
03:36
Sgeo_ joined
03:37
vrurg_ is now known as vrurg
03:39
Sgeo left
03:40
__jrjsmrtn__ joined
03:42
_jrjsmrtn left
03:44
zacts joined
04:00
stoned75 left
04:02
stoned75 joined
04:27
MilkmanDan left
04:29
MilkmanDan joined
04:39
OpenZen left
04:52
rbt left,
rbt joined
04:53
softmoth__ left
04:54
Altai-man_ joined
04:56
sena_kun left
04:59
zacts left
05:03
wamba left
05:10
wamba joined
05:22
xinming_ left
05:23
xinming_ joined
05:24
kensanata joined
05:28
aborazmeh joined,
aborazmeh left,
aborazmeh joined
05:40
rindolf joined
05:57
kensanata left
06:01
kensanata joined
06:13
zacts joined
06:17
skids joined
06:27
brtastic joined
06:28
skids left
06:36
brtastic1 joined
06:39
molaf left
06:46
sten_ joined
06:47
kensanata left
06:55
sena_kun joined
06:57
Altai-man_ left
07:08
brtastic1 left
|
|||
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 | |||
07:15
JJMerelo joined
07:32
JJMerelo left
07:36
Roamer` left,
sten_ left,
dakkar joined
07:41
aborazmeh left
07:47
fluca1978 joined
|
|||
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; | |||
07:50
leont joined
|
|||
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 | |
07:56
Sgeo_ left
|
|||
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 😜 | |||
08:05
rindolf left
08:08
sten_ joined
08:10
kensanata joined
08:13
sten_ left
08:19
neheist joined
08:29
pecastro joined,
brtastic left
08:36
sarna joined
08:42
wamba left
|
|||
sena_kun | RFC: gist.github.com/Altai-man/b0d23ec5...37cddf3bc9 | 08:48 | |
08:48
SpiceMan left
08:54
Altai-man_ joined
08:55
sten_ joined,
rbt left,
rbt joined
08:57
sena_kun left
09:00
sten_ left
09:05
zacts_pi joined
09:06
brtastic joined,
Roamer` joined
09:08
zacts left
09:17
neheist left
09:29
kensanata left
09:35
oddp joined
09:36
andrzejku joined
09:37
fluca1978 left
09:39
rindolf joined
09:56
AlexDani` is now known as AlexDaniel,
AlexDaniel left,
AlexDaniel joined
10:07
skids joined
10:10
rbt left
10:11
rbt joined
10:13
skids left
10:40
brtastic left
10:47
thowe left
10:52
no-n joined
10:55
sena_kun joined
10:56
sten_ joined,
patrickb joined
10:57
Altai-man_ left
11:00
sten_ left
11:05
brtastic joined
11:14
no-n left
11:16
sten_ joined
11:54
aborazmeh joined,
aborazmeh left,
aborazmeh joined
12:02
rindolf left
12:12
aborazmeh left
|
|||
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 |
|||
12:26
sten_ left
|
|||
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 |
|||
12:42
kensanata joined
12:54
Altai-man_ joined
12:56
sena_kun left
12:57
Altai-man_ is now known as sena_kun
13:03
soursBot joined
13:10
wamba joined
13:17
kensanata left
13:20
dataange` joined
13:21
dataangel left
13:26
mst left,
mst joined,
melezhik joined
13:27
soursBot left
13:30
mst left,
mst joined,
mst left,
mst joined
13:31
greppable6 left
13:32
greppable6 joined
|
|||
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 | |
13:32
greppable6 left
13:34
greppable6 joined
13:35
melezhik left,
greppable6 left,
greppable6 joined
13:36
greppable6 left
13:38
greppable6 joined
14:05
sarna left
14:06
kensanata joined
14:31
MasterDuke left
14:34
oddp left
|
|||
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 | ||
14:36
mst left,
mst joined
|
|||
Geth | whateverable: 99322b00a6 | (Aleks-Daniel Jakimenko-Aleksejev)++ | xt/lib/Testable.pm6 Use double quotes (oops) |
14:36 | |
14:37
soursBot joined,
melezhik joined
14:42
molaf joined
14:51
JJMerelo joined,
rindolf joined
14:52
MasterDuke joined,
andrzejku left
14:54
Altai-man_ joined
14:55
zacts_pi left,
zacts joined
14:56
patrickb left
14:57
sena_kun left
15:01
Sgeo joined
|
|||
[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 | ||
15:04
patrickb joined
|
|||
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 | |
15:17
soursBot left
|
|||
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 | |
15:26
oddp joined
|
|||
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 | |
15:32
brtastic left
|
|||
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 | |||
15:34
zacts left
15:36
andrzejku joined
|
|||
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 :) | |||
15:54
soursBot joined
15:55
kensanata left
15:58
soursBot left
15:59
mst left,
mst joined
16:04
andrzejku left
16:21
dataange` is now known as dataangel
16:22
dataangel left
16:23
dataangel joined
16:26
zacts joined
16:35
JJMerelo left
16:38
patrickb left
16:40
dakkar left
16:43
molaf left
16:51
clem16 left
16:53
melezhik left,
MasterDuke left
16:55
sena_kun joined
16:57
helit joined,
helit left,
Altai-man_ left
17:01
helit joined,
team\andinus is now known as thisisevenlonger,
thisisevenlonger is now known as team\andinus,
rbt left,
team\andinus is now known as notandinus
17:02
rbt joined
17:14
skids joined
17:16
stoned75 left
17:18
stoned75 joined
|
|||
oddp | Thanks a lot, dear contributors, for providing interesting stuff in the RWN week after week! | 17:43 | |
17:44
JRaspass joined
17:57
melezhik joined
|
|||
leont | gfldex++ # the topic is the topic | 18:07 | |
18:08
molaf joined
18:14
mst left,
mst joined
18:35
shlomif joined
18:36
rindolf left
18:37
shlomif is now known as rindolf
18:52
brtastic joined,
MasterDuke joined
18:54
Altai-man_ joined
18:57
sena_kun left
19:20
melezhik left
19:37
lichtkind joined
19:43
kst joined
19:44
molaf left,
pepe_70 left
19:49
zacts left
19:52
lichtkind left
19:56
soursBot joined
20:16
molaf joined
20:20
brtastic left
20:33
gordonfish left
20:34
gordonfish joined
20:40
mst left,
stoned75 left,
mst joined,
kensanata joined
20:55
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
sena_kun joined
20:57
rindolf left,
Altai-man_ left
21:00
dataangel left
21:01
soursBot left
21:03
lichtkind joined
21:04
rbt left
21:05
soursBot joined,
rbt joined,
dataangel joined
21:16
stoned75 joined
21:18
soursBot left
|
|||
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 | ||
21:35
OpenZen joined
22:08
kensanata left
22:10
wamba left
22:15
stoned75 left
22:28
aborazmeh left
22:36
xelxebar left
22:38
xelxebar joined
22:54
Altai-man_ joined,
pecastro left
22:57
sena_kun left
23:00
Black_Ribbon joined
23:07
JRaspass left
23:16
aborazmeh joined,
aborazmeh left,
aborazmeh joined
23:27
Cabanossi left
23:37
Cabanossi joined
|