🦋 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:02
lichtkind left
00:03
chloekek_ left
00:04
pecastro left
00:16
xinming_ left,
xinming_ joined
00:17
mowcat left
00:25
stux|RC left
00:53
stux|RC joined
00:54
Altai-man_ joined
00:56
sena_kun left
01:03
rir joined
01:05
sno left
01:06
cpan-raku left
01:07
cpan-raku joined,
cpan-raku left,
cpan-raku joined
01:08
sno joined
01:10
rir left
01:27
oddp left
01:28
molaf left
01:38
zacts joined
01:40
molaf joined
01:59
zacts left
02:00
zacts joined
02:05
Manifest0 left
02:06
Manifest0 joined
02:07
Cabanossi left
02:11
Cabanossi joined
|
|||
jdv79 | where is any sort of real timeout functionality done in terms of networking or such? | 02:16 | |
i don't see anything in IO::Socket, for example | 02:17 | ||
also, where and/or how could/would that sort of thing be done, say, in cro or another random network client/server? | 02:18 | ||
and i imagine a "timeout" may or may not involve cancellation(s)? | 02:19 | ||
02:20
bdju left
02:21
zacts left,
bdju joined
02:23
zacts joined
02:36
caasih left
02:40
timeless left
02:55
sena_kun joined
02:56
Altai-man_ left
03:16
OpenZen left
03:22
timeless joined,
caasih joined
03:47
timeless left
03:53
timeless joined
03:56
zacts left
03:57
zacts joined
04:02
timeless left
04:03
caasih left
04:10
rbtca left
04:11
rbtca joined
04:14
rbtca left,
caasih joined
04:15
rbtca joined,
timeless joined
04:23
wamba joined,
zacts_pi joined
04:26
zacts left
04:54
Altai-man_ joined
04:56
sena_kun left
04:57
syntaxman left
05:01
syntaxman joined
05:02
syntaxman left
05:16
stoned75 joined
05:20
aborazmeh joined,
aborazmeh left,
aborazmeh joined
05:21
xinming_ left
05:23
sauvin joined
05:24
xinming_ joined
05:39
molaf left
06:25
aborazmeh left
06:35
xelxebar left
06:36
xelxebar joined
06:38
softmoth left
06:44
aborazmeh joined,
aborazmeh left,
aborazmeh joined
06:49
tejr left
06:53
tejr joined
06:55
wamba left,
sena_kun joined
06:56
Altai-man_ left
06:58
wamba joined
07:04
JJMerelo joined
07:10
stoned75 left,
mns left
07:11
andrzejku left
07:12
mns joined
07:16
tejr left
07:17
tejr joined
07:18
wamba left
|
|||
Geth | doc: af09828b71 | (Wenzel P. P. Peppmeyer)++ (committed using GitHub Web editor) | doc/Type/Block.pod6 sometimes one needs an empty block |
07:24 | |
doc: e27764192f | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Block.pod6 Merge pull request #3474 from gfldex/patch-16 sometimes one needs an empty block |
|||
linkable6 | Link: docs.raku.org/type/Block | ||
07:34
soursBot joined
07:42
xinming_ left,
soursBot left
07:44
xinming_ joined,
soursBot joined
07:48
ukine left,
ukine joined
08:03
soursBot left
08:12
molaf joined
08:14
soursBot joined
08:16
patrickb joined
08:17
kensanata joined,
rbtca left,
rbtca joined
08:31
grondilu joined
|
|||
grondilu | One javascript feature I wish was in raku is the way variables declarations can be chained. Like 'let x = 13, y = x + 1, z = 2*x;' It's not possible to do anything like that in raku with just one line, is it ? | 08:33 | |
08:34
chloekek_ joined
|
|||
grondilu | (or 'let x = 13, y = x + 1, z = 2*y' | 08:34 | |
) | |||
I would have to write 'my $x = 14; my $y = $x + 1; my $z = 2*$y', wouldn't I? | 08:35 | ||
m: my ($x,$y,$z) = 13, $x + 1, 2*$y; | 08:37 | ||
camelia | Use of uninitialized value of type Any in numeric context in block <unit> at <tmp> line 1 Use of uninitialized value of type Any in numeric context in block <unit> at <tmp> line 1 |
||
08:39
lichtkind joined
08:44
rindolf joined
08:46
finanalyst joined
08:54
Altai-man_ joined
08:56
aborazmeh left,
sena_kun left
|
|||
JJMerelo | m: my $z = 2*( my $y = (my $x = 13) +1 ) | 08:57 | |
camelia | ( no output ) | ||
JJMerelo | m: my $z = 2*( my $y = (my $x = 13) +1 ); say $z | ||
camelia | 28 | ||
JJMerelo | grondilu ^^ | ||
08:59
epony left,
__jrjsmrtn__ joined
09:03
soursBot left
09:05
xelxebar left,
Sgeo left,
xelxebar joined
|
|||
grondilu | JJMerelo: nice. cumbersome, though. | 09:08 | |
09:08
epony joined
|
|||
grondilu | you probably can do without the parens | 09:08 | |
09:08
soursBot joined
|
|||
grondilu | m: my $z = 2* my $y = 1 + my $x = 14; | 09:08 | |
camelia | ( no output ) | 09:09 | |
grondilu | m: my $z = 2* my $y = 1 + my $x = 14; say "$x $y $z" | ||
camelia | 14 15 30 | ||
grondilu | This is actually usable, even if the order of the declarations is reversed. | 09:10 | |
though it won't work if variable is used twice. | 09:11 | ||
09:13
lichtkind_ joined
09:16
lichtkind left
09:23
oddp joined
09:24
kensanata left
09:35
soursBot left
09:41
soursBot joined
|
|||
patrickb | How would I write a test for a "Use of uninitialized value of type Any in numeric context" warning? | 09:46 | |
MasterDuke | there's a `warns-like` used in roast | 09:47 | |
also `doesn't-warn` | 09:48 | ||
patrickb | That's not documented :-( | ||
ah. It's part of roast Test/Util | 09:50 | ||
MasterDuke | github.com/Raku/roast/blob/master/...l.pm6#L643 | ||
10:04
xinming_ left
10:06
xinming_ joined
10:08
leont joined
|
|||
patrickb | I just had some email back and forth with supernovus. He supports the idea of pulling most of his modules to raku-community-modules. I have a list of which ones make sense to pull. The list has 21 repos to pull. How would one go about this? | 10:17 | |
10:20
Black_Ribbon left
|
|||
patrickb | Can someone invite supernovus to the raku-community-modules project? | 10:23 | |
10:24
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
JJMerelo | patrickb on it | 10:41 | |
patrickb well, no, I can't | 10:42 | ||
Try AlexDani` or Altai-man_. And while they're at it, maybe they can add me too? | 10:43 | ||
AlexDaniel` | lizmat: ↑ | 10:44 | |
lizmat | invite sent | 10:45 | |
also made sure that JJMerelo can send invites in the future | 10:47 | ||
JJMerelo | Thanks | 10:52 | |
10:55
sena_kun joined,
kensanata joined
10:56
Altai-man_ left
|
|||
JJMerelo | lizmat got it | 10:58 | |
I see the invitation to supernovus has been already sent. | |||
lizmat | yeah, I did that first :-) | 11:07 | |
11:24
aborazmeh left
11:26
xinming_ left,
xinming_ joined
|
|||
oddp | How do I destructure pairs? for <1 2 3>.pairs -> (???) { ... } Or is .key/.value my only option here? | 11:38 | |
ShimmerFairy | m: say <a b c>.kv.perl | 11:42 | |
camelia | (0, "a", 1, "b", 2, "c").Seq | ||
oddp | Sure, but assume I'm getting pairs back and not :kv. | 11:45 | |
lizmat | m: for <1 2 3>.pairs -> (:$key,:$value) { dd $key, $value } # ShimmerFairy | ||
camelia | 0 IntStr.new(1, "1") 1 IntStr.new(2, "2") 2 IntStr.new(3, "3") |
||
lizmat | note that that is just calling the .key / .value method for you | 11:46 | |
m: for <1 2 3>.pairs -> (:key($k),:value($v)) { dd $k, $v } # if you want other variable names | |||
camelia | 0 IntStr.new(1, "1") 1 IntStr.new(2, "2") 2 IntStr.new(3, "3") |
||
oddp | That should do, thanks a lot, lizmat! | 11:48 | |
lizmat | oops, sorry ShimmerFairy, meant oddp | 11:49 | |
11:50
JJMerelo left
11:53
kensanata left
12:16
grondilu left
12:37
chloekek_ is now known as chloekek
12:43
erdic joined
|
|||
Geth | p6-sake: patrickbkr++ created pull request #28: Renames |
12:45 | |
p6-sake: 047849c49b | (Patrick Böker)++ | 2 files Perl 6 -> Raku |
12:46 | ||
p6-sake: e7fe20b177 | (Patrick Böker)++ | README.md Rakudobrew -> rakubrew |
|||
p6-sake: cf45815323 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 2 files Merge pull request #28 from patrickbkr/renames |
|||
AlexDani` | patrickb: are you trying to use sake for anything? | 12:48 | |
12:48
AlexDani` is now known as AlexDaniel,
AlexDaniel left,
AlexDaniel joined
|
|||
patrickb | AlexDaniel: Yes. | 12:50 | |
I'm working on a tool to generate native exec runner programs | |||
Needs to do some C compiling. | |||
AlexDaniel | patrickb: can you rename it to `ake`? `maku` is a funny alternative but tab-completion works so much better with ake | ||
patrickb | And as I'm an outspoken make hater, I thought I'd give sake a try. | 12:51 | |
what's wrong with 'sake'? | |||
AlexDaniel | patrickb: see github.com/perl6/p6-sake/issues/19 | ||
12:54
Altai-man_ joined
|
|||
patrickb | AlexDaniel: I can have a look. We don't want to start bikeshedding again, do we? Just go for 'ake'? | 12:55 | |
AlexDaniel | patrickb: yeah, in this case bikeshedding was already done | ||
12:56
sena_kun left
|
|||
patrickb | Is using '.rakumod' encouraged by now? I think I remember it being discouraged to still work on older compilers... | 12:58 | |
AlexDaniel | patrickb: there are a bunch of upvotes, it was proposed by audrey herself, it's not taken by any binary, it should autocomplete from akTAB on most systems unlike maku which requires to write it fully, Makufile looks too similar to Makefile while Akefile is positively distinct | ||
patrickb: you can use .rakumod or .my-lovely-modules, it makes no difference for installed modules because META6.json defines your module files | 12:59 | ||
patrickb | I'll go for 'ake'. | ||
fine then :-) | |||
AlexDaniel | thank you :) | 13:00 | |
patrickb | Does the 'not discouraged' bit also apply to '.rakutest'? | 13:01 | |
AlexDaniel | patrickb: if you use .t and include a raku shebang in your files then `make` will work by default without requiring any extra options | 13:04 | |
sorry not make but `prove` | |||
soooo… I don't see any point in .rakutest :S | |||
patrickb | So we should stick with '.t' until prove6 is the thing everyone uses. | ||
13:05
zacts_pi left
|
|||
AlexDaniel | maybe? | 13:05 | |
13:06
zacts_pi joined
13:07
stoned75 joined
13:10
zacts_pi left
13:15
finsternis left,
soursBot left
|
|||
patrickb | AlexDaniel: I'll create a new repo github.com/Raku/raku-ake and push the rename there. Then put a rename notice on perl6/p6-sake. Right? | 13:20 | |
AlexDaniel | patrickb: no, let's just move it | 13:21 | |
patrickb | What about current users of sake? | ||
Moving it will kill sake from the ecosystem. | 13:22 | ||
AlexDaniel | moved! | 13:23 | |
patrickb: the repo placement doesn't have much to do with the rename. Github will set up redirects and it'll work | |||
patrickb | Then we need to set up a new release on p6c to reference the last sake commit to keep it working. | 13:24 | |
AlexDaniel | patrickb: I think as long as you have "provides" : { "Sake" : "…" } it will be installable | ||
patrickb | Ah! So you want it to provide an alias. | 13:25 | |
AlexDaniel | yea | ||
Geth | ecosystem: pmqs++ created pull request #506: Moved to CPAN |
||
AlexDaniel | this way we only have one repo, and people will get the newest version, and everything will be clean and nice :) | ||
patrickb: as for ake itself as a tool, feel free to modify it to suit your needs. When I first touched it, it was in a somewhat weird state. I think I made it more usable, and I wrote a lot of tests, but because there were no tests before I might have broken it in some ways… I'm not sure | 13:26 | ||
patrickb: this thing: github.com/Raku/ake/commit/8d54732...1d72ab25f1 | 13:29 | ||
13:32
soursBot joined
|
|||
patrickb | AlexDaniel: I have now renamed the entire thing. How do I go about creating an alias? Duplicating the lib/Ake.pm6 file to lib/Sake.pm6 feels wrong. | 13:32 | |
AlexDaniel | patrickb: that's the tricky part :) I think it should `use Sake` and also do the same `EXPORT` | 13:33 | |
Geth | ecosystem: c3c200a113 | (Paul Marquess)++ (committed using GitHub Web editor) | META.list Moved to CPAN |
13:37 | |
ecosystem: 0e108f8bcc | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | META.list Merge pull request #506 from pmqs/master Moved to CPAN |
|||
AlexDaniel | patrickb: there are not that many users, so don't worry about it too much | 13:38 | |
just make it work more or less :) | |||
13:39
cpan-raku left
13:40
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|
|||
Geth | ake: patrickbkr++ created pull request #29: Rename sake to ake |
13:56 | |
AlexDaniel | patrickb: maybe *do* provide `sake` executable for now? | 14:05 | |
patrickb: there might not be automated calls but documentation and other stuff can refer to “sake” | |||
patrickb: like here: github.com/Raku/whateverable/wiki/...the-server | |||
patrickb | But it won't be installable via `zef install sake` anyways, right? | 14:06 | |
(notice the lowercase 's') | |||
14:06
pmurias joined
|
|||
AlexDaniel | patrickb: zef used to understand that (e.g. maybe try installing json::fast, it should work) | 14:06 | |
pmurias | hi, I moved to Warsaw last Wednesday, any Raku folk living in the city? | 14:07 | |
AlexDaniel | patrickb: also can you hack a backcompat fix here? github.com/Raku/ake/pull/29/files#...56a8dafR11 | 14:08 | |
patrickb: so that things keep working if you have “Sakefile” file | 14:09 | ||
patrickb: if it didn't find a file, a if $file was ‘Akefile’, try ‘Sakefile’ too | |||
and* | |||
patrickb | AlexDaniel: Is there a point in making `ake` look for a `Sakefile` given there is a `sake` executable that will do so? | ||
AlexDaniel | patrickb: oooooooooh | 14:10 | |
14:10
rbtca left
|
|||
AlexDaniel | patrickb: yeah just make `ake` look for Akefile and `sake` look for Sakefile, even simpler, yeah! | 14:10 | |
if that's what you mean | |||
14:10
rbtca joined
|
|||
patrickb | Yes. That has already happened. Look at the PR. | 14:11 | |
AlexDaniel | patrickb: ah. Yea, sorry | 14:12 | |
patrickb: maybe throw in a deprecation `note` in `sake` :) | |||
otherwise looks fine! | |||
14:15
dogbert17 joined
14:17
pmurias left
|
|||
patrickb | AlexDaniel: Done. | 14:17 | |
AlexDaniel | heh that's massive, but will do! | ||
thank you! | |||
Geth | ake: 47682d5516 | (Patrick Böker)++ | 32 files Rename sake to ake As the files move anyways we also change .pm6 to .rakumod. Provide a back-compat `Sake` module to keep current users working. |
14:18 | |
ake: a598347011 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 32 files Merge pull request #29 from patrickbkr/rename-to-ake Rename sake to ake |
|||
14:20
soursBot left
|
|||
AlexDaniel | soursBot? | 14:20 | |
:) | |||
14:21
soursBot joined
|
|||
AlexDaniel | soursBot: help | 14:21 | |
.oO( asking a bot for help, dumb humans! ) |
14:22 | ||
MasterDuke | soursBot: say "whiskey" > "lemon" | 14:23 | |
AlexDaniel | sourceable6: "whiskey" > "lemon" | ||
sourceable6 | AlexDaniel, github.com/rakudo/rakudo/blob/8be2...c.pm6#L329 | ||
AlexDaniel | thank you, sourceable6 | ||
sourceable6 | AlexDaniel, \o/ | ||
AlexDaniel | I'm always surprised how well it works | 14:24 | |
patrickb | releasable6 status | 14:42 | |
releasable6: status | 14:43 | ||
releasable6 | patrickb, Next release in ≈7 days and ≈4 hours. There are no known blockers. 143 out of 282 commits logged (⚠ 4 warnings) | ||
patrickb, Details: gist.github.com/028d229409e67a2ae9...79871f20b5 | |||
14:55
sena_kun joined
14:56
Altai-man_ left
15:32
Noisytoot joined
15:40
_jrjsmrtn joined,
oneeggeach joined
15:42
__jrjsmrtn__ left
16:03
soursBot left
16:08
soursBot joined
16:11
xelxebar left,
xelxebar joined
16:16
finsternis joined
16:18
mowcat joined
16:25
epony left
16:29
Sgeo joined
16:30
epony joined
16:31
softmoth joined
16:37
oneeggeach left
16:51
finanalyst left
16:54
Altai-man_ joined
16:56
sena_kun left
17:05
chloekek left
17:06
mowcat left
17:07
patrickb left
17:15
soursBot left,
soursBot joined
17:18
OpenZen joined
17:38
lichtkind_ left
17:42
lichtkind joined
17:44
chloekek joined
18:03
poohman joined
|
|||
poohman | hello all | 18:04 | |
in Raku regexes must : be escaped with a \? | 18:05 | ||
if yes, what else could it mean in the regex? | |||
timotimo | : is for backtracking control i think? | 18:06 | |
but in general, all non-letters have to be backslashed or quoted to match literally | |||
even if they don't have an assigned meaning without a backslash | |||
poohman | ok | 18:08 | |
Thanks timotimo | 18:09 | ||
CIAvash | How many days does it take to receive a response from PAUSE admins/maintainers for registration? | 18:12 | |
18:12
bdju left
18:13
bdju joined,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
18:25
pecastro joined
18:32
xinming_ left
18:33
xinming_ joined
18:42
aborazmeh left
18:43
xinming_ left,
xinming_ joined
|
|||
lizmat | CIAvash: good question, how many days have you been waiting ? | 18:48 | |
18:48
molaf left
|
|||
CIAvash | lizmat: 3 days so far, I think | 18:49 | |
lizmat | hmmm... lemme see if I can ping someone | ||
18:51
vrurg_ is now known as vrurg
|
|||
Geth | ake: melezhik++ created pull request #30: Black box testing for acke runs as RakuDist |
18:53 | |
18:55
sena_kun joined
18:56
Altai-man_ left
|
|||
lizmat | CIAvash: what login name did you request ? | 19:02 | |
CIAvash | lizmat: CIAVASH | 19:03 | |
19:06
mns left
|
|||
lizmat | CIAvash: I've pinged a PAUSE admin, hope that will help | 19:06 | |
CIAvash | lizmat: thanks | 19:07 | |
19:10
rbtca left,
rbtca joined
19:52
wamba joined
|
|||
softmoth | CIAvash, it took ~3 weeks for me about 2 months ago.... | 19:53 | |
but scheduling of everything was pear-shaped at that time, so I didn't bother to ping anyone. But it *did* get handled! | 19:57 | ||
[Coke] | huh, all my CPAN stuff aged out. | ||
20:05
kensanata joined
20:10
soursBot left
20:14
soursBot joined
20:19
softmoth left
20:21
rindolf left,
Black_Ribbon joined
20:31
orinthe2 joined
20:33
orinthe left,
orinthe2 is now known as orinthe
20:39
soursBot left
20:40
molaf joined
20:54
Altai-man_ joined
20:57
sena_kun left
20:59
finanalyst joined
21:11
sno left
21:14
sno joined
21:21
gurmble joined,
grumble left,
gurmble is now known as grumble
21:26
poohman left
21:27
poohman joined,
dataangel joined
21:44
wamba left
21:55
pilne joined
22:00
poohman left
22:22
poohman joined
22:32
kensanata left
22:44
chloekek left
22:55
sena_kun joined
22:56
poohman left,
Altai-man_ left
23:00
thundergnat left
23:20
poohman joined
23:27
finanalyst left
23:43
finanalyst joined
23:55
poohman left
|