🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:00 reportable6 left 00:01 wayland left 00:07 wayland joined 00:13 swaggboi left, swaggboi|2 joined 00:15 swaggboi|2 left, swaggboi joined 00:23 stanrifkin joined 00:34 swaggboi left 00:38 swaggboi joined 01:13 xwu1 left 01:26 xwu1 joined 01:39 swaggboi left 01:53 swaggboi joined 02:05 deoac left 02:06 Manifest0 left 02:10 swaggboi left 02:20 xwu1 left 02:27 xwu1 joined 02:32 guifa joined 02:34 swaggboi joined 02:52 johny59 joined 02:53 johny59 left 03:15 stanrifkin_ joined 03:18 stanrifkin left 03:30 reportable6 joined 03:59 init joined 04:59 quotable6 left, tellable6 left, shareable6 left, benchable6 left, releasable6 left, linkable6 left, evalable6 left, committable6 left, squashable6 left, greppable6 left, nativecallable6 left, bisectable6 left, statisfiable6 left, notable6 left, coverable6 left, sourceable6 left, unicodable6 left, reportable6 left, shareable6 joined 05:00 bisectable6 joined, nativecallable6 joined, greppable6 joined, linkable6 joined 05:01 statisfiable6 joined, notable6 joined, squashable6 joined 05:02 unicodable6 joined, releasable6 joined, evalable6 joined, reportable6 joined, tellable6 joined 05:24 guifa left 05:25 squashable6 left 05:27 squashable6 joined 05:55 stanrifkin_ left, xwu1 left 05:58 xwu1 joined 06:00 reportable6 left 06:02 reportable6 joined 06:03 committable6 joined 06:10 coverable6 joined 07:10 reportable6 left, coverable6 left, greppable6 left, bisectable6 left, linkable6 left, committable6 left, nativecallable6 left, notable6 left, statisfiable6 left, releasable6 left, shareable6 left, bisectable6 joined, releasable6 joined, notable6 joined, statisfiable6 joined 07:11 reportable6 joined, nativecallable6 joined 07:12 shareable6 joined 07:32 RakuIRCLogger joined 07:43 sourceable6 joined 08:00 xwu1 left 08:01 jpn joined 08:02 xwu1 joined 08:07 jpn left 08:12 greppable6 joined, linkable6 joined 08:15 coverable6 joined 08:19 jpn joined 08:20 teatwo joined 08:23 tea3po left 08:34 kylese joined 08:40 Manifest0 joined 08:43 jpn left 08:53 benchable6 joined 08:59 rypervenche left, rypervenche joined 09:17 Sgeo left 09:30 jaguart left 09:54 tadzik left, tadzik joined 10:21 notna joined 10:35 xwu1 left 10:38 jpn joined 10:43 jpn left
tbrowder__ well, some raku core person made my day! looking at the docs trying to see current state of "copy" i see file ".extension" is now in core, hooray! 10:59
i must have missed the announcement 11:00
lizmat yeah, there are some good people working behind the scenes :-) 11:01
tbrowder__ i was going to guess it was you, liz
how about copy, then 11:02
copy /a/b, /b => /b/b
it would be a chore to do full *nix semantics, but the simple case maybe... 11:03
for myself, that is the most-used, and a pain with current method. i tried working on a File::Copy years ago to argue for that but i got lost in the weeds 11:06
i may revisit the module and make it lighter... 11:08
nemokosch it was probably liz 11:10
11:11 jpn joined 11:16 opoku joined 11:22 wayland left, opoku left
tbrowder__ looking at File::Copy. it was removed from CPAN. 11:23
and marked with a danger warning
;-( 11:24
lizmat there's BackPAN I think? 11:25
11:26 wayland joined 11:27 committable6 joined 11:34 jpn left
tbrowder__ oh i still have the code. i’ll see if i can reduce the warning and put it Zef 11:47
maybe back off to the simple sub / simple case
it’s in my github at File-Copy 11:49
11:49 quotable6 joined 11:58 sjn left, sjn joined 12:00 reportable6 left, tea3po joined 12:03 reportable6 joined, teatwo left 12:05 opoku joined
opoku hello, i'm having trouble evaluating a heredoc inside of an emacs Raku REPL buffer. Pasting the same here doc in a Raku REPL in a terminal works fine. Gist showing error here: gist.github.com/opoku/626a0a49ee54...1de2748851 12:07
lizmat heredocs in the REPL are currently not supprted afaik 12:09
nemokosch I wonder what you did that it worked fine in a Raku REPL in a terminal 😄
never managed to use it 12:10
opoku i just copied the text and pasted into a repl running in my terminal 12:21
nemokosch didn't work for me 12:22
12:22 RonaldR34g4m joined, kylese left 12:23 Vyrus left
opoku typing it out didn't work but pasting it did 12:25
lizmat: thanks for the clarification 12:26
12:26 jpn joined 12:37 opoku left 13:01 MoC joined 13:15 Apl joined 13:17 notna left 13:25 Apl left 14:14 codesections joined 14:15 jpn left 14:21 El_Che left, El_Che joined
tbrowder__ fyi, i'm getting successful windows testing (without prove6)/with a bash script and raku -I. iterating over the test files in t/ 14:49
14:59 codesections left 15:03 MoC left, MoC joined
tbrowder__ for f in t/* ; do raku -I. $f ; done 15:08
put in yr windows.yml for github actions 15:09
antononcube @tbrowder So, you have a windows machine to experiment with Raku packages? 15:13
@tbrowder If you answer yes, I am going to ask you to figure out or test the copying to the OS clipboard with Raku. 🙂 (Using the package "Clipboard" : raku.land/zef:antononcube/Clipboard .) 15:22
tbrowder__ no, not yet, but i rely on github's test vm 15:44
one thing i do is separate github workflows testing so the badges show green or red for each os and it's easier to work each os separately. 15:46
if you use my Mi6::Helper you can see with a new Foo module how that is done and mimic it. 15:47
i'll take a look, though, i also now, thanks to [Coke] look at Chocalatey for windows packages that may need to be added 15:49
15:49 guifa joined
antononcube @tbrowder Thanks, good to know points. 16:00
tbrowder__ erg, trying to release an update and getting failures with Digest::SHA2 again. any workaround? 16:27
16:37 linkable6 left 16:40 linkable6 joined
nemokosch what are the failures? 17:06
17:09 abraxxa-home joined
tbrowder__ i’ll sen gist in a bit 17:13
17:20 abraxxa-home left 17:21 abraxxa-home joined 17:27 xwu1 joined 17:42 xwu1 left 17:43 xwu1 left 18:00 reportable6 left 18:11 abraxxa-home left 18:30 xwu1 joined 18:33 wayland left 18:34 Sgeo joined 18:38 xwu1 left
tbrowder__ um, never mind, test is OBE, don’t ask 18:40
18:41 xwu1 joined 18:44 spacekookie_ left 18:45 spacekookie joined 19:02 lizmat_ joined 19:06 lizmat left, kjp left, reportable6 joined 19:09 lizmat_ left 19:10 lizmat joined 19:14 MasterDuke left 19:17 wayland joined 19:36 deoac joined
guifa making a local alpha token was surprisingly easier than I thought 19:40
with RakuAST I mean 19:41
(actually, it's much easier than doing it with EVAL by probably an order of magnitude lol)
Only reason I haven't released it yet is I found a bug in Intl::CLDR and decided a part could use some better architecture to enable exactly what I'm trying to do better hahaha 19:49
(CLDR abbreviates the alphabet for languages with ranges. i was expanding them. cool for English et al. Japanese and Chinese have some very large ones and expanding is wasteful since regex will compress them back into a range definition) 19:51
20:03 MoC left 20:05 daxim left, daxim joined
antononcube 🤔 20:05
tbrowder__ btw, i forgot bash is not on windows, so i just add one exe line for each test file, something in the win.yml like: run | raku -I. t/test1.t \n raku -I t/test2.t ...
name each test file explicitly, one per line followin the "run |" 20:07
you can see it in action on the community modules repo with my PR for File::Find 20:12
good test on windows!
nemokosch yes, you fixed it... but at what cost. Using a more than a year old Rakudo 20:17
20:39 teatwo joined 20:40 teatwo left 20:41 teatwo joined 20:42 tea3po left
tbrowder__ i don't know why you say that 20:54
nemokosch isn't it simply true? 20:55
tbrowder__ the vm is using rakudo-latest
and so am i
nemokosch I thought we were talking about this: github.com/raku-community-modules/...ae63030167 20:56
tbrowder__ oh, you're right--forgot to change that part. doing that now 21:02
21:03 NemokoschKiwi joined
nemokosch oh, so that wasn't it 21:04
21:06 NemokoschKiwi left
tbrowder__ thnx, corrected, fingers crossed 21:08
and tests ok 21:10
it doesn't solve the prove6 problem, but it's a valid alternative imho 21:11
nemokosch nice ^^ 21:16
On a different note: I would be thankful if somebody could explain to me what the point of a "test harness" even is 21:19
tbrowder__ now if someone can provide a powershell equiv to the bash thing. a short raku prog or one-liner should do it... 21:22
ugexe zef will test like that if you invoke it with --/prove --/tap-harness 21:25
i.e. run `raku -I. -Iother-depends t/my-test1.t`, `raku -I. -Iother-depends t/my-test2.t`, etc
one thing a harness does is aggregate 21:26
nemokosch so it could be changed to zef test --/prove --/tap-harness . ? 21:31
21:39 leah2 left 22:21 kjp joined 22:25 benw joined 22:27 deoac left 22:29 benw left, deoac joined 23:00 xwu1 left 23:04 xwu1 joined 23:05 corwin left, leah2 joined, corwin joined 23:24 nine left, nine joined 23:36 Manifest0 left