🦋 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 modula joined, defaultxr left, modula is now known as defaultxr 00:07 brass left 00:09 brass joined 00:16 mniip left, mniip joined 00:24 mahafyi joined 00:31 interwebs left, interwebs joined
interwebs hey folks 00:55
what usecases is raku good for?
hopefully not too controversial to ask about, lest the answers are not "well any turing complete language can do anything" 00:56
rypervenche interwebs: Hang around, people will answer :) Might take a little bit since it's night time. 01:04
cpan-raku New module released to CPAN! Readline (0.1.6) by 03FOOIST 01:18
Geth ecosystem: fooist++ created pull request #534:
Change drforr/perl6-readline to fooist/perl6-readline
01:25
01:33 evalable6 left, linkable6 left
tony-o [Coke], lizmat : what is the reason for requiring employer information? 01:35
01:36 linkable6 joined, evalable6 joined 01:57 molaf left 02:05 Manifest0 left 02:06 Manifest0 joined 02:10 molaf joined
Geth Raku-Steering-Council: melezhik++ created pull request #26:
my nomination
02:12
02:16 squashable6 left 02:18 squashable6 joined
Geth Raku-Steering-Council/main: 254477e966 | (Alexey Melezhik)++ (committed using GitHub Web editor) | nominations/2020/melezhik.md
my nomination
02:21
Raku-Steering-Council/main: 60a5772f06 | (Alexey Melezhik)++ (committed using GitHub Web editor) | nominations/2020/melezhik.md
small corrections
Raku-Steering-Council/main: 7f9aee08a3 | (Vadim Belman)++ (committed using GitHub Web editor) | nominations/2020/melezhik.md
Merge pull request #26 from melezhik/main

  @melezhik nomination
02:24 marcusr left 02:25 marcusr joined 02:30 aborazmeh joined, aborazmeh left, aborazmeh joined
raku-bridge <dominix> anyone can vote for this council ? 02:34
03:17 aborazmeh left 03:29 cpan-raku left 03:30 cpan-raku joined, cpan-raku left, cpan-raku joined 04:00 mahafyi left 04:01 MasterDuke left 04:02 xelxebar left 04:03 spacebat2 left 04:04 spacebat2 joined, xelxebar joined 04:23 stanrifkin joined 04:33 stanrifkin left 04:42 parv joined 04:45 parv left 04:51 zacts joined 05:12 bocaneri joined 05:21 molaf left 05:48 rindolf joined 06:04 ufobat_ joined 06:17 wamba joined 06:25 zacts left
Geth ecosystem: de1777452f | (Daniel Lathrop)++ (committed using GitHub Web editor) | META.list
Change drforr/perl6-readline to fooist/perl6-readline
06:31
ecosystem: 5deab17571 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #534 from fooist/patch-2

Change drforr/perl6-readline to fooist/perl6-readline Thanks a lot for taking care of this.
06:42 jmerelo joined
jmerelo Still not filled the Raku 2020 user survey? Won't take more than 5 minutes! docs.google.com/forms/d/e/1FAIpQLS...Q/viewform 06:43
06:48 MasterDuke joined 06:54 Sgeo left 07:04 finanalyst_ joined 07:08 hungrydonkey left, hungrydonkey joined 07:15 dolmen joined, hungrydonkey left 07:32 pecastro joined 07:39 wamba left 07:41 colomon__ joined, colomon_ left 07:45 jmerelo left 07:52 jmerelo joined 08:19 sena_kun joined 08:52 aborazmeh joined, aborazmeh left, aborazmeh joined 09:07 finanalyst left 09:19 jmerelo left, finanalyst joined 09:26 epony left 09:29 epony joined
Geth Raku-Steering-Council/main: 1f1fc5d50f | (Jonathan Worthington)++ (committed using GitHub Web editor) | nominations/2020/jnthn
Add employer
09:31
09:45 Altai-man joined 09:47 sena_kun left 09:58 finanalyst_mobil joined, finanalyst_mobil left, finanalyst left 09:59 finanalyst_ left 10:06 eery left 10:07 eery joined 10:17 zakame left 10:32 zakame joined
Geth Raku-Steering-Council/main: d9c0f52349 | (Elizabeth Mattijsen)++ | nominations/2020/lizmat
Add employer
10:40
10:40 aborazmeh left 10:43 jmerelo joined 10:47 dolmen left 11:46 roguelazer left, sena_kun joined 11:47 roguelazer joined 11:48 Altai-man left 11:50 domidumont joined 11:51 domidumont left
Geth ecosystem: 72c5ea78d3 | (Ramiro Encinas)++ (committed using GitHub Web editor) | META.list
Add System-Stats-NETUsage to ecosystem

