4 Oct 2025 |
disbot3 |
CompUnit::Repository::Perl5<35008758880> at /home/user/p6-WebSocket/site#sources/DA4F4051BC11556849EA63C5102741113C0A5919 (WebSocket::Handshake):6 |
01:51 |
|
|
<antononcube> @neekotism Can you install "Digest::SHA" with the following command? zef install Digest::SHA |
13:52 |
|
ds7832 |
Can someone point me to documentation that explains how "my Int $x" and "my int $x" differ? I came to this from how they're used in this code example to distinguish multimethods docs.raku.org/language/typesystem#...and_multis |
13:54 |
|
|
m: my @l = (my Int $x, my int $y, my Int $z = 1, my int $w = 2); say @l |
|
|
camelia |
[(Int) 0 1 2] |
|
|
ds7832 |
Is it that lower-case `int` initializes them to their default value (0 in this case, "" for strings, etc)? |
13:56 |
|
|
The typegraph on Int (docs.raku.org/type/Int) shows int is a subclass, but the link to it is 404: docs.raku.org/type/int |
14:01 |
|
|
m: Int.HOW |
14:06 |
|
camelia |
( no output ) |
|
|
ds7832 |
m: int.HOW |
14:07 |
|
disbot3 |
<neekotism> I can't |
|
|
camelia |
( no output ) |
|
|
ds7832 |
m: say Int.HOW |
14:08 |
|
camelia |
Perl6::Metamodel::ClassHOW.new |
|
|
ds7832 |
m: say int.HOW |
|
|
camelia |
Perl6::Metamodel::NativeHOW.new |
|
|
disbot3 |
<antononcube> @neekotism Try to install from GitHub and/or by downloading the package. That package does not seem to exist in raku.land. You might have an odd combination of OS/packages/versions. |
14:51 |
|
ds7832 |
@neekotism: Did you perhaps mean Digest::SHA1 , with a 1 at the end? I think I had to insatll that one a couple of days ago. |
15:00 |
|
|
oh sorry, nevermind that. I got confused reading through the messages. |
15:10 |
|
arkiuat |
ds7832, have you looked at docs.raku.org/language/nativetypes yet? That is where lower-case int is documented and its differences from Int discussed |
15:34 |
|
|
also docs.raku.org/language/numerics#Native_numerics |
15:35 |
|
ds7832 |
arkiuat: That answers it, thanks! |
15:54 |
|
arkiuat |
cool |
15:58 |
|
5 Oct 2025 |
disbot3 |
<neekotism> I can't find Digest::SHA |
04:06 |
|
|
<neekotism> I installed Digest but that doesn't work either |
04:07 |
|
|
<rcmlz> The failing module "Handshake" requires the missing package:: github.com/tokuhirom/p6-WebSocket/...dshake.pm6 |
09:02 |
|
|
<rcmlz> Given the fact that this was touched for the last time 10 years ago perhaps raising an issue on github.com/tokuhirom/p6-WebSocket/issues might be am opportunity. Perhaps changing "use Digest::SHA;" to "use Digest::SHA1;" fixes the issue for you locally? |
09:04 |
|
|
<rcmlz> Maybe the author of github.com/tokuhirom/p6-WebSocket even has some spare time to setup some GitHub actions (it sounds more complex than it is: raku.land/zef:zero-overhead/App::W...s::Github) to ensure that his package can be installed at all ... |
09:37 |
|
|
<rcmlz> If you want to regularly test if your mot-beloved-modules ( still ) can be installed clone that repo, throw you *.json files into ressources/ folder let github action figure that out for you: github.com/rcmlz/Raku-Module-Health-Check |
19:07 |
|
|
<antononcube> Thanks for posting this here -- I shared it with the Raku study group today. |
23:16 |
|
6 Oct 2025 |
|
<rcmlz> It is back from the time when I started using Raku and Github actions. The vision was to simply test install-ability of ALL (of my) modules on raku.land regularly. I realized that requirements (e,g, module X needs stuff like gnuplot and module Y some special libs from package Z you have to install using your distribution specific beforehand) make the BIG vision impractical. These days I tackle „reproduceability“ with |
06:32 |
|
|
Nix. |
|
|
librasteve_ |
rakudoweekly.blog/2025/10/06/2025-...dem-calls/ |
09:20 |
|
ds7832 |
I also started learning Nix(OS) a couple of weeks ago, although I'm now seriously reconsidering that choice because of the diretion in which the Nix project is going. Perhaps pivoting to Guix instead. |
09:21 |
|
disbot3 |
<_elcaro_> Problem solving links are reversed (first and third links have titles swapped (or links swapped)) |
13:07 |
|
|
<antononcube> @Alexanda I am sorry, I cannot help on this. I am not using Linux regularly, and I cannot find "Digest::SHA" anywhere. |
13:12 |
|
|
<librasteve> @elcaro thanks … hopefully I have fixed this! |
13:19 |
|
|
<neekotism> No worries! I think it might've worked after doing this discord.com/channels/5384078799804...5416140810 |
14:21 |
|
|
<neekotism> Cute |
14:22 |
|
|
<rcmlz> If it worked locally, perhaps the author will appreciate a PR |
15:12 |
|
|
<neekotism> I see. I'll check how it works |
15:25 |
|
8 Oct 2025 |
habere-et-disper |
Has something like weblate been considered to aid in translations? |
17:21 |
|
disbot5 |
<rcmlz> Is the browser integrated translation of websites bad? I usually set „never translate English“. I assume only someone that regularly uses translated website might be able to estimate the need |
19:22 |
|
habere-et-disper |
I mean for localizations of the raku language -- and not the website. |
21:39 |
|
10 Oct 2025 |
|
Does the core function squish do the same thing as the trans adverb squash? |
19:37 |
|
|
If so, does it help if they have the same name or is it still helpful that they're distinct? |
19:43 |
|
11 Oct 2025 |
|
Can raku adverbs not have hyphens? |
08:51 |
|
disbot6 |
<librasteve> habere-et-disper: thanks for your questions ... remember that the Raku language is formally specified by the ROAST test suite ... so, if you cannot find the answers to questions like this in docs.raku.org, then the best way to find out the answers is to "ask the compiler" (since that passes the tests) |
09:36 |
|
13 Oct 2025 |
librasteve_ |
~~ |
13:07 |
|
|
rakudoweekly.blog/2025/10/13/2025-41-tchotchke/ |
18:15 |
|
15 Oct 2025 |
disbot9 |
<rcmlz> Out of curiosity I wanted to give rosettacode.org/wiki/IPC_via_named_pipe#Raku a whirl. The current implementation mimics the Perl solution and I was wondering if there is a more Rakoon-Way-Of-Doing-It, using the build in Supply and watch-path Method and no NativeCall and no external libraries like raku.land/zef:jonathanstowe/MQ::Posix I guess. I took some initial notes glot.io/snippets/hc27bmi5ys |
16:40 |
|
|
Is that feasible? Is file creation, watch-path, supply, tap and things like that sufficient or is NativeCall needed here? Thank you for some hints. |
|
|
lizmat |
watch-path works fine: it powers the irclogs live function :-) |
18:00 |
|