🦋 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.
00:13 yewscion joined 00:18 yewscion left 01:41 coleman left 01:42 coleman joined, yewscion joined 01:46 hulk joined, coleman left 01:47 coleman joined, yewscion left, kylese left 02:15 hulk left, kylese joined 02:41 yewscion joined 02:45 yewscion left 02:56 yewscion joined 03:01 yewscion left 03:45 kylese left 03:47 kylese joined 04:07 yewscion joined 04:13 yewscion left 04:28 maylay left 04:30 maylay joined 04:51 yewscion joined 04:56 yewscion left 06:38 Sgeo left 07:53 wayland76 joined 08:14 lichtkind joined
wayland76 What are the goals of the raku.org website? github.com/librasteve/raku-org-25-...o/issues/5 09:20
09:55 yewscion joined 10:02 yewscion left 10:06 Aedil joined 10:30 yeahitsme joined 10:38 yewscion joined 10:43 yewscion left
[Coke] waves from .nl 10:47
11:14 yewscion joined 11:19 yewscion left 12:04 yewscion joined 12:08 stanrifkin joined 12:09 yewscion left 12:13 yeahitsme left
Geth examples: ed32b8e3c4 | (Will Coleda)++ | 2 files
P6 -> Raku

Slightly modernize, rename, make directly executable where supported.
Part of #87
12:17
examples: 5ee959e9a3 | (Will Coleda)++ | 7 files
Remove perlmonks examples

  (Reduce Perl vs. Raku confusion at the loss of 2 examples)
Closes #84
12:22
examples: 04ffe6e03e | (Will Coleda)++ | 6 files
Remove unused bin/ scripts

Looks like items that are now standard elsewhere, and these are all unused
Part of #82
12:36
12:55 yewscion joined
Geth examples: 7409e3a04b | (Will Coleda)++ | 3 files
Remove unfinished TODO examples
12:55
13:02 lizmat left
Geth examples: d5e0f77dcf | (Will Coleda)++ | 490 files
Update examples to use modern extensions

Closes #100
13:10
13:10 lizmat joined
Geth examples: 259633866f | (Will Coleda)++ | 2 files
Update examples to use modern extensions
13:31
13:51 yeahitsme joined
Geth examples: a4e78786a0 | (Will Coleda)++ | categories/cookbook/README.md
README links to obsolete repo
13:52
examples: 872ae6af6b | (Will Coleda)++ | 13 files
Remove remaining "Perl 6" references.

Remove a comment with P6 in it that hasn't been true for a decade.
examples: a4217fbbf6 | (Will Coleda)++ | 4 files
Remove samples from bin/

Examples are under categories, this is hidden and unused.
Part of #82
13:54
examples: 7abebe89cd | (Will Coleda)++ | 2 files
Cleanup just-merged PR from 2022

Part of #93
13:59
examples: 004dcfb26e | (Steve Dondley)++ | categories/99-problems/P06-sdondley.pl
solution for problem #6
14:01
examples: a1efe71c89 | (Will Coleda)++ (committed using GitHub Web editor) | categories/99-problems/P06-sdondley.pl
Merge pull request #94 from sdondley/p6

solution for problem #6
examples: 88eb401d59 | (Will Coleda)++ | 2 files
Cleanup just-merged PR from 2022

