[00:03] *** RaycatWhoDat left [00:06] *** lichtkind left [00:06] *** uzl[m] left [00:10] *** uzl[m] joined [00:10] *** Altreus left [00:10] *** Altreus joined [00:11] *** Nasrudin left [00:11] *** BlackChaosNL[m] left [00:14] *** BlackChaosNL[m] joined [00:17] *** Nasrudin joined [00:28] *** mowcat left [00:33] *** leont left [00:48] *** OpenZen left [00:49] *** OpenZen joined [00:50] *** BlackChaosNL[m] left [00:51] *** Nasrudin left [00:51] *** BlackChaosNL[m] joined [00:52] *** Nasrudin joined [00:59] *** soar joined [01:03] *** limarfrek joined [01:05] *** kerframil left [01:18] *** konvertex left [01:29] *** devmikey left [01:37] *** molaf left [01:49] *** molaf joined [02:02] *** soar left [02:16] *** OpenZen left [02:31] *** OpenZen joined [02:37] *** limarfrek is now known as kerframil [02:42] *** Cabanossi left [02:42] *** Cabanossi joined [02:57] *** soar joined [03:02] *** andrzejku joined [03:13] *** ziping joined [03:30] *** flyingtiger joined [03:39] *** andrzejku left [04:21] *** ziping left [04:21] *** skids left [04:22] *** OpenZen left [04:22] *** flyingtiger left [04:22] *** leont joined [04:31] *** aborazmeh joined [04:31] *** aborazmeh left [04:31] *** aborazmeh joined [04:32] *** OpenZen joined [04:39] *** OpenZen left [04:40] *** zacts joined [04:40] *** andrzejku joined [04:40] *** marcusr left [04:40] *** OpenZen joined [04:41] *** marcusr joined [04:54] *** kerframil left [05:10] *** andrzejku left [05:14] *** andrzejku joined [05:18] *** zacts left [05:23] *** brtastic joined [05:32] *** OpenZen left [05:37] *** molaf left [05:39] *** andrzejku left [05:46] *** rbt left [05:46] *** rbt joined [05:56] *** rindolf joined [05:59] *** Guest4273 is now known as aluaces [06:01] *** andrzejku joined [06:03] *** leont left [06:06] *** rindolf left [06:14] *** brtastic left [06:33] *** wamba joined [06:35] *** xinming_ left [06:35] *** xinming_ joined [06:58] *** abraxxa1 left [06:59] *** abraxxa joined [07:10] *** JJMerelo joined [07:11] *** brtastic joined [07:30] *** veesh left [07:33] *** Manifest0 left [07:34] *** Manifest0 joined [07:34] *** Cabanossi left [07:37] *** harrison joined [07:42] *** Cabanossi joined [07:43] *** rindolf joined [07:46] *** harrison left [07:46] *** JJMerelo left [07:48] *** veesh joined [07:49] *** soursBot joined [07:56] *** wamba left [07:57] *** patrickb joined [08:11] ¦ ecosystem/JJ-patch-10: 0d0f8b0c5c | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list [08:11] ¦ ecosystem/JJ-patch-10: RE-adds Lingua::En::Stem::Porter [08:11] ¦ ecosystem/JJ-patch-10: review: https://github.com/Raku/ecosystem/commit/0d0f8b0c5c [08:11] ¦ ecosystem: JJ++ created pull request #501: RE-adds Lingua::En::Stem::Porter [08:11] ¦ ecosystem: review: https://github.com/Raku/ecosystem/pull/501 [08:16] *** andrzejku left [08:17] *** stoned75 left [08:18] *** stoned75 joined [08:19] *** andrzejku joined [08:32] *** pecastro joined [08:34] ¦ ecosystem: 0d0f8b0c5c | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list [08:34] ¦ ecosystem: RE-adds Lingua::En::Stem::Porter [08:34] ¦ ecosystem: review: https://github.com/Raku/ecosystem/commit/0d0f8b0c5c [08:34] ¦ ecosystem: 941ea46dc0 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list [08:34] ¦ ecosystem: Merge pull request #501 from Raku/JJ-patch-10 [08:34] ¦ ecosystem: [08:34] ¦ ecosystem: RE-adds Lingua::En::Stem::Porter [08:34] ¦ ecosystem: review: https://github.com/Raku/ecosystem/commit/941ea46dc0 [08:39] *** sarna joined [08:39] hello! how do I check if a thing is present in a Seq? `contains`? [08:40] oh, contains is a trap probably :) [08:42] ∈ is what I wanted [08:47] *** andrzejku left [08:50] *** soar left [08:56] *** sena_kun joined [09:06] m: my @foo = [[1,2,3],[4,5,6]]; my @bar = @foo.shift; say @bar [09:06] rakudo-moar cde948aee: OUTPUT: «[[1 2 3]]␤» [09:07] how to get `[1,2,3]`? [09:07] m: my @foo = [[1,2,3],[4,5,6]]; my @bar := @foo.shift; say @bar [09:07] rakudo-moar cde948aee: OUTPUT: «[1 2 3]␤» [09:07] this works, but is it The Way? [09:10] *** luk_v joined [09:11] m: my @foo = [[1,2,3],[4,5,6]]; my @bar = |@foo.shift; say @bar [09:11] rakudo-moar cde948aee: OUTPUT: «[1 2 3]␤» [09:12] *** luk_v left [09:12] *** lumin left [09:13] *** Sgeo left [09:13] thanks :) [09:19] m: my @foo = [[1,2,3],[4,5,6]]; my @bar = @foo.shift.list; say @bar # also works with `.[]` and `.<>` [09:19] rakudo-moar cde948aee: OUTPUT: «[1 2 3]␤» [09:31] neat! that's more readable, imo [09:32] or `.self` [09:33] weird, why would .self help here? [09:34] m: say [[[1]]].self [09:34] rakudo-moar cde948aee: OUTPUT: «[1]␤» [09:34] whew [09:38] *** sjm_uk joined [09:41] *** leont joined [09:53] *** soursBot left [09:57] m: my @foo = [1,2,3]; my @bar = [4,5,6]; say @foo.grep: * > 1; say @foo.grep: * > 1 && * ∉ @bar; # what the hell? [09:57] rakudo-moar fc9df315a: OUTPUT: «(2 3)␤(1 2 3)␤» [09:59] can't use * twice in an expression to refer to the same thing [09:59] oh.. welp [09:59] I wrapped it in a block - is that the preferred solution? [10:00] and then changed to $_? yep [10:00] yeah [10:00] thanks, it was so hard to debug :( [10:01] can I name the thing instead of referring to `$_`? [10:01] like, `@bar.grep -> $foo { $foo > 1 }` [10:02] *** konvertex joined [10:03] m: my @foo = [1,2,3]; my @bar = [4,5,6]; say @foo.grep: -> $baz {$baz > 1 && $baz ∉ @bar}; [10:03] rakudo-moar fc9df315a: OUTPUT: «(2 3)␤» [10:03] woohoo! [10:04] *** aborazmeh left [10:08] *** Black_Ribbon left [10:10] *** Altai-man_ joined [10:10] *** soursBot joined [10:12] *** sena_kun left [10:18] hip [10:18] hooray [10:19] i need some regex help, please [10:20] * lizmat hopes moritz will be triggered by this :-) [10:20] hi, lizmat [10:20] tbrowder o/ [10:23] i need a token that considers this false: '#=x' but either of these true: [10:23] '#=' or '#= ' [10:24] *** JJMerelo joined [10:25] tbrowder: Something like: '#=' ' ' (well, or whatever appropriate kind of whitespace you want) [10:25] Uh, ' '? on the end there [10:25] But you probably don't want a literal space [10:25] yes, a trailing decl line. the bare '#=' on a line is the problem. [10:26] the [10:28] i should have shown the second true token as '#=\h \N*' [10:30] jnthn, i hadn't thought of that, thnx, food to chew on! [10:34] bye [10:38] *** xinming_ left [10:38] *** xinming_ joined [10:43] *** wamba joined [10:44] hm, the problem is the token has to be considered as anchored before a \n [10:50] *** kensanata joined [10:58] i think i [11:00] mumble... [11:18] *** soursBot left [11:20] i wonder if i need a back look somehow. [11:22] either "#= \h \N*" or "#=" [11:23] include the "#=" in the alternation...that hasn't been tried yet [11:31] look-aheads are OK, but if I were you, I'd try *really* hard to avoid look-behinds [11:54] *** soar joined [11:54] roger! [11:55] i'm not doing that...yet...still some new thoughts triggered by jnthn [11:56] *** cpan-raku left [11:56] *** cpan-raku joined [11:56] *** cpan-raku left [11:56] *** cpan-raku joined [12:01] *** libertas joined [12:07] *** soar left [12:07] |o| yea! 3 pts, not enough square brackets was apparent problem!! [12:08] later, thnx all [12:10] *** sena_kun joined [12:12] *** Altai-man_ left [12:16] *** soursBot joined [12:18] *** ThomBoyer joined [12:23] *** ThomBoyer left [12:24] *** ThomBoyer joined [12:25] *** AlexDaniel left [12:25] *** kensanata left [12:26] docs.raku.org frequently mentions `truthy` and `falsy`, and sometimes `truish`. They're not in the glossary, and I can't find proper definitions anywhere on the site. Is there one somewhere? [12:29] ThomBoyer: it means "true when evaluated in a boolean context" [12:29] like 0 is falsy and 1, 2, 3 are truthy [12:29] Right. But even class Bool doesn't define what's true in a boolean context. [12:29] ThomBoyer: it would be great if you could add it to the docs [12:31] right, that's under the sovereignty of the objects in question [12:31] Int defines it for Int, Str for Str and so on [12:32] *** Kaeipi left [12:34] I'd summarize as: A value is falsy if it's Bool::True, a Numeric equal to zero, or an empty container of a built-in type (Str, Hash, etc). For non-builtin classes, it's whatever its `.Bool` method says [12:34] Is that accurate? [12:34] *** Kaiepi joined [12:36] That's pretty close to Perl5's definition, except that "0" seems to be different from Perl 5. Which led me to search out a more precise definition. [12:39] it's Bool::False [12:39] otherwise pretty good [12:39] also, type objects are falsy as well [12:39] Heh. Yeah. I sure _hope_ True isn't falsy. :-) [12:40] And I'd forgotten the type-object thing. Ok. Thanks, moritz. [12:42] well, those Raku people... :D [12:45] rakudoers? rakuists? [12:45] * sarna opens an issue in the problem-solving repo [12:47] rakutos :D [12:51] *** soursBot left [12:51] https://www.reddit.com/r/rakulang/ uses "Rakoons" [12:51] which we now have 500+ of :-) [12:51] afk for a few hours& [12:52] "rakoons" is awesome! [12:56] *** soursBot joined [12:59] *** JJMerelo left [13:02] "rakutos like fritos" we should get with frito-lay marketing [13:04] *** AlexDaniel joined [13:04] *** AlexDaniel left [13:04] *** AlexDaniel joined [13:06] the only programming language with their own chips! [13:06] except forth and lisp [13:07] by the way, I've been thinking about this `self` stuff.. why does it "unpack" the nested thing? I mean it's cool, but how does that work? [13:07] m: say [[[[[[1]]]]]] # I mean this [13:07] rakudo-moar e1cefecc9: OUTPUT: «[1]␤» [13:07] That's nothing to do with `self`, but rather the single argument rule [13:08] okay what, I forgot .self and it did the same thing [13:08] jnthn: where can I read about it? I saw a comment on reddit but I didn't fully grasp it yet :( [13:08] https://docs.raku.org/language/list#index-entry-Single_Argument_Rule [13:12] I read this one already, but this time I'll follow up with the p6advent article. maybe it will click now :) thanks [13:27] oh darn, so everything unpacks stuff like [[[1]]] automatically.. so I don't need the `self`! nice [13:28] *** soursBot left [13:28] *** soursBot joined [13:52] *** rbt left [13:53] *** rbt joined [14:10] *** Altai-man_ joined [14:12] *** leont left [14:12] *** sena_kun left [14:17] *** leont joined [14:26] *** OpenZen joined [14:35] *** skids joined [14:38] *** wamba left [14:43] *** brtastic left [14:45] *** sarna left [14:51] *** andrzejku joined [14:54] *** wamba joined [14:58] *** wamba left [14:59] *** flyingtiger joined [15:07] *** JJMerelo joined [15:10] *** OpenZen left [15:13] *** brtastic joined [15:14] *** OpenZen joined [15:35] *** Altai-man_ left [15:36] *** sena_kun joined [15:36] *** ThomBoyer left [15:37] *** andrzejku left [15:46] *** melezhik joined [15:50] *** zacts joined [15:54] *** konvertex left [15:59] *** orinthe left [15:59] *** orinthe joined [15:59] *** konvertex joined [16:00] *** JJMerelo left [16:04] *** soursBot left [16:04] *** soursBot joined [16:08] I am thinking about usability of http://repo.westus.cloudapp.azure.com/hub/ for Raku community. Do people any command tools on daily basis? I am thinking about Raku related utils or whatever ... [16:10] *** Altai-man_ joined [16:10] usability -> usefullness [16:12] *** sena_kun left [16:24] <[Coke]> is there any discussion before adding things to the community modules group? [16:37] *** OpenZen left [16:38] *** flyingtiger left [16:47] *** chloekek joined [16:48] *** OpenZen joined [16:50] *** Sgeo joined [17:12] *** KindTwo joined [17:13] *** KindOne left [17:17] *** KindTwo is now known as KindOne [17:24] *** OpenZen left [17:33] *** soursBot left [17:37] *** soursBot joined [17:42] *** OpenZen joined [17:46] *** zacts left [18:07] *** lichtkind joined [18:09] *** Black_Ribbon joined [18:11] *** sena_kun joined [18:12] *** NODE left [18:13] *** Altai-man_ left [18:13] *** NODE joined [18:17] *** NODE left [18:19] *** NODE joined [18:19] *** NODE left [18:20] *** NODE joined [18:22] *** NODE left [18:24] *** NODE joined [18:26] *** NODE left [18:28] *** sauvin left [18:42] Damn, transforming cross products and a shaped array into nested loops and an regular old array brought my 20s runtime down to 4.5s. [18:42] Has anyone compiled a list that compares/benchmarks similar lang constructs yet? [18:43] The crystal peeps have a lot of these, for example: [18:43] String.build 597.57k ( 1.67µs) (± 5.52%) fastest [18:43] IO::Memory 423.82k ( 2.36µs) (± 3.76%) 1.41× slower [18:43] raku taco [18:44] with grammar sauce [18:47] *** epony left [18:48] being of advanced age i would like to see a way for my modules to be in a group repo some place i could still mantain while able, but easily able to quietly go away and leave it to others if they are interested [18:51] *** OpenZen left [18:51] *** OpenZen joined [18:58] tbrowder: I think that’s the idea of the community modules [18:58] *** skids left [18:59] *** brtastic left [19:00] is there a easy way of running only 1 test on comma? [19:00] so should i start moving them over or what? i haven’t looked closely but do they designate a primary maintainer? etc. [19:01] *** soursBot left [19:02] tbrowder: I’m not actually entirely sure. I know there has been some talk about how to handle things following DrForr’s passing. I admit I’ve been a bit out of the loop [19:08] *** soursBot joined [19:13] *** OpenZen left [19:14] *** epony joined [19:16] *** wamba joined [19:17] New module released to CPAN! Tomtit (0.1.7) by 03MELEZHIK [19:24] *** MasterDuke left [19:25] *** OpenZen joined [19:31] *** kensanata joined [19:32] *** sjm_uk left [19:35] *** melezhik left [19:35] how can I set the test root? [19:35] on comma [19:41] melezhik: i would like to be able to run a cron job to use it every so often for selected modules if that can be done easily. or even my rakudo branches [19:41] tbrowder, I'll pass your message to melezhik [19:42] *** aborazmeh joined [19:42] *** aborazmeh left [19:42] *** aborazmeh joined [19:45] *** soursBot left [19:47] *** soursBot joined [19:57] *** soursBot left [20:04] *** soursBot joined [20:10] *** Altai-man_ joined [20:12] *** sena_kun left [20:25] *** mowcat joined [20:29] *** Kaiepi left [20:30] *** OpenZen left [20:37] *** soursBot left [20:37] *** soursBot joined [20:45] *** KindTwo joined [20:46] *** KindOne left [20:48] *** OpenZen joined [20:49] *** KindTwo is now known as KindOne [20:50] *** stoned75 left [20:53] *** wamba left [20:54] *** melezhik joined [20:54] I wrote a short article on how one could easy test Raku cli applications shipped as Raku modules using RakuDist - https://sparrowdo.wordpress.com/2020/06/06/rakudist-dead-easy-raku-cli-tools-testing/ [20:54] 2020-06-05T19:41:33Z #raku melezhik: i would like to be able to run a cron job to use it every so often for selected modules if that can be done easily. or even my rakudo branches [20:56] .tell tbrowder are you talking about testing modules with RakuDist? [20:56] melezhik, I'll pass your message to tbrowder [20:59] yes, but pushed from my local host. including rakudo branches if possible. [21:01] to run RakuDist jobs one could use HTTP API - https://github.com/melezhik/RakuDist/blob/master/docs/api.md#queue-build [21:01] are you branches available from https://github.com/rakudo/rakudo/commits/ ? [21:01] if so, you can also use specific sha to point a certain branch (commit) [21:03] it all would work if your modules are hosted on github/gitlab [21:03] not sure if this is what you need ... [21:05] but basically you'd start with a following request (just an example) - `curl -d thing=https://github.com/Kaiepi/p6-Kind sha=f0594084e88e3d36bdcbc220989c7c823233876b http://rakudist.raku.org/queue` [21:05] *** patrickb left [21:07] *** stoned75 joined [21:19] *** melezhik left [21:27] *** Dwarf left [21:27] *** rindolf left [21:28] *** Dwarf joined [21:32] *** stoned75 left [21:33] *** stoned75 joined [21:38] m: sub a(*%bla) { dd |%bla }; a :1a, :2b # is that expected? [21:38] rakudo-moar d984e7c24: OUTPUT: «:a(1)␤:b(2)␤» [21:39] oh! that's different from my mCHINE... [21:39] *machine [21:41] yeah, that looks valid to me [21:41] *** stoned75 left [21:54] *** aluaces left [21:55] *** soursBot left [21:58] *** rbt left [21:59] *** rbt joined [21:59] *** kensanata left [22:11] *** sena_kun joined [22:11] *** Draco100 joined [22:12] *** Altai-man_ left [22:14] *** Draco100 left [22:26] *** leont left [22:33] *** Dwarf left [22:34] *** OpenZen left [22:36] *** OpenZen joined [22:57] *** MasterDuke joined [22:59] *** lichtkind left [23:00] *** Cabanossi left [23:08] *** soar joined [23:08] *** Cabanossi joined [23:12] *** [particle]1 joined [23:13] *** [particle] left [23:20] *** ecocode left [23:20] *** ecocode joined [23:41] *** KindOne left [23:43] melezhik: erg, more trouble than it's worth for me now for local. but maybe for stuff on github. on my Todo [23:43] p [23:43] tbrowder, I'll pass your message to melezhik [23:43] *** KindOne joined [23:43] list. ;-) [23:47] *** pecastro left [23:49] *** soar left [23:52] *** mowcat left [23:55] *** chloekek left [23:56] *** melezhik joined