🦋 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:01 tejr left, morte_ left 00:02 tejr joined 00:04 swaggboi left 00:07 reportable6 left 00:08 reportable6 joined 00:10 swaggboi joined 00:48 monkey_ left 01:03 [Coke] joined 01:05 [Coke] left, [Coke] joined 01:06 [Coke] left 01:11 [Coke] joined
[Coke] how do I stop getting notifications about raku-community-modules? 01:12
tellable6 2021-12-24T19:38:56Z #raku <tbrowder> [Coke] i ran the tests and i think the pertinent ones passed. and the actual code example ran in the prog i built for it on my local host.
[Coke] tbrowder: "the prog you built" - was the prog somehow different from the code in the snippet? 01:13
tbrowder no, the same code. 01:14
[Coke] ok. the last attempt I saw also failed so I reverted it as well. 01:15
if it passed for you, maybe we need a tie breaker. I am running 2021.10
tbrowder there was no “xt” target, but an “xtest” target. 01:16
[Coke] yes. xt is the folder.
(stop getting notifications) well, leaving the org works. done 01:17
tbrowder i don’t know how you are seeing the failure.p
01:17 RandalSchwartz left
[Coke] git checkout 49bf7a271; TEST_FILES=doc/Language/classtut.pod6 xt/examples-compilation.t 01:18
tbrowder have you tried the example on yr local host? maybe it’s the mac problem
[Coke] subtest 30 dies with Attribute $!counter not declared in class
and it's not. it's a my, not a has. 01:19
tbrowder that passed for me, running linux debian 10 and rakudo 2021.10
[Coke] Your code seems incorrect.
tbrowder did you look at my pr? 01:20
[Coke] m: class Str-with-ID is Str { my $.counter = 0; has Str $.string; has Int $.ID; submethod TWEAK() { $!ID = ++$!counter; } }; say Str-with-ID.new(string => 'First').ID; say Str-with-ID.new(string => 'Second').ID;
camelia ===SORRY!=== Error while compiling <tmp>
Attribute $!counter not declared in class Str-with-ID
at <tmp>:1
------> method TWEAK() { $!ID = ++$!counter; } }⏏; say Str-with-ID.new(string => 'First')
expecting any of:
[Coke] ^^&
So, not just me. 01:21
tbrowder look at my pr
[Coke] I would verify when you run it standalone you're running the code you think you are, and that you don't have any local modifications to the file.
URL?
tbrowder my $counter;
[Coke] I was looking at *what you committed*
tbrowder look at my pr which i did not commit. it was done after your revert 01:22
[Coke] *facepalm* 01:23
as I said - if the tests pass for you, go ahead and commit it.
01:24 RandalSchwartz joined 01:25 RandalSchwartz left
tbrowder ok, but i haven’t looked at the pr since i submitted it. won’t it show a good test if it passes the xt tests? 01:26
[Coke] No. the xt tests are "extra" they are not run as part of the normal process.
apparently I am the only person that runs them.
I hope that folks with direct commit bits or large PRs will run the tests as part of their normal workflow. 01:27
the checks run on PRs get you 'make test', basically.
tbrowder ok, i’m confident it works, but i would feel better if you could inspect my code changes in the pr first. note also the important changes in the adjacent text. 01:29
as an aside, the classtut file seems to me to be a bit disorganized after these 4+ yrs of updates. 01:31
i accept the lashes for not running the xt tests when i should, but i will try to remember to do that 01:33
01:33 lichtkind left
[Coke] if you ran the compilation test, You're set. I'm not doing it again. 01:35
tbrowder ok 01:36
Geth doc: 53029bc57b | (Tom Browder)++ | doc/Language/classtut.pod6
Correct TWEAK example and associated description; is a class attribute and does not have a twigil.
01:37
doc: c45bcf8880 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/classtut.pod6
Merge pull request #4003 from tbrowder/tweak-eg

