🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:02 reportable6 left
tbrowder hi, rakoons: \o/ 00:04
need some advice, having probs with testing using zef or mi6
when i rub 00:05
00:05 reportable6 joined
tbrowder *run module tests with "raku -I lib t/*t" they run fine 00:06
but when i run either "mi6 test" or "zef test ." i get all tests ok but a failure because "parse error, subtest 1 has no plan" 00:08
afaik i have NO subtests
any ideas? i'll send a link in a mo 00:09
see github.com/tbrowder/DateTime-US.git 00:11
zef and mi6 are the latest versions 00:12
i'm probably doing something stupid and can't see it, but...
00:19 gordonfish- joined 00:22 gordonfish left 00:37 evalable6 joined
ugexe maybe its TAP module 01:07
sounded like you had an old version installed a few days ago
to see if thats true try `zef test . --/tap-harness` 01:08
tbrowder thnx, nick... 01:17
wow, that did it! what just happened? 01:19
i thought i upgraded TAP...
i did, it's the latest p: 0.2.1 01:22
hm, and how does that affect the mi6 test failure? 01:33
01:37 evalable6 left, linkable6 left 01:38 linkable6 joined 01:42 simcop2387_ joined 01:43 jjatria left, jjatria joined 01:45 perlbot left, simcop2387 left 01:46 simcop2387_ is now known as simcop2387
tbrowder if --/tap-harness disables the tap-harness plugin, how can it be removed? 01:46
01:46 perlbot joined
tbrowder otherwise it looks like my module testing is broken (and the same thing happens in git testing) 01:48
ugexe mi6 uses TAP to test i presume 01:51
you would remove it via `zef uninstall TAP` 01:52
but then mi6 probably wouldnt work
might be worth submitting a bug report to TAP 01:55
i get the same behavior
skaji if you remove this line github.com/tbrowder/DateTime-US/bl...eral.t#L8, then the test will pass. 01:56
tbrowder skaji: thnx 02:00
ok, that fixed it, but what is the underlying problem? 02:08
02:14 simcop2387 left, perlbot left 02:18 [Coke] left 02:19 pony joined 02:21 melezhik left, [Coke] joined 02:24 simcop2387 joined 02:26 mahafyi left 02:27 perlbot joined, tbrowder left 02:28 tbrowder joined 02:39 evalable6 joined 03:06 pony left 03:11 pony joined, pony left 03:33 pony joined 04:25 no-n joined 04:26 pony left 04:32 pony joined 04:33 no-n left 05:33 notable6 left, linkable6 left, statisfiable6 left, committable6 left, quotable6 left, unicodable6 left, squashable6 left, nativecallable6 left, evalable6 left, coverable6 left, shareable6 left, sourceable6 left, bloatable6 left, benchable6 left, bisectable6 left, greppable6 left, tellable6 left, releasable6 left, reportable6 left, evalable6 joined, linkable6 joined 05:35 nativecallable6 joined, tellable6 joined, benchable6 joined 05:36 statisfiable6 joined, quotable6 joined 06:02 reportable6 joined 06:22 abraxxa joined 06:26 abraxxa left 06:27 abraxxa joined 06:33 bisectable6 joined 06:34 releasable6 joined 06:35 bloatable6 joined, coverable6 joined 07:22 Sgeo left 07:31 patrickb joined 07:33 sourceable6 joined
patrickb o/ 07:33
07:34 greppable6 joined, notable6 joined
Mondenkind \o 07:35
patrickb Anyone around with admin permissions on the GitHub rakudo, Raku and MoarVM projects? 07:36
I need to have the raku ci bot app installed in those projects. 07:37
Hm... Actually I'd favor being given access to those accounts, as I otherwise have to make the app public, which I'd rather not like to... 07:42
08:18 MoC joined 08:33 squashable6 joined 08:35 shareable6 joined 09:28 tejr left 09:29 tejr joined 09:34 committable6 joined 10:34 evalable6 left, linkable6 left 10:37 evalable6 joined 10:44 Altai-man joined 10:49 Geth left 10:50 Geth joined
tbrowder hi, folks o/ 10:51
patrickb: sorry, can't help
but i would like help with testing code writing to stdout as was causing problems yesterday until skaji and ugexe helped find the problem 10:53
Altai-man patrickb, hi! I have what you ask about, how can I help? 10:54
11:10 abraxxa left
lizmat FOSDEM will only be online in 2022: fosdem.org/2022/news/2021-10-22-fo...line-2022/ 11:56
Altreus oooooo 11:58
I wonder whether I can still justify staying in the Warwick Barset 11:59
Barsey
12:02 reportable6 left 12:03 MoC left 12:37 linkable6 joined 12:40 mpn1 joined, mpn1 left
ugexe tbrowder: try changing `DateTime::US.show;` to `diag DateTime::US.show;` 12:52
that should prefix the output in such a way that it wont be interpretted as TAP 12:53
tbrowder ok…
that didn't work, bummer 12:59
i'm just ignoring that test for a while, but thanks, very much anyway 13:00
ugexe oh right, .show is doing the `say`s 13:04
i guess you could use github.com/JJ/raku-io-capture-simple to capture the output so TAP never sees it 13:05
it has a Test::IO::Capture modules it looks like 13:06
Altreus IMO test frameworks should set that stuff up for you
ugexe although you probably would just want to use IO::Capture::Simple since using Test::IO::Capture would require you to test for the entire string it outputs
Altreus or at least offer it 13:07
ugexe im sure there are some test frameworks that do
Altreus I guess I'm thinking they should black-hole it (or at least diag() it) by default, but if you wanted to test stdout then you can just capture it yourself 13:08
tbrowder thnx for suggestions…will report what wrx 13:19
Altreus raku's stolen tbrowder's vowels!
irritable vowel syndrome? 13:20
13:36 unicodable6 joined 13:37 linkable6 left 13:40 linkable6 joined 13:48 abraxxa-home joined, Sgeo joined 14:14 melezhik joined 14:22 jrjsmrtn left 14:23 jrjsmrtn joined
melezhik . 14:49
tbrowder vwls r a wst of tym mny tyms 14:57
ref test problem: would using "note" instead of "say" be better? 15:00
15:05 reportable6 joined
tbrowder okey dokey, success! i used IO::Capture::Simple inside of a "lives-ok 15:15
japhb lizmat: logs.liz.nl returning blank pages? Or is it just for me? 15:16
tbrowder block and no failure. now i will improve the test a bit with inspecting the capture output
lizmat japhb: home page works for me? 15:17
15:17 patrickb left
lizmat ah, but after that bang 15:17
[Coke] logs.liz.nl/raku/2020-05-01.html gives a 500
tbrowder thanks so much skaji, ugexe, and Altreus
lizmat japhb: thanks for the nudge... fixed for now 15:19
[Coke] lizmat: logs.liz.nl/moarvm/2021-10-22.html - geth messages have an unprintable char in them. Not sure if that's on me or the page. 15:23
(e.g. on the last one, it's right after the word "callstack"
Altreus IO::Capture::Simple sounds like my sort of module 15:24
tbrowder: I think I only threw in tangential suggestions but yay!
15:25 nebuchadnezzar left
lizmat [Coke] yeah, it looks like Geth is putting control characters in the messages :-( 15:25
trying to figure out the best way how to deal with that
ugexe m: { my $out; temp $*OUT = class :: { method print($str) { $out ~= $str } }; say 42; }; say 43;
lizmat Altreus: have you looked at silently ?
camelia 43
Altreus lizmat: nyet 15:26
is it a role :D
lizmat no, it is a sub :-)
Altreus aw, can't do thing() but silently; 15:27
eh I guess you couldn't anyway
:(
tbrowder Altreus: i agree, i’m putting that module in my goto list for testing as well as maybe other needs in future
[Coke] lizmat: when filtering, the first timestamp can be omitted (presumaly timestamps are done first, then filtering is done.)
so on this channel, filtered for me, only the second message shows the time. 15:28
lizmat yeah, that's a side effect of thefiltering 15:29
please make an issue for it :-)
[Coke] lizmat: minor usability item: once a filter is set, it appears to be universal. I was surprised just now doing a search that had result dates, but clicking through was empty (I quickly figured out it was because I had filtered on my nick earlier) - maybe if there was an icon to indicate filtering was active. 15:42
lizmat issue please :-)
[Coke] also: search for "motie" doesn't find anything despite there being a match in #moarvm yesterday 15:43
#23 15:45
melezhik funny, when I click on `#23` I gets connected to channel 23 )) 15:46
in my browser irc client 15:47
lizmat [Coke] that's probably because you selected "as words"
it does find "motie" when searching with "containing"
[Coke] thought I switched that. 15:49
j 15:50
oh. it's searching per channel, didn't even realize. 15:51
user error, I guess. Thanks.
15:52 abraxxa-home left 16:47 idiosyncrat joined 16:48 xinming_ left 16:50 xinming_ joined 16:51 idiosyncrat left 17:08 Altai-man left
tbrowder someone please remind me: given a module with class methods as well as some exported subs with the same name as methods, should the methods use the subs for definition or vice versa? thnx 17:50
lizmat the subs should use the methods 17:54
that way someone can add another candidate sub to special stuff, dispatch will then do the right thing
17:59 linkable6 left 18:02 reportable6 left 18:05 reportable6 joined 18:12 nebuchadnezzar joined 19:01 melezhik left
tbrowder lizmat: okey, dokey, as bing cosby (ithanks 19:40
*once sang "thanks for the memory"
*crosby 19:41
20:01 evalable6 left 20:02 evalable6 joined 20:38 pony left 20:39 pony joined 20:44 gordonfish- is now known as gordonfish 21:31 DarthGandalf left, zostay left, skaji left, SmokeMachine left, avar left, ingy left, bdju left, discord-raku-bot left, phogg left, mfiano left, tonyo left, leont left, charsbar left, KotH left, renormalist left, jercos left, samebchase left, renormalist joined, jercos joined, charsbar joined, KotH joined, avar joined, mfiano joined, discord-raku-bot joined, samebchase joined, skaji joined, SmokeMachine joined 21:32 leont joined, zostay joined 21:33 phogg joined, DarthGandalf joined 21:34 ingy joined 21:36 tonyo joined, bdju joined 21:58 discord-raku-bot left, discord-raku-bot joined 22:02 linkable6 joined 22:04 kjp left 22:06 kjp joined 22:09 djerius left 22:10 djerius joined 22:41 pony left 22:48 melezhik joined
melezhik now one can give "likes" to reviews on mybfio 22:49
22:49 pony joined
melezhik Uploaded file: uploads.kiwiirc.com/files/5fe3c944...005_c.jpeg 22:49
22:51 kjp left 22:52 kjp joined 22:54 melezhik left
Mondenkind still thinks everything should use multis 23:02
23:02 Mondenkind is now known as moon-child 23:04 no-n joined 23:22 pony left, no-n is now known as pony
Nemokosch what is this ACTION 23:42