🦋 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:08
Doc_Holliwood left
00:50
BenGoldberg left,
BenGoldberg joined
01:00
pecastro left
01:30
wamba left
01:33
thowe left
01:36
BenGoldberg left,
Ben_Goldberg joined,
Ben_Goldberg is now known as BenGoldberg
|
|||
notagoodidea | if it possible to construct standalone signature object and Signature object, can we provide them to a subroutine at declaration? | 01:40 | |
01:52
pecastro joined,
notagoodidea left
01:55
thowe joined
|
|||
thowe | OK, I think I blew away rakudobrew and installed rakubrew | 01:56 | |
Now to try to rememeber anything about per... I mean Raku | |||
When I do rakubrew available, what do the "D" labels by some versions mean? | |||
02:14
pecastro left
02:52
defaultxr joined
03:19
thowe left
03:25
leont left
|
|||
Geth | doc: 945e4a4ecf | Coke++ | doc/Type/Metamodel/PrivateMethodContainer.pod6 Don't test compile these methods in the metamodel ... it breaks the metamodel and tests then fail |
03:47 | |
linkable6 | Link: docs.raku.org/type/Metamodel::Priv...dContainer | ||
[Coke] | m: $*RAKU.compiler.verbose-config<Raku><version>.split('-') | 03:59 | |
camelia | MVMArray: shift expected string register in block <unit> at <tmp> line 1 |
||
[Coke] | ^^ github.com/Raku/doc/issues/3757 | ||
gist.github.com/Whateverable/34a96...4dbd0f6d35 | 04:04 | ||
which is this commit: github.com/rakudo/rakudo/commit/2c...32098f3ed0 by lizmat | 04:05 | ||
04:16
__jrjsmrtn__ joined,
_jrjsmrtn left
04:18
xelxebar left
04:19
asymptotically2 joined,
xelxebar joined
04:20
tejr left,
asymptotically left
04:22
tejr joined
05:01
sno left
05:03
sno joined
05:10
squashable6 left
05:13
squashable6 joined
05:20
cibs left
05:24
squashable6 left
05:25
squashable6 joined
05:28
Doc_Holliwood joined
05:48
rindolf joined
06:15
BenGoldberg left
06:21
Altai-man joined
06:25
protium left
06:44
aborazmeh joined,
aborazmeh left,
aborazmeh joined
06:47
sivoais_ joined,
sivoais left
06:51
frost-lab joined
07:06
brtastic joined
07:18
Sgeo left
07:22
sivoais_ left,
sivoais joined
07:26
Doc_Holliwood left
07:33
parabolize left
07:46
wamba joined
07:51
aborazmeh left
07:52
sivoais left
07:57
sena_kun joined,
patrickb joined
07:59
Altai-man left
08:03
sivoais joined
08:08
jmerelo joined
08:28
warriors joined
08:31
schlaftier left,
schlaftier joined,
schlaftier left
09:06
BenGoldberg joined
09:11
redhands left
09:35
xinming_ left
09:52
asymptotically2 is now known as asymptotically
10:07
BenGoldberg left
10:16
leont joined
10:26
pecastro joined
|
|||
lizmat | m: $*RAKU.compiler.verbose-config # golfed | 10:27 | |
camelia | MVMArray: shift expected string register in block <unit> at <tmp> line 1 |
||
lizmat | [Coke]: github.com/rakudo/rakudo/commit/ed6e2c8b0e | 10:32 | |
10:35
wamba left,
cpan-raku left
10:42
Doc_Holliwood joined
10:47
cpan-raku joined,
cpan-raku left,
cpan-raku joined
11:08
warriors left
11:14
sjm_uk joined
11:21
wamba joined
11:22
Doc_Holliwood left
|
|||
patrickb | .tell rba A new rakubrew release (v15) is ready for upload. The website itself can also be updated. (As always: rooster.uber.space/patcloud/index....JLQDZcjbf) | 11:49 | |
tellable6 | patrickb, I'll pass your message to rba | ||
patrickb | ping rba ^ | ||
tellable6 | 2020-12-29T17:31:00Z #raku <tony-o> patrickb winpass branch was merged - i need a little more time to look at the user-config stuff | ||
11:56
Altai-man joined
11:59
sena_kun left
12:02
notagoodidea joined
12:03
patrickb left
|
|||
notagoodidea | If we can declare single signature object, can we provide them to a function at declaration time? | 12:03 | |
lizmat | not using Raku syntax, afaik | 12:04 | |
should be possible to do using the MOP, because that's what the raku parser does as well :-) | 12:05 | ||
but it would probably require creating the subroutines from scratch as well using the MOP, so probably pretty difficult | |||
notagoodidea | mm, I feel that don't grasp enough of Raku to try to mess with the MOP. | ||
lizmat | when the RakuAST branch lands, that should probably become a lot easier, but that will take at least until mid 2021 | 12:06 | |
notagoodidea | I was hoping to do something like : ` my $sig = :(Int $a, Int $b); sub foo &sig {*}` or in the like | 12:07 | |
With RakuAST, there is the macro project also? That will be easier with macro lisp-style if available. | |||
lizmat | yes, the RakuAST branch is also intended to make macro's really work in Raku | 12:10 | |
it was one of the reasons for starting that project | |||
12:19
frost-lab left
12:29
squashable6 left
12:31
squashable6 joined
12:41
patrickb joined
12:59
BenGoldberg joined
|
|||
guifa2 | What would be a good name for a Yes/No prompt module? IO:YesNo? Prompt::YesNo? Or something else for the TLD? | 13:01 | |
notagoodidea | Prompt::YesOrNo ? Is it only for prompt or it is generalized to work with GUI or TUI like Ncurses? | 13:03 | |
timotimo | is it like a terminal thing or GUI or adaptive or something? | ||
guifa2 | CLI and only for prompting yes / no — trying to take advantage of CLDR's stuff | 13:07 | |
So English would pop out: '[y/n] ', and process accordingly. Spanish would have '[s/n] ', Korean '[예/아니요] ', etc | 13:08 | ||
notagoodidea | timotimo: The other day about the where clause, I found in the docs the Str $foo? where { !$foo.defined or $foo eq "foo" } for more robust optional positional argument + where clause without default values. | 13:09 | |
timotimo | right | 13:12 | |
13:13
jmerelo left
13:26
domidumont joined
13:36
wamba left
13:39
brtastic left,
brtastic joined
13:47
domidumont left
13:50
wamba joined
13:51
xinming joined
14:01
Doc_Holliwood joined
14:35
BenGoldberg left
14:49
Sgeo joined
|
|||
tbrowder | hi, is anyone here using Cro behind a reverse proxy on a public https front end on Apache? if so, care to share the pertinent chunk of html conf file (suitably sanitized)? thnx | 15:12 | |
moritz | tbrowder: perlpunks.de/paste/show/5fec9980.1b32.307 | 15:15 | |
tbrowder: the interesting bits are likely AllowEncodedSlashes On, ProxyPass "/" "127.0.0.1:10000/" nocanon and matching ProxyPassReverse | 15:17 | ||
the cro application is *very* simple, a datetime conversion for a sci fi game with its own date format | |||
alert.tauguide.de/ | |||
disclaimer: I've cobbled that together until it worked, haven't expanded any effort on reduing it to a minimal config | 15:18 | ||
the `ProxyPass /.well-known !` is related to Let's Encrypt ACME challenges | 15:21 | ||
15:31
parabolize joined
|
|||
guifa2 | And it's done: github.com/alabamenhu/Intl-CLDR/pull/1/ | 15:39 | |
Intl::CLDR goes zoom zoom with massive speed and efficiency improvements. | 15:40 | ||
notagoodidea | guifa2: congrats! | 15:46 | |
lizmat | guifa++ | 15:50 | |
Geth | ecosystem/alabamenhu-patch-2: 4a4e1707ef | L'Alabameñu++ (committed using GitHub Web editor) | META.list Add Intl::Format::List to the ecosystem |
15:53 | |
ecosystem: alabamenhu++ created pull request #573: Add Intl::Format::List to the ecosystem |
|||
15:57
sena_kun joined
|
|||
guifa2 | travis-ci.com/github/Raku/ecosyste.../211314342 <-- is this expected for modules with external module dependencies ? | 15:58 | |
15:59
Altai-man left
16:20
jmchael left
16:24
Doc_Holliwood left
|
|||
tony-o | littlebenlittle: you might have a look at Grammar::Tracer | 16:32 | |
16:51
asymptotically left,
xelxebar left,
asymptotically2 joined,
xelxebar_ joined
16:52
tejr left,
asymptotically2 is now known as asymptotically
16:53
tejr joined
16:59
melezhik joined
|
|||
melezhik | I am looking for a free/very cheep server(s) to Spin up a test Sparky instance for dog fooding - github.com/melezhik/sparky/issues/9 , any ideas, feedback I'd appreciate cc rba | 17:00 | |
cheep -> cheap | 17:01 | ||
17:01
domidumont joined
17:07
brtastic left,
brtastic joined
|
|||
tony-o | melezhik: please check out data::dump - the module should be fixed now | 17:26 | |
17:26
BenGoldberg joined
17:32
Doc_Holliwood joined
|
|||
tbrowder | moritz: thanks! so it looks like your cro server is running at <127.0.0.1:10000>, am i reading that correctly? | 17:47 | |
18:00
BenGoldberg left
|
|||
moritz | tbrowder: correct | 18:06 | |
tbrowder | moritz: i think that's enough to start experimenting with cro on the backend, thnx so much! | 18:08 | |
18:08
jmchael joined
|
|||
tbrowder | melezhik: try digital ocean | 18:10 | |
18:11
mowcat joined
|
|||
melezhik | tbrowder ++ | 18:12 | |
tony-o , cool thanks! | |||
tbrowder | vultr is cheaper, but i think do has much more support and docs | 18:13 | |
melezhik | ok, thanks ... will take a look at both ... | 18:16 | |
moritz | hetzner is a German low-cost hosting company, they also have some cloud-y offering | 18:22 | |
www.hetzner.com/cloud starts at 0.5c/h | 18:23 | ||
tbrowder | m: my $s = 'un'; say $s.contains('u'); | 18:26 | |
camelia | True | ||
18:32
mowotter joined
18:34
sjm_uk left,
mowcat left
18:35
domidumont left
18:38
melezhik left
18:43
jmerelo joined
|
|||
jmerelo | .tell guifa2 IO::Prompt? IO::Boolean? | 18:44 | |
tellable6 | jmerelo, I'll pass your message to guifa2 | ||
guifa2 | jmerelo: the travis build failed because it's missing an external dependency | 18:51 | |
jmerelo | guifa2: right. I didn't drill down to search which was which. That something was missing was clear, anyhow. | ||
guifa2 | jmerelo: should I expect it to fail in that case? I wasn't sure and didn't want to merge the PR if not | 18:52 | |
jmerelo | guifa2: of course. If it does not find it, it will simply fail. | ||
guifa2 | ah okay, I didn't know if it held onto all modules in the ecosystem (or built required dependencies as needed) | 18:53 | |
jmerelo | guifa2: it uses zef to try and install the dependencies, and clones the module (from the META6.json source) to try and install it, failing if it does not. | ||
Basically tries to find out what would happen if you would try to install it once accepted into the ecosystem. | 18:54 | ||
guifa2 | yeah, that's weird that it says it can't find Intl::CLDR then | ||
it's clearly in the ecosystem | |||
(although I have to up my ulimit -n to install it, which might be the problem) | 18:55 | ||
jmerelo | guifa2: let me have a look. Sometimes it happens because it's not available _in that phase_ | 18:56 | |
guifa2 | alright, I'm about to be afk, but let me know what you see. Whatever stuff is happening here may be an issue for the future modules I'm pulling out of Intl::CLDR | 19:02 | |
jmerelo | guifa2: cool module, too :-) | 19:03 | |
guifa2 | jmerelo: oh the cooler stuff is yet to come | ||
jmerelo | guifa2: I can't install Intl::Cldr, there's an error | 19:06 | |
19:12
Doc_Holliwood left
|
|||
jmerelo | guifa2: you've got a PR. Going AFK again now. | 19:13 | |
guifa2 | jmerelo: I just did an uninstall and reinstall and the error for Intl::CLDR was obvious. Arg this is what happens when I don't try clean installs | ||
jmerelo | guifa2: :-) | 19:14 | |
guifa2: no problem. I love your README.md with the quotations in Asturianu :-) Should do something with mine, making quotations in Ubedí (which is not a thing, I know, but still...) | |||
guifa2 | jmerelo: I'm trying to add little quotes here and there. I think Camões is best for DateTime | 19:15 | |
"Mudam-se os tempos, mudam-se as vontades" ;-) | |||
jmerelo | guifa2: contraposed to "Il gatopardo", "Everything must change so that everything remains the same" | 19:16 | |
Haven't read Camoes. I don't think I've read anything by a Portuguese author. | |||
guifa2: that's the thing with us peninsulars, we kind of ignore each other. Or rather we ignore the Portuguese, while they mostly know everything about us. | 19:17 | ||
guifa2 | also that PR I'm going to nuke the whole Intl::Numbers namespace instead, that's some of the stuff that's getting yanked out and put into new modules, so it should be in the META6.json at all (but the META6 is autogenerated now based on all module files, and I always forget to go back and remove stuff) | ||
jmerelo | anyway, really going AFK now. Have a nice evening :-) | ||
19:18
jmerelo left
19:24
seanrobert joined
19:35
melezhik joined
|
|||
melezhik | moritz, yeah I heard about hetzner | 19:35 | |
thanks | |||
19:44
kst` left,
kst joined
19:50
Grauwolf left,
Grauwolf joined
19:56
[Sno] joined,
Altai-man joined
19:57
sno left
19:59
sena_kun left
20:05
b2gills left
20:06
MasterDuke left
20:16
lucasb joined
20:21
melezhik left
20:22
Doc_Holliwood joined
20:23
MasterDuke joined
20:27
b2gills joined
20:51
BenGoldberg joined
21:05
littlebenlittle left
21:06
littlebenlittle joined
21:25
BenGoldberg left,
Xliff joined
21:40
brtastic left
|
|||
Xliff | \o | 21:59 | |
Are there any decent Matrix classes for Raku? | |||
Or have shaped arrays matured to the point I can take slices, yet? | |||
m: my @a[2; 3]; @a = [ [1, 1, 3]; [2, 3, 4] ]; @a.gist.say; | 22:00 | ||
camelia | [[1 1 3] [2 3 4]] |
||
Xliff | m: my @a[2; 3]; @a = [ [1, 1, 3]; [2, 3, 4] ]; @a.gist.say; @a[ *; 2].gist.say | ||
camelia | [[1 1 3] [2 3 4]] Partially dimensioned views of shaped arrays not yet implemented. Sorry. in block <unit> at <tmp> line 1 |
||
Xliff | :( | ||
is this on anyone's radar? | 22:01 | ||
m: my $c = 3; my @a[$c]; | 22:02 | ||
camelia | ( no output ) | ||
Xliff | OK, well that works. ;) | ||
m: my @a = Array.new( shape => [2, 3] ); | 22:05 | ||
camelia | ( no output ) | ||
Xliff | m: my @a = Array.new( shape => [2, 3] ); @a.shape.say; | ||
camelia | (*) | ||
22:06
patrickb left,
vike left
|
|||
Xliff | m: my @a = Array.new( shape => (2, 3) ); @a.shape.say; | 22:06 | |
camelia | (*) | ||
Xliff | m: my @a[2; 3]; @a = [ [1, 1, 3]; [2, 3, 4] ]; @a.shape.say | ||
camelia | (2 3) | ||
Xliff | m: my $a = Array.new( shape => (2, 3) ); $a.shape.say; | 22:07 | |
camelia | (2 3) | ||
Xliff | \o/ | ||
22:09
cpan-raku left
22:11
cpan-raku joined,
cpan-raku left,
cpan-raku joined
22:14
Altai-man left
|
|||
MasterDuke | Xliff: lizmat is doing a bunch of stuff on her faster-slice-access rakudo branch | 22:14 | |
lizmat | Xliff: you might want to try with use v6.* | 22:15 | |
still a wip | |||
Xliff | m: use v6.*; my @a[2; 3]; @a = [ [1, 1, 3]; [2, 3, 4] ]; @a.shape.say | ||
camelia | Don't know setting RESTRICTED at gen/moar/ModuleLoader.nqp:249 (/home/camelia/rakudo-m-inst-2/share/perl6/lib/Perl6/ModuleLoader.moarvm:previous_setting_name) from gen/moar/ModuleLoader.nqp:254 (/home/camelia/rakudo-m-inst-2/share/perl6/lib/… |
||
Xliff | ? | 22:16 | |
Oh. branch... LOL | |||
lizmat++ | |||
lizmat | Xliff: no, the partial slices stuff is largely already implemented in 6.e.PREVIEW | ||
camelia is just not set up for that | |||
Xliff | Got it. Thanks. | 22:17 | |
22:18
vike joined
|
|||
guifa2 . o O ( if the insane perf increases that lizmat's gotten are just the WIP … ) | 22:18 | ||
Xliff | Well... I wrote a quick little implementation anyways. Feel free to fork and play: | 22:19 | |
repl.it/@Xliff/AdmiredMinorMiddleware#main.raku | |||
perryprog | Nice thought bubble, guifa2 | ||
Xliff | guifa2: What benchmark info did you get that from? | 22:20 | |
guifa2 | Xliff: from her PRs and updates on the weekly | ||
per rakudoweekly.blog/2020/12/07/2020-...haping-up/ for instance, "Fortunately, thanks to some extensive extra-curricular digging by Jonathan Worthington and some additional tuning by Elizabeth Mattijsen, the performance of shaped arrays is now almost on par with normal arrays, which means it is up to 60x as fast as before" | 22:22 | ||
and it's not the first time I've seen a PR like that | |||
Geth | ecosystem: 4a4e1707ef | L'Alabameñu++ (committed using GitHub Web editor) | META.list Add Intl::Format::List to the ecosystem |
||
ecosystem: 4e700de836 | L'Alabameñu++ (committed using GitHub Web editor) | META.list Merge pull request #573 from Raku/alabamenhu-patch-2 Add Intl::Format::List to the ecosystem |
|||
22:23
mowotter left,
patrickb joined
22:31
seanrobert left
22:32
Black_Ribbon joined
22:50
littlebenlittle left
22:57
patrickb left
23:01
patrickb joined
23:32
wamba left
23:39
Doc_Holliwood left
|
|||
patrickb | How would I duplicate a list in NQP? | 23:40 | |
nqp::clone($some_list) # duh | 23:48 |