See github.com/ramiroencinas/System-Stats-NETUsage Fixed order for ramiroencinas entries.
11:59
12:22 krunen joined
kawaii Are there any built-in tools for forming arrays from a list of words? I found `.words` which works for, well, single words, but I want to provide a list that could look like `test bark "apple pie 12:43
ugh, carriage return
`test bark "apple pie" test2` and count the quoted word as it's own entry in the array
rypervenche kawaii: And all of these words are on a single line? 12:52
12:52 jmerelo left
kawaii rypervenche: yes! 12:52
rypervenche Don't know of anything built-in for that. I might either change the format of the line and put each "word" on its own line and then use .lines, or write a little grammar to do what you're wanting. 12:54
kawaii could try a grammar, not used that yet :) 13:05
13:06 domidumont joined
[Coke] I have already received a vote for the RSC. 13:10
13:11 krunen left
[Coke] will reject it and ask them to use the correct form once voting starts. 13:11
tony-o: it was based on the requirement that we not have more than X people from the same employer on the RSC 13:12
tony-o: latest thoughts: we'll elect the folks, and they'll attest they don't work together. I was just trying to get all the info I needed to properly conduct the vote, but I am assured that it's not needed now.
13:13 domidumont left
Geth Raku-Steering-Council/main: f6b9ffb69f | (Will Coleda)++ (committed using GitHub Web editor) | nominations/2020/voting-form.md
highlight dates
13:14
13:15 squashable6 left, domidumont joined 13:16 squashable6 joined
[Coke] (anyone can vote) the RSC site has a list of who is eligible to vote, can someone link to it? (Also, how am I supposed to verify that the email is from someone who is eligible to vote?) 13:17
@lizmat ^^ 13:18
13:18 rir joined 13:24 wamba joined 13:26 krunen joined
Geth Raku-Steering-Council/main: d5f246ff18 | (Will Coleda)++ (committed using GitHub Web editor) | nominations/2020/voting-form.md
add Alexey
13:33
codesections m: say 'test bark "apple pie" test2' ~~ m:g/'"'.*'"'||\w+/ 13:34
camelia (「test」 「bark」 「"apple pie"」 「test2」)
codesections ^^^ kawaii something like that could work (it might be worth splitting it out into a named regex or grammar for clarity, though) 13:35
or, I guess this is really more the output you'd want: 13:36
m: say 'test bark "apple pie" test2' ~~ m:g/'"'<(.*)>'"'||\w+/
camelia (「test」 「bark」 「apple pie」 「test2」)
kawaii codesections: yeah that's perfect :D 13:37
thanks!
rypervenche Doesn't work properly though, too greedy. 13:38
m: say 'test bark "apple pie" test2 "lemon pie"' ~~ m:g/'"'<(.*)>'"'||\w+/;
camelia (「test」 「bark」 「apple pie" test2 "lemon pie」)
kawaii ah you're right :D 13:39
codesections m: say 'test bark "apple pie" test2 "lemon pie"' ~~ m:g/'"'<(<-["]>*)>'"'||\w+/
camelia (「test」 「bark」 「apple pie」 「test2」 「lemon pie」)
kawaii I'll do some testing with this 13:40
codesections rypervenche: good catch, thanks!
(fixed now ^^) 13:41
tobs a couple regexes for properly quoted data would make a fine module
(didn't I write an advent post about this recently? :P)
kawaii codesections: rypervenche thanks guys, works perfectly for my use case :) 13:42
13:46 thundergnat joined
thundergnat kawaii: would qww< > not wrok for you? 13:46
m: dd [qww< test bark "apple pie" test2 "lemon pie" >]
camelia Array element = ["test", "bark", "apple pie", "test2", "lemon pie"]
kawaii what absolute sorcery is this??
rypervenche hahaha
thundergnat *work
kawaii ahahahaha what the heck
thundergnat single quoting with white space preservation 13:47
timotimo that only works with stuff directly in the source code, though
if you have it in a variable, you'd have to EVAL to get the same functionality
which i think is kind of a missing bit in the core library
tobs m: my $x = Q[ test bark "apple pie" test2 "lemon pie" ]; say qww«$x»
camelia $x
tobs huh
timotimo well, qww won't interpolate at all 13:48
would have to be qqww
kawaii m: my $x = Q[ test bark "apple pie" test2 "lemon pie" ]; say qqww«$x»
camelia (test bark "apple pie" test2 "lemon pie")
timotimo dd or .raku it 13:49
13:49 dolmen joined
rypervenche That seems to create a single string though. 13:49
kawaii oh yes you're right
timotimo you can also get "apple and then pie" as elements 13:50
13:51 thundergnat left
timotimo m: use MONKEY-SEE-NO-EVAL; my $evil-input = Q[\qq"{ say "i owned you"; exit } ]; my $result = EVAL 'qqww<<' ~ $evil-input ~ '>>'; say $result 13:55
camelia 5===SORRY!5=== Error while compiling /home/camelia/EVAL_0
Couldn't find terminator " (corresponding " was at line 1)
at /home/camelia/EVAL_0:1
------> 3qqww<<\qq"{ say "i owned you"; exit } >>7⏏5<EOL>
expecting any of:
timotimo m: use MONKEY-SEE-NO-EVAL; my $evil-input = Q[\qq"{ say "i owned you"; exit }"]; my $result = EVAL 'qqww<<' ~ $evil-input ~ '>>'; say $result
camelia i owned you
Geth Raku-Steering-Council/main: 1076e63731 | Coke++ | nominations/2020/voting-form.md
add name for @ugexe
14:04
14:10 void1 joined, domidumont left 14:11 domidumont joined, void1 left 14:12 void1 joined 14:13 domidumont left, domidumont joined 14:18 aluaces left 14:31 void1 left 14:42 aborazmeh joined, aborazmeh left, aborazmeh joined 14:54 wamba left 14:58 Sgeo joined 15:08 kylese joined 15:10 robm left 15:11 aborazmeh left 15:14 molaf joined 15:20 hungrydonkey joined 15:22 molaf left
kawaii I have this method which is supposed to create a hash containing many sethashes (and we have keys within being set to either t or f based on the state as defined by the add/remove methods above -> github.com/myisha/p6-zoe-badwords/...akumod#L36 15:24
Is it possible for Raku to auto-vivify the inner hashes to sethashes? 15:25
Because it doesn't seem to be working as expected
timotimo m: my SetHash %foo; %foo<hi><yo>++; dd %foo
camelia Hash[SetHash] %foo = (my SetHash % = :hi(SetHash.new("yo")))
timotimo that's not quite right, eh? :D
m: my SetHash %foo; %foo<hi><yo>++; dd %foo; dd %foo<hi> 15:26
camelia Hash[SetHash] %foo = (my SetHash % = :hi(SetHash.new("yo")))
SetHash %foo = SetHash.new("yo")
timotimo is the output just confusing me?
m: my SetHash %foo; %foo<hi><yo>++; %foo<hi><bye>++; %foo<bye><ohmy>++; dd %foo; say %foo<bye>.^name
camelia Hash[SetHash] %foo = (my SetHash % = :bye(SetHash.new("ohmy")), :hi(SetHash.new("bye","yo")))
SetHash
timotimo m: my SetHash %foo; %foo<hi><yo>++; %foo<hi><bye>++; %foo<bye><ohmy>++; say %foo.keys; say %foo<hi>.keys; say %foo<hi><bye>.^name 15:27
camelia (bye hi)
(bye yo)
Bool
timotimo cool.
kawaii: - seems to work like what you want
AFKBBL
kawaii timotimo: I test, thanks :) 15:28
tony-o [Coke]++ 15:45
15:45 Altai-man joined
guifa kawaii: I would use a regex comb 15:47
m: my $a = 'apple banana "valencia orange" durian'; say $a.comb(/['"' ~ '"' .*] || \S+/);
camelia (apple banana "valencia orange" durian)
guifa But nothing more built in that really
15:48 sena_kun left
guifa .comb(/['"' <( .* )> '"'] || \S+/); will get rid of your quotation marks 15:49
codesections guifa: why do you prefer the regex comb to just the regex? You get essentially the same list either way, right? 15:59
(with the only difference being that the regex gives you a list of matches rather than strings, but they trivially coerce to strings) 16:00
[Coke] we have some mac users here - anyyyy ideas wwwwwwwwhy typing on a bt mac keyboard would sometimeand sometimes dupliccccccate keys? (be sloww/laggy was firsttttt) 16:01
it is haaaaappening rrrrrighhttttttttt nooow 16:02
should probably just give up and get keyboardio
codesections I've also been tempted to get a keyboardio -- I've heard good things 16:04
(and then you could be running linux on your keyboard, even if you aren't (yet!) using it on your computer :D)
guifa codesections: if you use the regex, the matches are in a match object. comb basically returns the equivalent of Match.list 16:05
so, six half dozen? :-) 16:06
codesections (I'm also kind of tempted by this keyboard, though it could be too small and isn't out yet: www.kickstarter.com/projects/keyboardio/atreus)
guifa: fair enough; I was just curious
guifa Also, kawaii’s request reminds me of yet another that I can add into Intl at some point 16:08
CLDR has some stuff for breaking up words on a language-by-language level 16:09
ditto for sentences
16:14 hungrydonkey left
codesections haha, from the mailing list just now: «As for OT, everthing is OT here, since we're talking about Raku in a Perl 6 mailing list... :)» -- Larry Wall 16:31
16:34 aluaces joined
rypervenche Ha! He's not wrong ~_^ 16:34
16:38 zacts joined 16:40 finanalyst_ joined 16:46 ufobat__ joined 16:48 Manifest0 left 16:49 Manifest0 joined 16:50 ufobat_ left 16:51 dolmen left 16:53 aluaces left
Geth ¦ doc: codesections self-assigned Recursive/self-referential regex match <~~> not documented github.com/Raku/doc/issues/3533 17:01
17:04 molaf joined 17:05 Manifest0 left, Manifest0 joined
[Coke] installs some raku modules to help with vote processing. 17:06
[Coke] should have done this for the TPF GC votes he tallied for 2 years. :P
.seen retupmoca 17:09
tellable6 [Coke], I saw retupmoca 2018-05-17T21:38:51Z in #perl6: <retupmoca> thundergnat: looks like github.com/sergot/http-useragent/issues/197
17:11 epony left
[Coke] Someday I will try to do a project in Raku and not have to open a ticket, but today is not that day. :| 17:14
17:19 domidumont left, domidumont joined 17:20 aluaces joined 17:23 ufobat__ left 17:31 zacts left 17:43 kylese left, epony joined 17:44 finanalyst_ left
[Coke] so the one early email vote I got is from someone who doesn't have a github ID when I search, so I assume their vote would be invalid anyway 17:46
17:49 finanalyst joined, finanalyst left, finanalyst joined
Geth Raku-Steering-Council/main: 693bcd16c5 | (Will Coleda)++ (committed using GitHub Web editor) | nominations/2020/voting-form.md
add note about email addresses

if there's another way to verify, let me know.
17:51
[Coke] ^^ let me know if there's another way to deal with that. 17:52
17:54 finanalyst left 17:55 finanalyst joined 17:56 rbt joined 18:11 molaf left 18:26 bocaneri left
Geth doc: codesections++ created pull request #3610:
Add documentation for recursive Regex <~~>
18:30
18:31 sena_kun joined 18:32 Altai-man left
gfldex is the auth field in a META6.json mandatory? 18:32
18:42 domidumont left 18:43 Tirifto joined
moritz gfldex: yes, I'm pretty sure. It's part of the module long name 18:57
19:00 zakame left
gfldex There are plenty of modules on cpan that got a META6.json inside the tar-ball without an auth field. 19:20
Geth Raku-Steering-Council/main: a60ef11ba7 | (Will Coleda)++ (committed using GitHub Web editor) | nominations/2020/voting-form.md
change language on email vs. github ID
19:28
19:35 El_Che joined 19:44 AlexDaniel left 19:45 AlexDaniel joined, AlexDaniel left, AlexDaniel joined, Altai-man joined 19:47 leont joined 19:48 sena_kun left
Geth Raku-Steering-Council/main: f4e2154db3 | (Will Coleda)++ (committed using GitHub Web editor) | nominations/2020/voting-form.md
Update voting-form.md
19:53
20:03 aborazmeh joined, aborazmeh left, aborazmeh joined
Geth Raku-Steering-Council/fix-2020-vote-announcement: 9857a83b08 | (Vadim Belman)++ | announcements/20200720.md
Fix incorrectly defined voting process

And add reference to the RSC Code.
20:05
Raku-Steering-Council: vrurg++ created pull request #27:
Fix incorrectly defined voting process
tbrowder ref voting: i sure would like to have seven votes for seven seats! 20:06
what is the intent of voting for only 5 of the seven? statistical magic? 20:08
vrurg tbrowder: I think it's an error, but let's accept things as they are for now or we risk another round of bikeshedding and losing time. 20:10
tbrowder [Coke]: not trying to be disrespectful, just wondering.
just harder to pick... 20:12
lizmat tbrowder: it's my fault for not having enough imagination :-( 20:13
I do think we will get more than 7 people with at least 1 points, so in that sense there shouldn't be any problem 20:14
tbrowder i only bet on a horse race one time. i gave a classmate $2 and picked a horse with long odds. he came back from a day at the track and gave me $2. ??? the horse bolted at the gate and all bets were off.
lizmat :)
tbrowder i hope i have better luck this time :) 20:15
20:18 wamba joined
lizmat :-) 20:18
Geth Raku-Steering-Council/fix-2020-vote-announcement: 1e35a41078 | (Vadim Belman)++ | announcements/20200720.md
Add Raku/doc to the list of repositories
20:20
tbrowder for the next election we should be able to post support for our favorite candidates somewhere.
vote for X, 2 chickens in every pot!
lizmat I'm already looking forward to that! :-) 20:21
codesections tbrowder: why not do that for this election? There's r/reddit, a personal blog, or the mailing list -- just to name a few ways to voice your opinions :)
tbrowder hm, good idea 20:22
but the choices are do good i hesitate to do that 20:23
*so
codesections Agreed
20:24 rindolf left
tbrowder i'll be happy whatever the result, and i hope there are no hard feelings after the fact. 20:26
cpan-raku New module released to CPAN! Font::FreeType (0.3.3) by 03WARRINGD 20:47
20:50 molaf joined 21:01 aborazmeh left
Geth Raku-Steering-Council/main: 9e1792bbd5 | Coke++ | nominations/2020/voting-form.md
note email address
21:09
[Coke] tbrowder: I didn't set any of this up. I'm just trying to enforce the rules because I was asked to handle the ballot process.
tbrowder i understand, and i appreciate what you and the others are doing. 21:11
[Coke] you're welcome. I'm only doing this one small thing. :) 21:17
tbrowder well, wait till you start vote tallying, that'll be fun! 21:24
21:46 aluaces left 21:53 discoD joined 21:59 literal left, perigrin left, freezing_ left, literal_ joined 22:00 sjn__ joined, peri404 joined, [Coke] joined, [Coke] left, [Coke] joined, freezing_ joined 22:01 kini joined 22:06 eery left 22:07 eery joined 22:10 jmcgnh joined
discoD Hello. I'm here for show-and-tell. pastebin.com/Fgs1Usg6 22:12
22:14 Black_Ribbon joined
guifa discoD++ 22:16
22:21 molaf left 22:28 wamba left 22:33 molaf joined 22:51 mahafyi joined 22:59 pecastro left 23:17 MasterDuke left 23:22 PavelB joined 23:29 mahafyi left 23:30 peri404 is now known as perigrin 23:46 sena_kun joined 23:48 Altai-man left 23:53 rbt left 23:54 rbt joined 23:55 cpan-raku left
Geth Raku-Steering-Council/main: 9857a83b08 | (Vadim Belman)++ | announcements/20200720.md
Fix incorrectly defined voting process

And add reference to the RSC Code.
23:55
Raku-Steering-Council/main: 1e35a41078 | (Vadim Belman)++ | announcements/20200720.md
Add Raku/doc to the list of repositories
Raku-Steering-Council/main: 7d6227c0c8 | (Vadim Belman)++ (committed using GitHub Web editor) | announcements/20200720.md
Merge pull request #27 from Raku/fix-2020-vote-announcement

Fix incorrectly defined voting process
23:55 cpan-raku joined, cpan-raku left, cpan-raku joined