Correct TWEAK example and associated description
linkable6 Link: docs.raku.org/language/classtut
[Coke] Thank you
tbrowder you’re welcome, Merry Christmas, [Coke]! 01:38
01:56 Colt left 01:57 Colt joined 02:27 monkey_ joined 02:44 monkey_ left 02:45 monkey_ joined 02:55 monkey_ left 02:56 monkey_ joined
thowe I hope everyone is warm and full and contented this holiday season. 03:01
03:12 xinming left 03:14 xinming joined 03:15 euandreh left 04:15 sourceable6 left, squashable6 left, bisectable6 left, reportable6 left, statisfiable6 left, coverable6 left, tellable6 left, releasable6 left, nativecallable6 left, shareable6 left, benchable6 left, bloatable6 left, notable6 left, greppable6 left, unicodable6 left, quotable6 left, committable6 left, linkable6 left, evalable6 left, unicodable6 joined 04:17 tellable6 joined, statisfiable6 joined, notable6 joined 04:18 coverable6 joined, bloatable6 joined 04:31 euandreh joined
guifa lizmat++ on advent day post 04:39
and Vrolijk Kerstfeest! 04:41
04:41 MasterDuke left 05:01 monkey_ left 05:02 monkey_ joined 05:06 monkey_ left, monkey_ joined 05:15 committable6 joined 05:16 bisectable6 joined, nativecallable6 joined 05:17 sourceable6 joined, evalable6 joined, benchable6 joined, shareable6 joined 05:18 squashable6 joined 05:22 monkey_ left, monkey_ joined 05:29 monkey_ left 05:30 monkey_ joined 05:34 monkey_ left 05:35 monkey_ joined 05:49 monkey_ left 05:50 monkey_ joined 05:53 monkey_ left 05:55 monkey_ joined 05:57 monkey_ left 05:59 monkey_ joined 06:05 monkey_ left 06:06 monkey_ joined 06:09 monkey_ left 06:11 monkey_ joined 06:15 monkey_ left, monkey_ joined 06:16 greppable6 joined 06:25 monkey_ left 06:26 monkey_ joined 06:30 monkey_ left 06:31 monkey_ joined 06:35 stanrifkin joined, stanrifkin left 06:38 monkey_ left, monkey_ joined 06:43 monkey_ left, monkey_ joined 06:48 monkey_ left 06:49 monkey_ joined 06:52 monkey_ left 06:53 monkey_ joined 07:01 monkey_ left, monkey_ joined 07:06 monkey_ left 07:08 monkey_ joined 07:15 monkey_ left, quotable6 joined, linkable6 joined 07:16 monkey_ joined 07:23 seednode left, seednode joined 07:34 monkey_ left 07:35 monkey_ joined 07:44 monkey_ left 07:46 monkey_ joined 07:53 monkey_ left 07:54 monkey_ joined 07:57 euandreh left 08:01 monkey_ left 08:03 monkey_ joined 08:09 monkey_ left 08:10 reportable6 joined, monkey_ joined 08:14 monkey_ left 08:15 monkey_ joined 08:16 releasable6 joined 08:21 monkey_ left, monkey_ joined 08:34 monkey_ left 08:35 monkey_ joined 08:39 monkey_ left 08:40 monkey_ joined 08:42 monkey_ left 08:43 monkey_ joined 08:55 monkey_ left, monkey_ joined 08:59 monkey_ left 09:00 monkey_ joined 09:10 monkey_ left 09:11 monkey_ joined 09:14 monkey_ left 09:15 monkey_ joined 09:21 monkey_ left 09:25 monkey_ joined 09:30 monkey_ left, monkey_ joined 09:39 monkey_ left 09:41 monkey_ joined, monkey_ left 09:43 monkey_ joined 10:03 monkey_ left 10:06 monkey_ joined 10:18 monkey_ left 10:22 monkey_ joined 10:30 monkey_ left, monkey_ joined 10:37 monkey_ left 10:42 monkey_ joined 10:44 Skarsnik joined 10:47 Sgeo left 10:49 monkey_ left 10:50 monkey_ joined 10:55 monkey_ left 10:58 monkey_ joined 11:05 monkey_ left 11:06 monkey_ joined 11:08 notna joined 11:10 MasterDuke joined 11:19 notna left 12:00 monkey_ left 12:07 reportable6 left 12:19 lichtkind joined, frost joined 13:48 linkable6 left, evalable6 left 13:50 linkable6 joined
Anton Antonov Get some sort of seasonal greeting card with this link: www.wolframcloud.com/obj/8691f810-...=GrayTones 13:51
Every time new image is generated. (Also, not made with Raku, but maybe holiday-ish enough...) 13:52
13:55 frost left 14:08 reportable6 joined 14:37 euandreh joined 15:37 linkable6 left 15:39 linkable6 joined 15:56 ggoebel_ left 16:49 evalable6 joined 16:50 ggoebel_ joined 17:50 unicodable6 left, notable6 left, bloatable6 left, reportable6 left, tellable6 left, statisfiable6 left, linkable6 left, quotable6 left, evalable6 left, benchable6 left, bisectable6 left, squashable6 left, shareable6 left, greppable6 left, committable6 left, coverable6 left, releasable6 left, sourceable6 left, nativecallable6 left, notable6 joined 17:51 greppable6 joined, benchable6 joined 17:52 tellable6 joined 17:53 sourceable6 joined, quotable6 joined, releasable6 joined 18:23 guifa left 18:40 djerius_ left, djerius joined 18:48 Sgeo joined 18:50 bisectable6 joined 18:51 committable6 joined, bloatable6 joined, nativecallable6 joined, unicodable6 joined, coverable6 joined 18:53 statisfiable6 joined, linkable6 joined
CIAvash Can't verify the rakudo 2021-12 release, it seems there is no public key for the signature, cc jdv 19:12
19:14 reportable6 joined 19:51 evalable6 joined 20:40 bdju left 20:47 bdju joined 20:51 shareable6 joined 21:25 tejr left, tejr joined 22:25 linkable6 left, evalable6 left 22:27 evalable6 joined 22:53 lichtkind left 23:27 perlbot left 23:28 simcop2387 left 23:53 squashable6 joined