🦋 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:06
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
vrurg | guifa++ | 00:08 | |
guifa: what's the subject? | 00:10 | ||
00:11
Doc_Holliwould left
|
|||
guifa | vrurg: well, the title is “Going International in Raku”. I’m not creative with titles :-) | 00:11 | |
00:11
wildtrees_ joined,
titsuki left,
titsuki_ joined
|
|||
guifa | Basically a “here’s the state of international stuff in Raku, and why Raku makes doing this otherwise super complicated stuff insanely easy" | 00:12 | |
vrurg isn't creative too. I'm totally fine about both facts! | |||
:D | |||
cpan-raku | New module released to CPAN! Pretty::Table (0.0.1) by 03UZLUISF | 00:13 | |
guifa | I think some of the big stuff to takl about will be the tokens | ||
vrurg | I hope to get my current project good enough on time to have a subject for a talk too. | ||
00:13
pecastro left,
NODE left
|
|||
vrurg | Grammar tokens or ...?? | 00:14 | |
guifa | Being able to just say <local-number> and have it recognize 12,349 and determine if that’s 12 thousand-ish or 12-ish will really make folks’ lives easier | ||
00:14
wildtrees left
|
|||
guifa | Yeah, although I’ve been writing them so they can be used in adhoc regexen and grammars | 00:14 | |
00:14
NODE joined
|
|||
guifa | CLDR has some cool other stuff — like you’ll be able to use <local-alpha> and limit yourself to the letters commonly used in the language, rather than any <alpha> | 00:15 | |
vrurg | Aha... I just meant *that* tokens as terminology is my weak point. It could have been some other tokens as well. :) | ||
guifa: Ok, don't expose all the secrets accidentally! Keep the suspense! | 00:16 | ||
guifa | Haha these are all things that show up in my README.md ;-) | ||
00:16
lucasb left
|
|||
vrurg imagines guifa entering the stage, opening the README and having an epic speach of: "Just read it through!" :D :D :D | 00:18 | ||
guifa | I actually had a long chat with tchrist about two months ago, I’m going to try to revive some of his work in Lingua:: for identifying languages too. Maybe I’ll even convince him to come to the darkside | ||
vrurg: that’s what I do for the first day of class with my syllabus. “READ IT, I will not answer your emails if they can be answered based on this document” haha | |||
00:19
Kaeipi is now known as Kaiepi
|
|||
vrurg | guifa: Ok, you definitely got the first listener on my side! :) | 00:19 | |
guifa | vrurg: are you going to Perl/Rakucon in houston? | 00:22 | |
vrurg | guifa: yes, unless my boss reject the budget. | 00:23 | |
guifa | Awesome. Thankfully I have family there so I think work will cover all of it | 00:24 | |
00:27
aborazmeh_ joined,
aborazmeh_ left,
aborazmeh_ joined
00:28
aborazmeh left,
aborazmeh_ is now known as aborazmeh
00:30
molaf joined
00:34
aborazmeh left
00:47
sena_kun left
00:50
Xliff joined
00:57
mowcat left
01:01
sena_kun joined
01:03
mahmudov left
01:15
epony left
01:16
epony joined
01:24
wildtrees_ left
01:29
gabiruh_ joined
01:30
gabiruh left
|
|||
Geth | doc: uzluisf++ created pull request #3192: Mention that the colon syntax on $.foo method is now supported |
01:33 | |
01:39
melezhik left
02:18
molaf left
02:26
marcusr left
02:27
marcusr joined
02:31
molaf joined
02:45
sena_kun left
02:50
evalable6 left,
bloatable6 left
02:51
tellable6 left,
unicodable6 left,
shareable6 left,
benchable6 left,
greppable6 left
02:52
nativecallable6 left,
notable6 left
02:56
ensamvarg joined
03:00
sena_kun joined
03:38
Redfoxmoon left
03:41
angelds joined
03:46
unicodable6 joined
03:48
tellable6 joined,
notable6 joined,
shareable6 joined
|
|||
uzl[m] | m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; say A.^find_method('end').candidates; | 04:00 | |
camelia | (end end end end) | ||
uzl[m] | * m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; say A.^find_method('end').candidates>>.signature; | ||
m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; say A.^find_method('end').candidates>>.signature; | |||
camelia | ((Any:U: *%_ --> 0) (Any:D: *%_) (A: $val, *%_) (A: *%_)) | ||
uzl[m] | How do I grep the method 'end' specific to the type A? | 04:04 | |
AlexDaniel` | sena_kun well, at the same time it's not hard to do it | 04:15 | |
sena_kun same command just with a different version ;) | |||
But hey it's almost February now | 04:16 | ||
04:17
gabiruh_ left
04:18
gabiruh joined
04:20
molaf left
04:44
sena_kun left
04:45
aindilis left
04:46
benchable6 joined,
greppable6 joined
04:47
evalable6 joined
04:48
nativecallable6 joined
04:51
robertle_ joined
04:52
titsuki_ left
04:54
robertle left
05:00
sena_kun joined,
rindolf joined
05:06
aindilis joined
05:11
NODE left,
NODE joined
05:19
aborazmeh joined,
aborazmeh left,
aborazmeh joined
05:46
bloatable6 joined
06:07
veesh_ joined
06:10
jmerelo joined,
veesh left
06:11
veesh_ is now known as veesh
06:16
Doc_Holliwould joined
06:20
sauvin joined
06:22
aborazmeh left
06:25
marcusr left
06:26
marcusr joined
|
|||
bartolin | sena_kun: (jvm build) we *could* remove the 'allow_failures' configuration for the jvm backend for travis. We don't attempt to run tests for the jvm backend, so a travis failure indicates a build error. | 06:32 | |
but doing so would raise the question who is willing to fix the breakage ... | 06:37 | ||
no offense meant: given the limited resources it's kind of logical to let the core devs focus on the main backend | 06:39 | ||
I'm trying to fix eventual breakage; but in my own time: I'm only able to look once in a while | 06:43 | ||
06:45
sena_kun left
07:00
sena_kun joined,
ensamvarg left
|
|||
cpan-raku | New module released to CPAN! Trait::Traced (0.3.0) by 03KAIEPI | 07:17 | |
Kaiepi | ^ makes trace output handling customizable! (needs documentation though) | 07:19 | |
07:23
Doc_Holliwould left
07:27
ayerhart left
|
|||
cpan-raku | New module released to CPAN! Trait::Traced (0.3.1) by 03KAIEPI | 07:32 | |
07:34
ayerhart joined
07:44
Kaiepi left,
Kaiepi joined
|
|||
holyghost | |I've got some new methods into p6-Game-Bayes and p6-Game-Stats, I'll upload to ithub later | 07:50 | |
An approximation of posterior probability and frequency analysis | 07:51 | ||
The code is now on Xliff's server | |||
I'm at page 80 of the book "Monte Carlo methods for Bayesian Computing", that's where everything comes from | 07:52 | ||
07:56
Redfoxmoon joined
08:04
sno left
08:05
aluaces left
08:09
Redfoxmoon left
08:10
Redfoxmoon joined
08:20
wamba joined
08:33
pierrot joined,
zakharyas joined,
Doc_Holliwould joined
08:40
dakkar joined
08:45
kensanata joined
08:46
sena_kun left
09:02
sena_kun joined
09:11
AlexDaniel joined,
AlexDaniel left,
AlexDaniel joined
09:15
Doc_Holliwould left
|
|||
AlexDaniel | . | 09:15 | |
09:21
pecastro joined
|
|||
holyghost | Maybe I'm going to do operating systems in perl6, but I'm a lost soul on raku | 09:29 | |
I tried pico.vub.ac.be for an Amiga NetBSD | |||
Fact is, I'm trying to port NetBSD to Amiga 2000's | |||
non-MMU | 09:30 | ||
It'll be called ANBSD | |||
It should be a binary, where you write your OS code in perl6 then have e.g. a non VM thing | 09:33 | ||
which is of course somewhat ridiculous | 09:34 | ||
An amia 2000 has 1Mb of RAM for example | |||
_And_ perl6 should be compiled to m68k-coff | 09:36 | ||
e.g. a perl6 compiler instead of a VM for building with gcc's -D_KERNEL flag | 09:41 | ||
An elf or coff format should be compiled straight out of perl6 | 09:43 | ||
then compile e.g. with a intermediate API/kernel API to a format thereon | |||
Note API | 09:44 | ||
An API to output kernels for coff and elf, that's what I would want | 09:46 | ||
then an API for compiling instead of just using perl6's system | 09:47 | ||
and so on :-) | |||
09:47
domidumont joined
09:53
samebchase-3 joined
09:54
samebchase- left
09:56
samebchase-3 is now known as samebchase-
|
|||
holyghost | Basically you want raku to compile to several machine lanuguaes with moarVM | 10:03 | |
and a VM is too heavy weight for old machines | 10:04 | ||
10:13
xinming_ left,
xinming_ joined
10:27
holyghost left
10:32
aluaces joined,
cpan-raku left
10:33
bbkr joined
10:36
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|
|||
bbkr | 2020.01 release is awesome! We got 25% average performance improvement on production environments. Big thanks to all Raku devs. | 10:39 | |
sena_kun | \o/ | 10:41 | |
10:46
sena_kun left
10:49
Doc_Holliwould joined
|
|||
El_Che | bbkr: if ok to do so, please do tell (and blog)! | 10:57 | |
10:59
sena_kun joined
11:11
domidumont left
11:12
ensamvarg joined
11:18
shred_alert joined
11:21
kensanata left
11:23
Demos[m] left
11:28
Doc_Holliwould left
11:32
kensanata joined
11:46
CIAvash left,
Nasrudin left
11:50
Doc_Holliwould joined
11:53
wamba left
11:55
epony left
12:08
epony joined
12:13
holyghost joined
12:18
abraxxa left
12:19
abraxxa joined
12:35
zakharyas left,
lucasb joined
12:36
CIAvash joined
12:38
mowcat joined
12:45
sena_kun left
12:56
titsuki_ joined
12:58
Doc_Holliwould left
13:00
sena_kun joined,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
13:09
mowcat left
|
|||
cpan-raku | New module released to CPAN! cro (0.8.0.2) by 03JNTHN | 13:09 | |
New module released to CPAN! Cro::WebSocket (0.8.2.2) by 03JNTHN | |||
New module released to CPAN! Cro::TLS (0.8.2.2) by 03JNTHN | |||
New module released to CPAN! Cro::HTTP (0.8.2.2) by 03JNTHN | |||
New module released to CPAN! Distribution::Builder::MakeFromJSON (0.5) by 03NINE | |||
13:27
domidumont joined
13:30
Doc_Holliwould joined
13:36
xinming_ left
13:39
xinming_ joined
13:43
zakharyas joined
13:47
aborazmeh left,
zakharyas left
13:50
zakharyas joined
13:57
rindolf left
|
|||
abraxxa | jnthn++ | 14:00 | |
jnthn: upgrade successful | 14:07 | ||
14:10
rindolf joined
14:12
holli joined
14:13
Doc_Holliwould left
14:20
cpan-raku left,
bbkr left
14:22
abraxxa left
14:23
jmerelo left
14:24
abraxxa joined,
cpan-raku joined,
cpan-raku left,
cpan-raku joined
14:27
angelds left
14:38
daxim left
14:44
daxim joined
14:46
sena_kun left
14:56
holli left
14:59
Xliff_ joined
|
|||
Xliff_ | nine: gist.github.com/Xliff/303485c72279...a964c8a80f | 14:59 | |
14:59
sena_kun joined
|
|||
Xliff_ | Or anyone else with Inline::Perl5 experience! :) | 15:00 | |
15:05
[Coke] left
15:11
zakharyas left
|
|||
nine | $spreadsheet.worksheet({ title => 'Sheet1' }); | 15:11 | |
Xliff_: $spreadsheet.worksheet(${ title => 'Sheet1' }); | |||
Xliff_ | Checking. | 15:12 | |
15:13
melezhik joined
|
|||
Xliff_ | nine++ | 15:13 | |
So that has to be done for all hash refs? | |||
nine | Wenn passed as arguments, yes. Otherwise they get flattened by the slurpy args | 15:15 | |
Xliff_ | Thanks! | 15:17 | |
15:36
holli joined
15:49
camelCaser left
15:53
camelCaser joined
15:55
kensanata left
16:09
[Coke] joined,
[Coke] left,
[Coke] joined
16:13
zakharyas joined
16:16
veesh_ joined
16:18
veesh left,
veesh_ is now known as veesh
|
|||
uzl[m] | m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; say A.^find_method('end').candidates>>.signature; | 16:19 | |
camelia | ((Any:U: *%_ --> 0) (Any:D: *%_) (A: $val, *%_) (A: *%_)) | ||
uzl[m] | How do I grep the method 'end' specific to the type A? | ||
.tell jmerelo Any idea about this? colabti.org/irclogger/irclogger_lo...01-28#l537 | 16:22 | ||
tellable6 | uzl[m], I'll pass your message to jmerelo | ||
16:30
atroxaper joined
|
|||
Geth | doc: 3a2678d4b9 | (Luis F. Uceta)++ | doc/Language/objects.pod6 Mention that the colon syntax on $.foo method is now supported |
16:30 | |
linkable6 | Link: docs.raku.org/language/objects | ||
doc: b302b5004e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/objects.pod6 Merge pull request #3192 from uzluisf/master Mention that the colon syntax on $.foo method is now supported |
|||
16:30
jmerelo joined
|
|||
atroxaper | hi, #raku | 16:31 | |
jmerelo | Hi! | ||
tellable6 | 2020-01-28T21:11:29Z #raku-dev <TreyHarris> jmerelo please see colabti.org/irclogger/irclogger_lo...01-28#l580 in re commit sha's and doc churn | ||
2020-01-30T16:22:28Z #raku <uzl[m]> jmerelo Any idea about this? colabti.org/irclogger/irclogger_lo...01-28#l537 | |||
hey jmerelo, you have a message: gist.github.com/7bc02f5c621d0f3382...e9764c2e5d | |||
jmerelo | .tell TreyHarris we eliminated it a long time ago. Since we are using a cache now, it didn't make a lot of sense anyway. | 16:32 | |
tellable6 | jmerelo, I'll pass your message to TreyHarris | ||
dakkar | uzl[m]: .grep({ with .params[0] { .invocant && .type eqv A } }); | 16:33 | |
m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; say A.^find_method('end').candidates>>.signature.grep({ with .params[0] { .invocant && .type eqv A } }); | |||
camelia | ((A: $val, *%_) (A: *%_)) | ||
dakkar | (the check for `.invocant` is probably redundant if you know you're looking at methods, but can't hurt) | 16:34 | |
jmerelo | .tell uzl[m] I think there's this issue: github.com/Raku/Documentable/issues/78, very recent. Might that be the problem? | ||
tellable6 | jmerelo, I'll pass your message to uzl[m] | ||
16:35
Kaiepi left
16:37
Kaiepi joined
|
|||
atroxaper | If I want to add a test for fails-like in roast, how can I check a fail case. I expect that fails-like { sub { fail X::Foo.new }() }, X::Foo, :42miss; did not match 42. But how can I prove it in test? | 16:37 | |
16:39
domidumont left
16:40
Redfoxmoon left,
Redfoxmoon joined
16:41
xinming_ left
16:42
xinming_ joined
16:45
sena_kun left
16:48
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
jmerelo | atroxaper: that should work. You check for the type of exception it's thrown, and its message (or any other payload) | 16:52 | |
16:52
mowcat joined
|
|||
atroxaper | jmerelo: If I want to check that fails-like fails if did not match payload? | 16:53 | |
jmerelo: I mean, if payload missmatched then test will be nok, but I expect that behaviour and want test ok :) | 16:54 | ||
jmerelo | atroxaper: ah, you want to check fails-like itself... I think tests return True or False | 16:56 | |
m: use test; say ok(1) | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Could not find test in: inst#/home/camelia/.raku inst#/home/camelia/rakudo-m-inst-1/share/perl6/site inst#/home/camelia/rakudo-m-inst-1/share/perl6/vendor inst#/home/camelia/raku… |
||
jmerelo | m: use Test; say ok(1) | ||
camelia | ok 1 - True |
||
jmerelo | atroxaper: ^^^^ | 16:57 | |
atroxaper | jmerelo: As I understand, prove will parse stdout and fail test. Because fails-like makes the 'nok' output. | 17:00 | |
17:02
sena_kun joined
17:03
leont joined
17:05
lgtaube left
|
|||
jmerelo | atroxaper: ah, OK. There's a module for that, Test::Output; also Testo tests that if I remember correctly. But mainly it's a matter of redirecting and capturing output. | 17:07 | |
atroxaper: I wouldn't be surprised there would be some helper in roast for doing that. | 17:08 | ||
atroxaper: or you can simply suppress output and work with return value | |||
shred_alert | Which part of the docs mentions the syntax qx/<command>/ (backticking?)? | ||
atroxaper | jmerelo: Fair enough. Will looking for some helper. Thank you. | 17:09 | |
shred_alert: 'Quoting constructs' or 'Independent routines' probably. | 17:16 | ||
17:19
wamba joined
17:21
molaf joined
|
|||
shred_alert | Can't seem to find it there. | 17:21 | |
Xliff_ | m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; say A.^find_method('end').candidates>>.signature.grep({ with .params[0] { .invocant && .type eqv A } }); | 17:28 | |
camelia | ((A: $val, *%_) (A: *%_)) | ||
Xliff_ | m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; say A.^find_method('end').candidates>>.signature.grep({ with .params[0] { .invocant && .type ~~ A } }); | 17:30 | |
camelia | ((A: $val, *%_) (A: *%_)) | ||
Xliff_ | m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; class B { multi method end(Str $val) { 1 }; }; say B.^find_method('end').candidates>>.signature.grep({ with .params[0] { .invocant && .type ~~ A } }); | 17:31 | |
camelia | () | ||
Xliff_ | m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; class B is A { multi method end(Str $val) { 1 }; }; say B.^find_method('end').candidates>>.signature.grep({ with .params[0] { .invocant && .type ~~ A } }); | ||
camelia | ((A: $val, *%_) (A: *%_) (B: Str $val, *%_)) | ||
Xliff_ | m: class A { has $!n; multi method end($val) { $!n = $val }; multi method end { $!n } }; class B is A { multi method end(Str $val) { 1 }; }; say B.^find_method('end').candidates>>.signature.grep({ with .params[0] { .invocant && .type eqv A } }); | 17:32 | |
camelia | ((A: $val, *%_) (A: *%_)) | ||
17:32
shred_alert left,
dakkar left
17:36
zakharyas left
17:39
Xliff_ left,
aborazmeh left
17:43
wildtrees joined
17:52
Tirifto joined
18:06
lgtaube joined
18:10
chloekek joined
18:14
atroxaper left
18:28
ensamvarg left
18:36
sno joined
18:46
sena_kun left,
titsuki_ left
18:49
dogbert1 left
18:52
Tirifto left
18:57
AlexDaniel left
19:02
sena_kun joined
19:06
wamba left,
veesh_ joined
19:08
veesh left,
veesh_ is now known as veesh
|
|||
[Coke] finds github.com/watching and unwatches a whole bunch of old stuff. | 19:09 | ||
cpan-raku | New module released to CPAN! PDF::Class (0.4.0) by 03WARRINGD | 19:11 | |
19:22
Kaiepi left
19:27
Kaiepi joined,
Kaiepi left
19:28
Kaiepi joined
19:29
mahmudov joined
19:31
sauvin left
19:33
ayerhart left
19:41
ayerhart joined
19:46
jmerelo left
19:47
lgtaube left
20:09
lgtaube joined
20:14
stoned75 joined
20:16
dpk left,
dpk joined
20:29
titsuki_ joined
20:34
rindolf left
20:35
Benett left,
uzl[m] left,
krunen joined,
jargan joined,
jargan is now known as jast
20:42
molaf left
20:45
sena_kun left
20:50
zakharyas joined
20:53
MasterDuke joined
20:55
aborazmeh joined,
aborazmeh left,
aborazmeh joined
21:00
sena_kun joined
21:05
aborazmeh left
21:16
melezhik left
21:30
molaf joined
21:34
zakharyas left,
Benett joined
21:45
lucasb left
21:57
melezhik joined
22:01
xinming_ left
22:03
chloekek left
22:04
clarjon1 left
22:05
xinming_ joined
22:08
wildtrees left,
wildtrees joined
22:26
MasterDuke left
22:35
cooper left
|
|||
Voldenet | m: once quietly given now { .say } or die when start exit | 22:44 | |
camelia | ( no output ) | ||
Voldenet | is there any way to drop these { } | ||
22:46
sena_kun left
22:53
melezhik left
22:55
Black_Ribbon joined
|
|||
lizmat | m: once quietly .say given now or die when start exit | 22:57 | |
camelia | ( no output ) | ||
lizmat | m: { once quietly .say given now or die when start exit } | 22:58 | |
camelia | ( no output ) | ||
22:59
sena_kun joined
23:00
mowcat left
|
|||
veesh | do nativecall arrays silently convert uint into int? | 23:04 | |
or is that a weirdness in how raku interprets it on the way out? | |||
in reference to the last post from ToddAndMargo on the mailing list | 23:05 | ||
m: use NativeCall; dd CArray[uint8].new(255).list | 23:06 | ||
camelia | (-1,) | ||
veesh | that's weird | ||
23:08
Xliff left
23:30
pecastro left
23:31
Xliff joined
|