🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
00:07 reportable6 left 00:09 reportable6 joined 00:23 Xliff joined 00:48 Kaipei joined 00:52 Kaiepi left 01:21 Xliff left 01:31 Kaiepi joined 01:33 Kaipei left 02:28 vrurg joined, vrurg_ left 02:31 Xliff joined
Xliff P6-GLib suite timing statistics for Raku 2022.07.13.g.10.feda.116 02:31
Total number of projects: 33 (483289 loc)
tellable6 2022-08-15T01:58:53Z #raku <guifa_> Xliff: github.com/alabamenhu/PolyglotRegexen
Xliff Total non-parallel compile times: 8972.550 (271.895 avg)
Total parallel compile times: 1757.284 (53.251 avg) 5.106x speedup
This is a serious performance regression from last week. Times increased by 5% (non-parallel) and 17% (parallel)
03:05 pamplemousse joined 03:20 pamplemousse left 04:14 pamplemousse joined 04:19 pamplemousse left 05:02 leont left, leont joined 05:16 samcv left 05:17 samcv joined
Geth rakudo/lizmat-numeric-suffix-as-value: 6df088ab09 | (Elizabeth Mattijsen)++ | src/core.c/Main.pm6
Introduce SUB-MAIN-OPTS<numeric-suffix-as-value>

This allows CLI arguments of the form -j2 to be interpreted as
  --j=2, making it more compatible with "normal" CLI argument interpreters
rakudo: lizmat++ created pull request #5025:
Introduce SUB-MAIN-OPTS<numeric-suffix-as-value>
06:06 reportable6 left 06:08 reportable6 joined
Geth rakudo/lizmat-numeric-suffix-as-value: 05e48713b7 | (Elizabeth Mattijsen)++ | src/core.c/Main.pm6
Only do conversion for single letter args
06:31 |Tux| left
Geth rakudo/lizmat-numeric-suffix-as-value: 900664d89c | (Elizabeth Mattijsen)++ | src/core.c/Main.pm6
Allow only numeric suffixes, not anything else after that
rakudo/lizmat-expand-single-letter-options: 4111513a51 | (Elizabeth Mattijsen)++ | src/core.c/Main.pm6
Introduce SUB-MAIN-OPTS<expand-single-letter-options>

When activated, allows specification of -abc to be equivalent to
  --a --b --c
