🦋 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.
tbrowder hi, tell me again pls where is IRC for discussing rakudoc v2? 13:47
lizmat I don't think there's a specific channel for that, other than #raku-doc perhaps ? 13:47
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
melezhik tbrowder: librasteve: any success with Sparrowdo? 14:47
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2025/02/17/2025-...ted-quora/ 15:16
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
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
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
[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.
[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
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
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
. 20:24
librasteve: no worries and no pressure ))
[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 *
[Coke] I'm running on powershell on windows, if that matters. 21:32