🦋 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.
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
tony-o [Coke], lizmat : what is the reason for requiring employer information? 01:35
Geth Raku-Steering-Council: melezhik++ created pull request #26:
my nomination
02:12
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
raku-bridge <dominix> anyone can vote for this council ? 02:34
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.
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
Geth Raku-Steering-Council/main: 1f1fc5d50f | (Jonathan Worthington)++ (committed using GitHub Web editor) | nominations/2020/jnthn
Add employer
09:31
Geth Raku-Steering-Council/main: d9c0f52349 | (Elizabeth Mattijsen)++ | nominations/2020/lizmat
Add employer
10:40
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
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
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
[Coke] I have already received a vote for the RSC. 13:10
[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.
Geth Raku-Steering-Council/main: f6b9ffb69f | (Will Coleda)++ (committed using GitHub Web editor) | nominations/2020/voting-form.md
highlight dates
13:14
[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
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
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
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
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
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
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
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
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
rypervenche Ha! He's not wrong ~_^ 16:34
Geth ¦ doc: codesections self-assigned Recursive/self-referential regex match <~~> not documented github.com/Raku/doc/issues/3533 17:01
[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
[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
[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
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
Geth doc: codesections++ created pull request #3610:
Add documentation for recursive Regex <~~>
18:30
gfldex is the auth field in a META6.json mandatory? 18:32
moritz gfldex: yes, I'm pretty sure. It's part of the module long name 18:57
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
Geth Raku-Steering-Council/main: f4e2154db3 | (Will Coleda)++ (committed using GitHub Web editor) | nominations/2020/voting-form.md
Update voting-form.md
19:53
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
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
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
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
discoD Hello. I'm here for show-and-tell. pastebin.com/Fgs1Usg6 22:12
guifa discoD++ 22:16
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