rakudo: lizmat++ created pull request #5026:
Introduce SUB-MAIN-OPTS<expand-single-letter-options>
07:29 sena_kun joined 08:58 evalable6 left, linkable6 left 08:59 linkable6 joined, evalable6 joined 09:16 sena_kun left 10:23 sena_kun joined
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/08/15/2022-...succeeded/ 11:38
11:42 Xliff left 12:06 reportable6 left 12:08 reportable6 joined
sena_kun lizmat++ 12:16
13:21 squashable6 left 13:23 squashable6 joined 14:38 linkable6 left, evalable6 left 14:40 linkable6 joined 14:41 evalable6 joined 15:13 nebuchadnezzar left 15:37 melezhik joined 15:42 melezhik left 16:05 lizmat_ joined 16:06 Kaipei joined 16:08 Kaiepi left 16:09 lizmat left 16:20 lizmat_ left, lizmat joined 16:28 Xliff joined
Geth rakudo/lizmat-ask: 7ed022b8d9 | (Elizabeth Mattijsen)++ | src/core.e/control.pm6
Add "ask" as an alias to "prompt" in 6.e
rakudo: lizmat++ created pull request #5028:
Add "ask" as an alias to "prompt" in 6.e
tbrowder lizmat: thanks, but i'm not trying to be "butt-headed" (well, mayn 17:22
*maybe a bit :-) 17:23
lizmat well, I wanted to make it concrete about what we're talking about :-)
no worries
lizmat is still not convinced... :-)
tbrowder i really do like your CLI::Help and am using on a new module 17:24
lizmat :-) 17:25
tbrowder on another subject, IO::Path. i would really to see something symmetric with method extension on basename. 17:26
something like stem, maybe. 17:27
OR a pair: IO::Path.basename.parts 17:28
that would return (stem, suffix) 17:29
lizmat doesn't something like that not already exist in the ecosystem ? 17:31
tbrowder the issue of multiple dot separators would have to be handled as a named arg
17:32 sena_kun left
tbrowder i'm not sure but i'll look... 17:32
yes, Path::Util, I'll revisit and see how that works for the doc change before i make any more hasty comments 17:36
lizmat :-) 17:37
18:06 reportable6 left, reportable6 joined 18:13 sena_kun joined
[Tux] Rakudo v2022.07-13-g10feda116 (v6.d) on MoarVM 2022.07-2-g5e3ea9ce8
csv-parser3.565 - 3.737
csv-test-xs-200.411 - 0.412
test6.260 - 6.360
test-t1.335 - 1.413
test-t --race0.775 - 0.810
test-t-2019.187 - 20.735
test-t-20 --race6.918 - 6.938
19:15 pamplemousse joined 19:23 pamplemousse left 19:26 pamplemousse joined 19:29 pamplemousse left, pamplemousse joined
tbrowder Path::Util uses a regex get the basename without extension so I don't think it helps on the doc example. likewise, getting the basename without extension by setting the current extension as [Coke] suggested seems like as much of a hack as any other. 19:29
*setting the current extension to ""... 19:30
in sum, i think we're missing something in core of IO::Path 19:31
in perl and C++ i used to call them stem and suffix 19:33
(i'm sure i got that terminology from somewhere other than myself, probably perl newsgroup or perl monks or brlcad.org) 19:35
19:44 pamplemousse left 19:46 pamplemousse joined 19:49 pamplemousse left 19:58 [Coke] left
lizmat tbrowder: on /foo/bar.txt, stem would be "bar" and suffix would be "txt" ? 19:58
19:59 pamplemousse joined 20:04 pamplemousse left
sena_kun lizmat, likely so 20:06
this case appears to me like a more rare one compared to all the others, so de-huffmanization at work maybe
or the opposite, huffmanized syntax is at it again 20:08
JRaspass FWIW Raku Land does the .extension("").basename dance in a good half a dozen places too, I would very much welcome a better method
tellable6 2021-01-11T02:35:00Z #raku <melezhik> .tell JRaspass I wonder how long does it take for raku.land to index a new version of a module, Sparky new version 0.30.0 is already seen on modules.raku.org ...
2021-07-08T12:56:00Z #raku-dev <tbrowder> .tell JRaspass ^^^
hey JRaspass, you have a message: gist.github.com/d752612ff86b82cd03...40f1be38e4
tbrowder lizmat: yes, for methods on basename 20:11
sena_kun an util sub to factor out .extension("").basename? 20:13
tbrowder i now have my "real" doc example looking pretty good for my take on existing methods, and it includes a pretty "hack" for the "stem". i just need to tidy the "# OUTPUT" stuff.
sena_kun: yes, something like that 20:14
sena_kun tbrowder++ 20:15
20:15 [Coke] joined
tbrowder maybe i'm the only one in the world to often the "stem" ofn 20:16
of basenames, but i
i use them for renames of children. also handy when you have dirnames with dots 20:18
20:18 pamplemousse joined
sena_kun "stem" gives off an image of "the base of the word in a linguistic sense", not the "name without extension" to me 20:18
tbrowder most of the $coding and $fun coding in my life has been text filtering and transformation 20:19
sena_kun: that's probable where the coding use comes from. dr knuth i think may have used those words. 20:21
or larry back in the day
TeX or LaTeX 20:22
20:26 pamplemousse left
tbrowder ah, Make? see full Make manual 20:26
going to real computer now for doc PR update... 20:27
20:27 pamplemousse joined 20:44 pamplemousse left
Kaipei m: say qx/raku --version/; sub (\ is readonly) { }(1) 20:45
camelia ===SORRY!=== Error while compiling <tmp>
Invalid typename 'is' in parameter declaration.
at <tmp>:1
------> say qx/raku --version/; sub (\ is⏏ readonly) { }(1)
Kaipei m: say qx/raku --version/
Kaipei welp
oh wait i'm already on master 20:46
20:47 pamplemousse joined
tbrowder ok, ready for re-review 20:49
Geth rakudo: vrurg++ created pull request #5030:
Make World's `is_type` method more reliable
roast: vrurg++ created pull request #816:
Add more tests for sigilless declarations
20:58 pamplemousse left 21:01 pamplemousse joined 21:04 pamplemousse left 21:08 pamplemousse joined 21:11 pamplemousse left 21:26 pamplemousse joined 21:28 pamplemousse left
Geth rakudo/lizmat-v-check: 7ddb90ce98 | (Vadim Belman)++ | src/Perl6/Grammar.nqp
Don't blindly make a Version object for vN

First look up whether there's a lexical symbol for it, and use that if we found it.
Fixes #3919
21:35 pamplemousse joined 21:40 pamplemousse left 21:49 pamplemousse joined 21:50 pamplemousse left
lizmat vrurg++ 22:01
Geth rakudo: 13f7416c1c | (Vadim Belman)++ | src/Perl6/World.nqp
Make World's `is_type` method more reliable

Sometimes it was treating a lexical sigilless as a type causing obscure compiler errors.
Fixes #5027
rakudo: 2c1e1bfd33 | (Vadim Belman)++ (committed using GitHub Web editor) | src/Perl6/World.nqp
Merge pull request #5030 from vrurg/rakudo-5027

Make World's `is_type` method more reliable
roast: 75f1bf6d77 | (Vadim Belman)++ | S04-declarations/my-6c.t
Add more tests for sigilless declarations

Related to rakudo/rakudo#3919 and rakudo/rakudo#5027
roast: 147874f3b4 | (Vadim Belman)++ (committed using GitHub Web editor) | S04-declarations/my-6c.t
Merge pull request #816 from vrurg/sigilless-declarations

Add more tests for sigilless declarations
22:17 linkable6 left 22:19 linkable6 joined 22:37 sena_kun left 22:53 pamplemousse joined 22:56 pamplemousse left 22:57 sena_kun joined 22:58 Xliff left, Xliff joined 22:59 Xliff left, sena_kun left 23:49 pamplemousse joined 23:51 pamplemousse left