🦋 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 00:03 reportable6 joined 00:24 euandreh left 01:43 frost joined 02:28 euandreh joined
eof is there a limit on heredoc sentinel length? I'm inclined to say there isn't. 02:35
unfortunately for the purposes of an expirement I am doing with treesitter, I need to at least impose an artificial one for the parser... 02:36
02:52 a3r0__ is now known as a3r0 03:07 monkey_ joined 03:32 monkey_ left 04:32 linkable6 left, evalable6 left, reportable6 left, bloatable6 left, unicodable6 left, greppable6 left, tellable6 left, coverable6 left, squashable6 left, sourceable6 left, releasable6 left, shareable6 left, statisfiable6 left, committable6 left, quotable6 left, notable6 left, benchable6 left, nativecallable6 left, bisectable6 left 04:33 evalable6 joined, benchable6 joined 04:34 bloatable6 joined, quotable6 joined, coverable6 joined 04:35 shareable6 joined, tellable6 joined 05:32 unicodable6 joined 05:33 linkable6 joined, bisectable6 joined 05:34 nativecallable6 joined 05:35 committable6 joined 05:51 holyghost_ left 06:32 sourceable6 joined 06:34 notable6 joined 07:04 reportable6 joined 07:11 wayland_ joined 07:33 greppable6 joined 07:34 squashable6 joined, Sgeo left
MasterDuke Xliff_: ping 07:34
07:35 statisfiable6 joined 07:40 jmcgnh left 07:47 jmcgnh joined 07:56 holyghost_ joined 08:13 pony left 08:19 dakkar joined 08:32 pony joined 08:33 wayland_ left 08:34 releasable6 joined 08:38 pony left 08:45 pony joined 08:50 pony left 09:00 patrickb joined 09:02 patrickb left 09:19 patrickb joined, pony joined
patrickb m: say $NonExistent::var; 09:20
camelia (Any)
patrickb o/
Is there an obvious way to make such variable accesses error? 09:21
lizmat messing with the AT-KEY in a meta-class ? 09:22
patrickb Hm. Thanks. I think I'll go a different route then. 09:34
09:37 squashable6 left 09:53 abraxxa-home joined 10:00 patrickb left 10:30 sena_kun left, sena_kun joined 10:43 abraxxa-home left 10:47 pony left 10:53 frost left 11:03 frost joined 11:40 squashable6 joined 11:48 linkable6 left 12:02 reportable6 left 13:02 evalable6 left 13:09 discord-raku-bot left 13:10 discord-raku-bot joined 13:47 Sgeo joined 14:03 evalable6 joined
RaycatWhoDat Morning. I seem to be having trouble with inputs this morning. 14:45
I'm doing something akin to `loop { my $name = prompt; redo unless $name ~~ $regex }` 14:46
actually, no, it's not a `$regex`, it's a subset with a where clause that uses a regex 14:47
So, closer to this: `subset Command of Str where * ~~ /:i ^ EXIT $ /; loop { my $command = prompt; redo unless $command ~~ Command; }` 14:48
Said code only loops and doesn't ever break. What am I missing.
14:51 linkable6 joined
dakkar RaycatWhoDat#0001: wild guess, a newline? 14:53
oh, no, `prompt` removes the newline already
oh, no, `prompt` removes the newline already 14:54
RaycatWhoDat#0001: suggestion: replace that `prompt` with `prompt(">")` or something similar 15:01
there's a *separate* bug in that loop, in that it doesn't detect EOF 15:02
then, the real bug: `redo unless …` should probably be `last if ...`
the loop will loop until you exit it, but you are never exiting, you're just looping in a different way 15:03
15:03 reportable6 joined
dakkar RaycatWhoDat: subset Command of Str where * ~~ /:i ^ EXIT $ /; loop { my $command = prompt(">>") // last; last if $command ~~ Command; say "I will do <$command>" } 15:04
tellable6 dakkar, I'll pass your message to RaycatWhoDat
RaycatWhoDat I see it
dakkar `re
`redo` is pretty uncommon, in my experience 15:05
Nemokosch `redo` is basically continue, isn't it 15:06
Juerd loves redo for retries 15:12
15:20 coleman-x left 15:25 MoC joined 16:25 linkable6 left, evalable6 left 16:33 patrickb joined 16:38 dakkar left 16:49 xinming_ left 16:50 xinming_ joined 17:01 rypervenche left 17:10 rypervenche joined 17:26 evalable6 joined
Anton Antonov Hi! I plan to make a Raku package / repository that generates random data, like, vectors of random words or pet names, or random tabular datasets. Right now I am using the working name `Data::RandomDataGenerators` and there are sub-modules like `Data::RandomDataGenerators::RandomWord` and `Data::RandomDataGenerators::RandomPretentiousJobTitle`. I think that maybe it would be better to use the more gen 17:56
lizmat clickbaits rakudoweekly.blog/2021/10/25/2021-43-thank-you/ 18:01
18:02 reportable6 left 19:02 melezhik joined
melezhik SmokeMachine you can announce the need of help with Red using "help wanted" comment on mybfio, as an example - mybf.io/project/mybfio/reviews 19:03
the "raise hand" icon will stick to a project in the listing for a month 19:04
19:04 reportable6 joined
SmokeMachine melezhik: thanks! Good to know! 19:06
melezhik: fone! Thanks! 19:13
melezhik mybfio might be slow at the moment, I am trying to fix that ... 19:15
SmokeMachine++ 19:16
19:16 patrickb left
melezhik I switched mybfio to `2021.10` version 19:26
19:54 pony joined
tbrowder melezhic: have you thought about renaming your code site to something easier to remember? 20:03
i want to link to it on the Raku.org website if no one objects 20:04
melezhik: (sorry) ^^^ 20:06
20:14 MoC left 20:28 linkable6 joined
gfldex CIAvash: did you consider to create a multi on-the-fly in PatternMatching? 20:50
melezhik tbrowder - do you mean having easier to pronounce dsn name? 20:52
CIAvash gfldex: no, how would it look like? and what are the benefits? error when no candidate is matched? 21:01
melezhik I might change dns in the future, right now I am not sure I am ready to book a "permanent" dns, name, will it be difficult to change it later on raku site and meanwhile use the current one? 21:02
21:03 discord-raku-bot left 21:04 discord-raku-bot joined
gfldex CIAvash: I got something in my blog. If that works you need to catch the default exception and emit the one defined in your module. gfldex.wordpress.com/2021/04/21/re...g-a-wheel/ 21:04
CIAvash Will look into it, I need to go to bed now 🙂 21:09
gfldex sweet dreams then
CIAvash thanks 21:10
tbrowder melezhik: yes 21:29
no, changing will not be a problem 21:30
thnx 21:31
21:51 djerius left 21:53 djerius joined 22:53 linkable6 left, evalable6 left 22:54 linkable6 joined 22:55 evalable6 joined
tbrowder whatever happened to the bot that announced new module releases? 23:35
23:55 linkable6 left