🦋 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 | |
01:14
yewscion joined
01:17
yewscion left
|
|||
tbrowder | hm, i’ll try removing .precomp and see what happens… | 01:27 | |
01:34
yewscion joined
01:36
yewscion left
01:38
Sgeo left
01:44
Sgeo joined
|
|||
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 | |
02:20
ulipink joined
02:21
kylese left,
hulk joined
02:26
Sgeo left
02:29
Sgeo joined
03:15
human-blip left,
hulk left,
kylese joined
03:16
human-blip joined
03:31
jpn joined
03:35
jpn left
03:37
yewscion joined
03:41
yewscion left
03:43
yewscion joined
03:46
yewscion left
03:48
yewscion joined
03:52
yewscion left
04:12
yewscion joined
04:17
yewscion left
04:47
yewscion joined
04:49
yewscion left
04:51
human-blip left
04:53
human-blip joined
04:57
yewscion joined
04:58
jpn joined
05:00
yewscion left
05:02
jpn left
05:16
yewscion joined
05:18
yewscion left
05:24
guifa left
05:46
yewscion joined
05:50
yewscion left
05:58
yewscion joined
06:02
yewscion left
06:27
ulipink left
06:41
jmcgnh left
06:42
jmcgnh joined
07:08
Aedil joined
07:22
yewscion joined
07:27
yewscion left
08:19
jpn joined
|
|||
ab5tract | [Coke]: I think that’s better done once we release to the marketplace | 08:28 | |
08:38
jpn left
08:46
jpn joined
09:00
merpp joined
09:02
merp left
09:04
jpn left
09:12
Sgeo left
09:24
jpn joined
10:00
eseyman left
10:05
manu_ joined,
manu_ is now known as eseyman
10:11
sena_kun joined
11:12
sena_kun left
12:26
ilogger2 left,
ilogger2_ joined
|
|||
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/ | |||
13:27
Aedil left
13:38
Aedil joined
|
|||
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 | |
14:28
yewscion joined
14:42
Sgeo joined
|
|||
[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 | ||
16:30
yewscion left
16:39
yewscion joined
17:52
msiism joined
|
|||
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 | |
18:03
snonux joined
|
|||
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 | |
18:17
jpn left
|
|||
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 | |||
18:53
MyNetAz left
18:56
yewscion left
18:58
yewscion joined
|
|||
msiism | Okay, so `=` is probably the way to go then. | 19:02 | |
19:08
MyNetAz joined
19:24
jdv left
19:26
apac joined
19:36
jdv joined
19:41
sena_kun joined
|
|||
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 | |
21:22
Aedil left
|
|||
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 | ||
22:23
apac left
|
|||
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 | |
22:29
guifa joined
|
|||
timo | is the program a proper module? then you can "zef install" it, which will also include precompilation i assume | 22:33 | |
22:42
sena_kun left
23:12
sena_kun joined
23:15
sena_kun left
23:27
yewscion left
23:28
DarthGandalf left
23:29
DarthGandalf joined
|
|||
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 | ||
23:55
msiism left
|