🦋 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:00 reportable6 left 00:01 reportable6 joined
ugexe How did you install it? 00:01
00:06 jpn joined 00:11 jpn left 00:17 tejr left 00:22 tejr joined 01:01 lizmat left 01:13 hulk joined 01:14 kylese left 01:39 jpn joined 01:44 jpn left 02:01 jpn joined
ab5tract It happens both on macOS and in a Debian container. Both are fresh installs via ‘zef install Whateverable’ 02:05
02:07 jpn left 02:15 hulk left, kylese joined
ab5tract updated the gist with `zef locate` results and a clue: 02:19
`zef info Whateverable` -> "... Provides: 15 modules" 02:20
`cat Whateverable/META6.json | jq ".provides | length"` -> 17
02:33 jpn joined
ab5tract (Spoiler: zef locate doesn’t find it) 02:35
02:38 jpn left
ugexe zef look Whateverable 03:01
then cat META6.json
It might be the version archived in rea is an older version than the repo HEAD
03:02 jpn joined
ugexe otherwise just do ‘zef instal $url-to-whateversble-git-repo 03:03
(Which would ensure you are instaing from HEAD)
03:07 jpn left 03:48 jpn joined 03:52 jpn left
ugexe Yeah, whatever is on REA doesn’t have that file listed in is meta6 04:01
04:44 jpn joined 04:54 jpn left 05:40 zara joined 05:50 jpn joined 05:54 jpn left 06:00 reportable6 left, reportable6 joined 06:27 abraxxa-home joined 06:29 abraxxa-home left 06:32 abraxxa-home joined 06:33 jpn joined 06:34 zara left 06:38 jpn left
ab5tract Ah, so the source repo was changed significantly without a version bump.. got it 06:49
07:26 jpn joined 07:31 jpn left 07:52 jpn joined 07:57 jpn left 08:02 jpn joined 08:07 jpn left 08:10 Sgeo left 08:25 sena_kun joined 08:39 lizmat joined 08:43 jpn joined 08:51 jpn left 08:58 jpn joined 09:03 jpn left 09:30 jpn joined 09:40 jpn left 10:20 abraxxa-home left 11:56 gugod left 12:00 reportable6 left 12:01 reportable6 joined 12:02 gugod joined 12:05 sena_kun left 12:58 thebb left 13:11 Geth joined 13:13 linkable6_ left, linkable6_ joined 13:15 linkable6_ left 13:18 linkable6_ joined
tbrowder ab5tract: hi, i went back and looked at the callsame msg. that wasn't needed. i did use 2 overlapping subset defs but Raku cleverly didn't confuse the two in my use. you can see my working code now in my github.com/tbrowder/text- 13:22
ab5tract clipped URL :/
tbrowder github.com/tbrowder/Text-Utils 13:23
branch "next-ver"
:\ 13:24
sub normalize-string 13:25
all the tests work 13:27
ab5tract nice, I'm glad you were able to unlock this!
tbrowder raku is so cool; i hate that perl ppl don't understand the step up and seem to refuse to. was a no-brainer for my simple self to see Larry's vision of the next step was super and easier for new ppl, imho. 13:30
course i waited too long to go from perl v4 to v5 so i can't bad-mouth anyone. 13:32
ab5tract Agreed. There's so many dynamics to unpack with the Perl 5 -> Perl 6 story that I think the actual language evolution is unfortunately low on the list of considerations and talking points 13:43
dr.shuppet It seems to me that it went something like this: 1. Perl 6 is incomplete and probably won't ever be complete, we'll stick to using Perl 5, which is stable and tested by time 2. Oops, Perl 5 is outdated, Perl 6 is completed but everyone is already using Python 13:46
tbrowder yepper
imho: Python, the PITA lang 13:47
"we don't like sigils, so we use spaces to mean everything" 13:48
"let the compiler handle it, just trust us, nothing to see here" 13:49
rant...
👀 13:50
13:50 jpn joined
tbrowder 'scuse me, too much coffee 13:50
dr.shuppet The irony is that a part of the Perl community just wants Perl to slowly die as a legacy language rather than to evolve
I was downvoted by people on r/Perl for saying the language itself isn't as bad 13:51
About Python: my first internship project was in Python, and I was left with an obsession with making flake8 pass by adjusting the right indentations and stuff for quite some time 13:53
13:55 jpn left
jdv raku is "not there yet" for a bunch of my use cases. i suspect that's the same for a bunch of others. 14:14
meanwhile perl is there and works for more use cases
lizmat jdv: OOC what do you miss most?
jdv you know:)
sadly, i've been beating the same drum since xmas:( 14:15
and there have been great strides since then. its just taking a very long time.
ab5tract jdv: I don't know :) 14:16
dr.shuppet Perl 5 is still a great language, if the resources and ecosystem were a bit more welcoming, it would be quite decent IMO 14:19
It has the "unfair" advantage of being installed on every Unix system, unlike Raku and similarly to Python
jdv perf
tbrowder jdv: perf? 14:20
jdv runtime but mostly compile time performance 14:22
tbrowder ah, of course. doesn’t bother me much. and most of my $work with perl was as a glue language plus writing code for fortran to run on big many.-core “super computers” 14:25
ab5tract ooc, what kind tasks is compile time performance impeding? feel free to ignore the question if you don't want to answer or if its $work-sensitive 14:40
jdv: btw, as we speak my first genuine local run of Blin seems to be in progress 14:41
jdv nice 14:44
compile time - regex/gramars and "dev cycle", for me 14:45
i had a rando smallish project (the only raku i've gotten to prod yet) (< dozen files, < 1k lines) took ~7s to "compile" 14:46
it might be better now. this was 2020 or 21. 14:48
librasteve well you have to install the right python over the system python in unix (not so for perl) 15:00
jdv: don't try Rust ;) 15:01
antononcube @tbrowder> "'scuse me, too much coffee" -- It might be age related too...
dr.shuppet The compile time makes Raku a poor substitute for shell scripts, unlike Perl
antononcube @tbrowder And, of course, by "age" I mean "experience." 15:02
@dr.shuppet "Perl 5 is still a great language, [...]" -- At this point I can stand reading Perl 5 code. It might be because Perl 5 and Raku are "divided by common mindset" -- too similar and too different at same time. 15:04
ab5tract I don't see compilation speeds as a blocker to most shell scripts, but I recognize that's a personal thing 15:05
ugexe i just released v0.22.0 of zef which allows a positional argument '-' to slurp from stdin for `zef install ...` so users can pipe a list of stuff to install. this is based on the conversation the other day for how to reinstall modules from one raku installation to another 15:30
`echo Foo::Bar | zef install CSV::Parser -` would install CSV::Parser and Foo::Bar 15:31
also allows like `cat my-modules-to-always-install.txt | zef install -` 15:32
ab5tract ugexe++ very nice! 15:35
dr.shuppet Nowadays developers will tell you the only supported way is to use a Docker container 😭 15:37
15:52 jpn joined 15:56 jpn left
antononcube Yeah, I prefer to stay away from Docker, but "nobody lets me." 16:58
17:11 jpn joined
librasteve ugexe++ 17:13
17:16 jpn left
jdv: just wondering if (and probably you already have) considered leveraging precomp ... cause the raku core compile is 0.10s ... so sounds like the other 6.90s is in module land or your code 17:16
raku -e 'say "hello world"' 0.10s user 0.02s system 108% cpu 0.106 total Built on MoarVM version 2024.03. 17:17
17:57 Sgeo joined 18:00 reportable6 left 18:02 reportable6 joined
patrickb ugexe: so now it's on me to deliver the rakubrew bits ;-) 18:09
ugexe could you create an issue so I don't forget? 18:10
18:36 abraxxa-home joined 19:07 jpn joined
ugexe patrickb: github.com/Raku/App-Rakubrew/issues/80 19:10
19:19 jpn left
patrickb thanks! 19:20
20:03 jpn joined 20:09 jpn left
Geth raku-mode/variable-colors: 7e8284b37c | (Steffen Schwigon)++ | raku-font-lock.el
Split variable name faces into different types

Instead of coloring all variables all the same way this change sets up different faces for
   $ - Mu
   @ - Positional
... (7 more lines)
20:09
raku-mode: renormalist++ created pull request #60:
Split variable name faces into different types
20:10
20:10 jpn joined 20:28 jpn left 20:41 jpn joined 20:58 jpn left 21:23 abraxxa-home left 21:47 sena_kun joined 22:26 jpn joined 22:30 jpn left 23:08 Altai-man joined 23:12 sena_kun left 23:22 jpn joined 23:27 jpn left 23:44 Altai-man left