🦋 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.
discord6 <Aearnus> hey-o, does Raku have an easy way to recursively list all files in the current directory? 00:12
<Aearnus> I want the same thing as Ruby's Dir['**/*.zip']
SmokeMachine Aearnus: this is the simplest way I’ve found: github.com/FCO/pulp/blob/master/li...p/Glob.pm6 00:48
tbrowder Aearnus: use Raku's File::Find 01:16
see modules.raku.org
cpan-raku New module released to CPAN! Net::BGP (0.1.8) by 03JMASLAK 03:12
huyna in Grammar for example if i have 1 rule that need to received other rules or tokens as parameter how can i do that <- i successfully did this idea with normal variable like String, Hash. 06:27
moritz m: my token a { a }; my token quoted(&by) { <&by> \d+ <&by> }; say "a135a" ~~ /<&quoted>/; 08:45
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
by used at line 1
moritz m: my token a { a }; my token quoted(&by) { <by> \d+ <by> }; say "a135a" ~~ /<&quoted>/;
camelia Too few positionals passed; expected 2 arguments but got 1
in regex quoted at <tmp> line 1
in block <unit> at <tmp> line 1
moritz :(
Voldenet …but how is quoted supposed to know about 'token a' 09:44
moritz m: my token a { a }; my token quoted(&by) { <by> \d+ <by> }; say "a135a" ~~ /<&quoted(&a)>/; 10:01
camelia No such method 'by' for invocant of type 'Match'
in regex quoted at <tmp> line 1
in block <unit> at <tmp> line 1
moritz m: my token a { a }; my token quoted(&by) { <&by> \d+ <&by> }; say "a135a" ~~ /<&quoted(&a)>/; 10:02
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
by used at line 1
tobs m: my token a { a }; my token quoted(&by) { <{ &by }> \d+ <{ &by }> }; say "a135a" ~~ /<&quoted(&a)>/; # this definitely works 10:14
camelia 「a135a」
tobs but I don't know if there are downsides 10:15
moritz one downside is that it doesn't capture 10:43
m: my token a { a }; my token quoted(&by) { <{ &by }> \d+ <{ &by }> }; say "a135a" ~~ /<quoted=&quoted(&a)>/; 10:44
camelia 「a135a」
quoted => 「a135a」
tobs ah, of course 10:53
rindolf moritz: hi, ltns 10:54
moritz hi rindolf
rindolf moritz: sup? 10:55
moritz busy... 10:56
rindolf moritz: ah, doing what?
moritz work :D
rindolf moritz: ah,
moritz: gl 10:57
moritz: i hope it is gonna be temporary 10:59
moritz I kinda work pretty regularly 11:00
rindolf moritz: what? 11:01
moritz software stuff 11:02
architecture, development, CI/CD, devops
training 11:03
El_Che writing books 11:04
having babies
busy guy :)
moritz that's work in one sense, but my employer doesn't pay me for either of those last two :D )
rindolf moritz: heh 11:16
moritz: so you have 101 problems? shlomifishswiki.branchable.com/99_Problems/ 11:17
cpan-raku New module released to CPAN! Math::FFT::Libfftw3 (0.3.3) by 03FRITH 11:45
moritz I don't think my problems are enumerable 13:13
oldy but goody: deadlockempire.github.io/ 13:18
mspo is there already a plan to target wasm? 14:23
vrurg mspo: no 14:37
unfortunately.
moritz .seen jjmerelo 19:47
tellable6 moritz, I saw jjmerelo 2019-11-21T17:53:55Z in #raku: <jmerelo> tbrowder: it sure would :-)
AlexDaniel I love that bot :D 19:49
moritz too 19:50
moritz it's going to be a three way marriage: the bot, AlexDaniel and me :D 19:51
AlexDaniel 👍
AlexDaniel if tellable6 doesn't mind :) 19:51
anyway, thanks, tellable6! 19:52
tellable6 AlexDaniel, \o/
Geth ¦ problem-solving: JJ self-unassigned "Path to Raku" is missing change of linux module namespaces github.com/perl6/problem-solving/issues/130 21:07
Geth ¦ problem-solving: AlexDaniel self-assigned "Path to Raku" is missing change of linux module namespaces github.com/perl6/problem-solving/issues/130 21:30
Geth rakudo.org/master: 6 commits pushed by (Patrick Böker)++ 22:13
patrickb That push was not intentional!
Will hard reset break stuff? 22:14
El_Che if no ones pushes after you 22:15
I mean before the reset 22:16
patrickb AlexDaniel: What do you think? Can I hard reset without some cron job breaking?
El_Che if that's the case you can revert, but they will stay in the history
AlexDaniel patrickb: reverting is safer 22:17
patrickb mkay
AlexDaniel I'd say no force pushes unless you really need to hide some stuff. It's also fine if it's a small repo that doesn't matter 22:18
Geth rakudo.org: 4c67f00fac | (Patrick Böker)++ | 25 files
Revert previous accidental push.
22:22
patrickb There it goes. 22:23
AlexDaniel thanks :) 22:24
guifa That…took longer than it should have 23:29
use Intl::LanguageTag; Language::English #`( English ) Language::English.Str #`( en )
Managed to import a descriptive name of all the known language tags as an enum inside the language package. 23:30