Part of #94
14:03
14:13 yewscion left 14:15 Sgeo joined 14:27 yewscion joined 14:32 abraxxa-home joined 14:34 abraxxa-home left, abraxxa-home joined 14:36 abraxxa-home left 14:39 abraxxa-home joined, abraxxa-home left 14:54 apac left 15:38 apac joined 16:05 apac left 16:10 apac joined 16:16 yeahitsme left 16:17 oodani left 16:19 oodani joined
wayland76 Question: has anyone tried the editor called "Zed"? zed.dev/ 17:14
librasteve nope … i use vi and intellij so not really room for a new one … does it have raku support? 17:18
wayland76 That's why I'm asking :) . 17:30
OK, I think I've managed to answer my own question: It'll please the minimalists, and has its good points ( fuelyourdigital.com/post/is-zed-be...n-vs-code/ ), but raku users probably aren't minimalists :p 17:35
librasteve my vague memory last time i looked at raku code highlighting was that we should try and make a raku LSP (Language Server Protocol?) since it appeared that this single piece could work with IntelliJ (and their new prototype), vscode and maybe others. I gather that Rainbow is the state of the art for raku code highlighting written in raku.
vi is pretty minimal … it took years for me to warm to coloured code text though 17:36
wayland76 Yeah, agreed, vi is minimal. I've recently switched from nano (which I'd still choose remotely) to vscode, but if there's a better alternative, I'd like to hear it. If it does good AI suggestions and handles git worktrees (as well as Raku, obviously), I'm interested. 17:40
And yes, agreed about the LSP.
librasteve i tend to stay away from ai code completion… intellij plus the raku plugin 2.0 is as good as you can get for full fat raku IDE right now … i hear that vscode and intellij are pretty level on git and llm integration … 17:47
wayland76 We've been using GitHub Copilot at work (PHP), and it's right often enough that I'm coding faster. Also we've gotten CodeRabbit, which I think has been doing an amazing job reviewing PRs. Not sure how it'll do with Raku though. 17:49
17:50 Aedil left
wayland76 My boss likes CodeRabbit because it generates a summary of what the PR is attempting to achieve, which means he doesn't have to read through the code to figure it out, and I like it because it makes a bunch of recommendations that are mostly useful, and even when they're not, it's usually "That's a good idea, but not at this stage of the project" 17:59
18:03 apac left
[Coke] folks - what is the URL for the RSC site? 18:40
github.com/Raku/raku.org/issues/229
antononcube Nothing beats using Raku in Wolfram Notebooks!!! 19:01
Well, maybe, using Raku-Jupyter chatbooks...
IntelliJ for writing Raku packages is really hard to beat. 19:02
[Coke] anyone ever have to deal with cleaning up fsck errors in a git repo? github.com/Raku/raku.org/issues/50 19:11
19:17 abraxxa-home joined
holmdunc the Zed editor is powered by Tree-Sitter (created by the same folks). If there were a Raku Tree-Sitter grammar it could power syntax-highlighting and navigation in Zed (and Emacs, Neovim, ...) 19:37
librasteve @holmdunc - ah yes, I forgot that part - seems to be some JetBrains TreeSitter work ... github.com/JetBrains/jsitter 19:41
holmdunc Nice. It's unfortunate that VScode, being the extremely popular editor theses days, doesn't really have anything to do with Tree-sitter. So there can be no big unification 19:45
19:57 wayland joined, wayland76 left
melezhik. . 20:26
[Coke] is there anyway to introspect what -I was set to? 20:37
20:39 yewscion left 20:40 yewscion joined
ugexe raku -I foo -e 'use lib "bar"; say Rakudo::Internals.INCLUDE' 20:41
(foo)
just be sure you don't also need libraries included with `use lib ...` 20:42
generally i think people want to know what the non-default repositories are so they can include them when they spawn a new process using $*EXECUTABLE 20:43
20:45 yewscion left 20:57 apac joined 21:43 abraxxa-home left
[Coke] I wrote a test that is using an executable - so RAKULIB=. is currently needed as zef test . is using -I (right?) - I will attempt to rewrite it to avoid needing that (will have to manipulate @ARGS by hand) 21:48
timo: git rebase --root -i 21:52
timo aha!
[Coke] root *is* special. :) 22:00
ugexe technically you shouldn't have to distinguish between if something is using -I., RAKULIB=., or use lib "." 22:18
like the fact zef uses -I. is an implementation detail
but yeah there isn't a great way to handle this
I think I usually do like `run($*EXECUTABLE, $*REPO.repo-chain.map({ ("-I", $_.path-spec).Slip }), '-e', ...)` but that isn't exactly perfect either since it means all the default repos are listed twice and probably ends up doing extra precompiling 22:21
although with github.com/rakudo/rakudo/pull/5338 that solution would be mostly sufficient since we could then disable the default repos in the spawned process and thus there wouldnt be dupes 22:22
i guess there would still be dupes for the non CURI-based repos 22:23
23:16 lichtkind left
tbrowder yo, can y’all see this? 23:17
nickserv says i’m not registered 23:18
23:23 human-blip left
[Coke] hi tb 23:26
23:31 human-blip joined