🦋 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.
Geth raku.org/main: c2b918f849 | (Will Coleda)++ | source/community/irc/index.html
Remove reference to old bot.

Closes #230
00:02
[Coke] ab5tract: can you provide a new oneliner for comma at raku.org/whatever/ ? 00:37
timo tbrowder: could be stale precompilation files causing that problem. it looks like the code is trying to re-bless a Signature to a Stash, which to me feels like the wrong kind of object coming out of a serialized blob 00:42
tbrowder hm, i’ll try removing .precomp and see what happens… 01:27
Geth ¦ raku.org: coke self-assigned Don't depend on abandoned Mowyw module github.com/Raku/raku.org/issues/174 01:59
tbrowder timo: good suggestion, i got past the error, thank you! 02:01
ab5tract [Coke]: I think that’s better done once we release to the marketplace 08:28
tbrowder hi, i'm looking for a pointer to the community version of commaide. the link on raku.org points to the original edument version. 12:45
i know it's in work but imho i think there should be a link to any public code. 12:47
lizmat ab5tract ^^ 12:51
I believe: github.com/ab5tract/comma-plugin/r...4.3-beta.1 12:52
(from the Raku 2024 Review)
ab5tract That’s the one!
Will try and get this released and integrated into IntelliJ marketplace during February 12:53
tbrowder: note that there is no standalone version anymore
[Coke] ab5tract: I understand it's not in it's final form yet but the current description there is wrong. ... but if it's fixed by february, that's not far. Thanks. 13:17
s/by/in/
tbrowder thnx 14:01
is the community edition of intellij good enough to run it? 14:04
[Coke] anyone looking for a raku programming task that would help out a bit: github.com/Raku/doc/issues/4509 - convert one http client to another to get rid of a dependency 14:28
[Coke] anyone have any comments on git fsck errors here: github.com/Raku/raku.org/issues/50 ? Not a fan of rewriting all the historical SHAs to avoid it 14:57
... though losing historical sha on the website repo is _probably_ fine 15:12
antononcube This is impressive: codegolf.stackexchange.com/a/185311
I have idea how that Perl6 / Raku code works, but it seems to produce correct results for a few Gaussian integers I tried. 15:13
Well, Grok helped understanding that code -- again, impressive "Raku terseness" utilization. 15:31
msiism lizmat: re: REPL commands: Could you give an example of a Raku command colliding with a Rakudo REPL command? 18:01
lizmat well, in the current repl, there is no "exit" command
when you type "exit" it just executes the "exit" command
if you have happened to define your own "exit" sub in the REPL 18:02
you can't exit with that
msiism And this couldn't be the case with `=quit`? 18:03
lizmat no, because you can't have a sub with the name "=quit" 18:04
msiism I see.
lizmat well, never say never, but you would have to get into meta-programming land to create such a sub
and by that time, I'd say it's a case of DIHWIDT 18:05
msiism I see. 18:06
I've just been looking at the Racket REPL. It use `,<command>` for REPL commands. 18:07
Any particular reason you'd use `=`?
lizmat the reason for = is that you'd generally would enter commands from the beginning of the prompt 18:11
and lines that start with "=" are considered to be RakuDoc specifications in Raku
and since you most like would not be writing RakuDoc inside a REPL, it felt like a good candidate for an "escape" key 18:12
m: =foo
camelia ===SORRY!=== Error while compiling <tmp>
Preceding context expects a term, but found infix = instead.
Did you make a mistake in Pod syntax?
at <tmp>:1
------> =foo<HERE><EOL>
msiism Okay, that makes sense. 18:14
lizmat also, the equal sign is used a lot in code, so it probably is at an easily reachable location on the keyboard
msiism Well, some people, like me, do have to hit Shift to type it. But that's really a very minor issue. 18:15
lizmat well, I'm open to suggestions :-) 18:16
msiism I have a feeling I'm not exactly qualified to make suggestions here. So, FWIW, let me just say that the comma doesn't require me to hit Shift. 18:17
lizmat right 18:22
but in Raku, since the REPL allows expressions over multiple lines, a comma at the start of the line is **not** by definition an error 18:23
msiism I see. 18:25
lizmat although you could argue that's also the case for = 18:33
but that feels less likely, as some people like their lists with the commas before the value, and some after
msiism Okay, so `=` is probably the way to go then. 19:02
antononcube @msiism Are you "new" to Raku? 20:13
msiism Yes, currently going through the Raku Course. So, I know some basics. 20:30
antononcube Please, consider using VS Code with Raku -- both scripts and notebooks. If you install the one of the Jupyther notebook packages, you can "keep track" of your course examples or homework. 20:42
Geth docker: bf7a27f54b | (Anton Oks)++ (committed using GitHub Web editor) | README.md
README.md: Delete stale link
20:43
msiism Hm… I'm actually reasonably pleased with using Nano for plain text editing. 20:50
ab5tract antononcube: VS Code > IntelliJ for you these days? 20:58
antononcube IntelliJ for writing, maintaining, and documenting Raku packages. VSCode for Jupyter (Raku) notebooks. Occasionally, for Raku scripts. 21:23
I would say, Raku-wise, I spent most of the time in IntelliJ. But also spent fair amount of time using Raku-chatbooks in VSCode. 21:24
xinming When I make move a raku program into docker container, Each time the app starts, It'll compile a lot of modules before start. What is the right way to let the raku compile all files in a directly? with something like `find -type f -name '*.raku*' -exec raku {} \;` doesn't seem to be right 22:26
timo is the program a proper module? then you can "zef install" it, which will also include precompilation i assume 22:33
ugexe you would want to load each module using the same include paths you would when running the app 23:38
for example if you are running your app via `raku -I. bin/foo` then you could do something like `raku -I. -e 'use Test; use-ok($_) for Distribution::Path.new($*CWD).meta<provides>.keys'`
slightly simplified: `raku -I. -e 'for Distribution::Path.new($*CWD).meta<provides>.keys { require ::($_) }'` 23:42