🦋 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:05 ryoskzypu left 00:06 ryoskzypu joined, yewscion_ joined 00:09 yewscion left 00:49 Manifest0 left 02:48 nil78 left 02:52 nil78 joined 03:01 hulk joined, kylese left 03:04 nil78 left 03:07 nil78 joined 03:15 hulk left, kylese joined 05:47 human-blip joined 05:55 Aedil joined 07:41 thatonelutenist left, patrickb left, atweedie left, greenfork left, atweedie joined, MyNetAz left, patrickb joined, greenfork joined 07:42 thatonelutenist joined 07:56 MyNetAz joined 08:02 comborico1611 joined 08:55 comborico1611 left 08:56 sena_kun joined 08:57 dakkar joined 09:00 sena_kun left 09:02 sena_kun joined 10:23 sena_kun left 10:30 Sgeo left 10:42 nil78 left 10:46 nil78 joined 12:48 nil78 left 13:00 nil78 joined
tbrowder hi, tell me again pls where is IRC for discussing rakudoc v2? 13:47
13:47 dawids_ joined
lizmat I don't think there's a specific channel for that, other than #raku-doc perhaps ? 13:47
13:48 dawids_ left
tbrowder ok 13:51
i know in the original discussion i mentioned we need a directive for a page break for rakudod input to be converted to a paper product. in the current definition i don't see anything that does that. i know for my own purposes i can preprocess input and produce a list of rakudoc inputs but that sounds too ad hoc. 13:59
and a pain 14:00
my immediate goal is too produce a pdf slide deck for presentations 14:01
lizmat I suggest making an issue for it 14:02
?
tbrowder ok, will do
14:02 Aedil left 14:17 Aedil joined 14:19 nil78 left 14:21 nil78 joined 14:45 melezhik joined
melezhik tbrowder: librasteve: any success with Sparrowdo? 14:47
14:52 melezhik left 15:04 jpn joined
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2025/02/17/2025-...ted-quora/ 15:16
16:00 Manifest0 joined 16:23 librasteve_ joined
librasteve thanks! 16:25
melezhik: since you wrote the cookbook, I have read into sparrowdo some more - in fact it seems like I already rebuilt a chunk of sparrowdo features (remote install over SSH) in a couple of my modules - that will teach me to read more and hopefully write less - my next work in this area will be to clone github.com/librasteve/raku-CLI-Wordpress, but to implement for Cro - and for that I have pencilled in 16:29
(mentally) to replace the remote SSH bits with sparrowdo and nginx reverse proxy with caddy
tellable6 librasteve, I'll pass your message to melezhik
antononcube I assume this question has been asked before: Are there any plans to make Raku's gcd work on rational numbers and complex numbers? (Similarly, for lcm.) 16:30
librasteve melezhik: that will take me some time to get to (I guess a couple of months at this rate) so please be patient 16:31
tellable6 librasteve, I'll pass your message to melezhik
librasteve @antononcube - gcd on Complex numbers --- wtf is that 16:32
antononcube 🙂 Easy: gcd-gaussian-integers(-3 + 2i, 10 + 15i) == -3+2i . 16:34
16:34 jpn left
m: say (10 + 15i) / (-3 + 2i); 16:34
evalable6 0-5i
Raku eval 0-5i
antononcube m: say (10 + 15i) / (2 + 3i);
Raku eval 5+0i
evalable6 5+0i
antononcube For rationals, I would expect (<1/3> gcd <2/5> gcd <3/7>) = <1/105>. 16:36
librasteve_ Im trying to use subset to constrain an ordered List of Pairs - can someone please show e what I am missing….? www.irccloud.com/pastebin/SBm0s6KH
librasteve oh - I see - thanks for the tute 16:38
librasteve_ on my snippet - I don’t mind not having the coercion `NavItem()` … but I also get a (different) error without it 16:42
16:43 merp joined
librasteve_ m: class Content {}; class Page {}; subset NavItem of Any where .value ~~ Content | Page; my NavItem @ni = [Page1 => Page.new, Page2 => Page.new]; say @ni; 16:52
camelia [Page1 => Page.new Page2 => Page.new]
librasteve_ aha!
thanks for the rubber ducking! 16:53
17:42 dakkar left 17:48 apac joined
[Coke] I have App::Rak installed in my rakubrew install on windows in powershell. I can run raku, zef, etc, but rak is not found. 18:04
my $PROFILE has the '. ... init powershell | Out-String | Invoke-Expression ' and I opened a new powershell window to be safe. 18:05
lizmat if you install another module that installs scripts, does it find those ? 18:07
[Coke] ... Data::Dump failing tests... 18:08
nope. a new install of App::SudokuHelper also not found. I didn't think it was an App::Rak issue 18:09
lizmat ok, then I have no idea :-(
[Coke] patrickb: Also getting a failed to unlink old file when doing a 'rakubrew self-upgrade' 18:19
Think I might need to wipe my install and try again. Think it didn't quite survive moving to my new laptop.
18:22 nil78 left
[Coke] ... also, managed to create a calendar event today called 'zef' somehow. :) 18:24
yup, needed a fresh instal, sorry for the noise. 18:25
18:28 nil78 joined 18:30 jpn joined 18:35 jpn left 18:38 jpn joined 18:41 Sgeo joined 18:44 sena_kun joined 18:49 abraxxa-home joined 18:51 abraxxa-home left 18:53 abraxxa-home joined
timo do we / should we allow the form feed character in raku source code and also rakudoc? that could be all that tbrowder needs for the slide deck use case if the next thing in the chain understands it 19:03
19:04 abraxxa-home left 19:06 abraxxa-home joined 19:14 abraxxa-home left 19:15 abraxxa-home joined 19:18 abraxxa-home left 19:19 abraxxa-home joined 19:20 abraxxa-home left, Aedil left 19:22 abraxxa-home joined
melezhik. . 19:22
tellable6 2025-02-17T16:31:41Z #raku <librasteve> melezhik: that will take me some time to get to (I guess a couple of months at this rate) so please be patient
hey melezhik., you have a message: gist.github.com/86ccc94b62b039e595...b57f7c55af
melezhik. librasteve: sounds good 👍 19:23
19:47 abraxxa-home left 19:48 abraxxa-home joined, abraxxa-home left 20:02 apac left 20:14 ryoskzypu left 20:15 ryoskzypu joined
. 20:24
librasteve: no worries and no pressure ))
20:43 jpn left 21:00 apac joined 21:06 jpn joined 21:11 jpn left
[Coke] This feels like an old question - why does "ok" generate not only the ok/not ok TAP but also a diag saying basically "Failed test" with only the line number as extra info? 21:15
also, prove6 -Q and -q are not quiet and are showing all the diag output 21:18
librasteve not seeing this diag on my machine - maybe an ENV setting?
oh - soz I do see it 21:19
Air-Play/t > raku 01-basic.rakutest not ok 1 - huh # Failed test 'huh' # at 01-basic.rakutest line 4 ok 2 - replace me 1..2 # You failed 1 test of 2
prove6 -Q is quiet on my box 21:21
Air-Play/t > prove6 * 01-basic.rakutest .. ok All tests successful. Files=1, Tests=1, 0 wallclock secs Result: PASS Air-Play/t > prove6 -q * All tests successful. Files=1, Tests=1, 0 wallclock secs Result: PASS Air-Play/t > prove6 -Q *
21:22 ryoskzypu left, ryoskzypu joined
[Coke] I'm running on powershell on windows, if that matters. 21:32
21:33 sena_kun left, sena_kun joined 22:16 sena_kun left 22:29 apac left 22:39 nil78 left 22:48 nil78 joined 23:01 nil78 left 23:05 nil78 joined 23:32 sena_kun joined 23:38 sena_kun left 23:47 nil78 left 23:49 nil78 joined