11 Mar 2024 |
lizmat |
and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2024/03/11/2024-11-membering/ |
18:12 |
|
13 Mar 2024 |
Tigerpaws |
Good morning! I was slowly joining the raku community about 5 years, but suddenly got a job that has lasted until last year. I'd like to re-join the community and help in the development of raku. I run the latest releases of Fedora and have used Perl since back in the late 80's. I wrote a few little programs in raku a few years ago, so I have some familiarity with raku. I even made a raku-notebook demo for a local linux users' grou |
15:05 |
|
|
p. But that was then. |
|
|
|
I'd like to re-join the community now, but maybe start out a little easier - maybe doing testing. Is there anything I can do to get started ? |
15:06 |
|
antononcube |
So, if you have a job you stay away from Raku. If jobless, then Raku it is. |
15:34 |
|
|
@Tigerpaws > Is there anything I can do to get started ? Please install the LLM packages and start using Raku Chatbooks. |
|
|
Tigerpaws |
I'm fully retired, and not expecting to take another job ever again. Of course, never-say-never. |
15:35 |
|
|
Is it sufficient to use the rakudo compiler on distributed on Fedora? It says it is 2024.02? |
15:36 |
|
antononcube |
Should be. |
16:01 |
|
|
I am very interested to get the package "Clipboard" to work on Linux. (In case that is of interested to you.) |
16:02 |
|
|
raku.land/zef:antononcube/Clipboard |
|
|
SmokeMachine |
Tigerpaws: if you would also to like Red (github.com/FCO/Red) it would be very helpful! :) (sorry, but if I see someone offering help, I’ll take it!!! :) ) |
17:46 |
|
Tigerpaws |
Antononcube: I will look into it, but the clipboard in Linux is a bit tricky, since there are several clipboards involved. |
17:49 |
|
|
SmokeMachine: Interesting, but it looks like a rather large project. What exactyl is required here? I presume this is for testing... |
17:51 |
|
SmokeMachine |
Tigerpaws: if you would like using/testing it, it would be very helpful… |
18:00 |
|
|
Tigerpaws: helping on discussions like this one (github.com/FCO/Red/issues/15) would also be great! |
18:02 |
|
|
Tigerpaws: helping reviewing and improving the documentation would help too: fco.github.io/Red/ |
18:04 |
|
antononcube |
@Tigerpaws Yes, I am aware Linux clipboard(s) can be tricky. 🙂 That is why I am trying to "outsource it." |
18:14 |
|
|
That, and I do not have Lunux distro handy... |
|
|
rcmlz |
Tigerpaws: if you like you can also help making Raku more popular by e.g implementing some of the missing excercises on platforms like Excercism - youtu.be/Qydbrdp22Vs?feature=shared |
19:37 |
|
14 Mar 2024 |
librasteve |
Tigerpaws: welcome - please feel free to dig around and help where you can … and have -Ofun |
08:03 |
|
wafflus |
how do i du a subst replacment with a number capture group in the replacment? |
20:48 |
|
|
m:say "t" |
21:03 |
|
|
hmm actually appears to not work in windows |
21:07 |
|
|
but work in wsl |
|
|
17 Mar 2024 |
habere-et-disper |
In a method chain, does the hyper operator apply only to the next adjacent routine ? |
12:48 |
|
lizmat |
you mean >>. ? yes |
12:52 |
|
|
m: dd (1,2,3)>>.Int |
|
|
camelia |
(1, 2, 3) |
|
|
lizmat |
m: dd (1,2,3)>>.Str |
|
|
camelia |
("1", "2", "3") |
|
|
lizmat |
hmmm I'd thought that would generate a Seq actually |
12:53 |
|
habere-et-disper |
Yes |
12:55 |
|
lizmat |
it appears to generate a List...so indeed, only the adjacent routine, if I understand your question correctly |
12:56 |
|
|
note that it cannot be guaranteed that >>. will produce values in the same order |
12:57 |
|
habere-et-disper |
=b |
12:58 |
|
18 Mar 2024 |
lizmat |
and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2024/03/18/2024-...pen-comma/ |
18:40 |
|
sjn |
yay! |
18:59 |
|
antononcube |
Are moths, butterflies, and other "commas" are crushing or crashing on that lightbulb ? |
19:03 |
|
lizmat |
it *is* trying to attract people, yes :-) |
19:18 |
|
antononcube |
@lizmat Ok, good to know! |
19:22 |
|
19 Mar 2024 |
vendethiel |
Oh, they dumped the repo |
02:38 |
|
|
My commits are still here |
|
|
|
I can probably still do mac builds |
02:39 |
|
scullucs |
What can I add to this code so that every second, it prints "waiting…"?: loop { prompt "Press Enter…" } |
03:43 |
|
nahita3882 |
i'm an asynchronous noob but I have found this: Supply.interval(1, 1).tap(-> $count { say $count == 0 ?? "\nWaiting..." !! "Waiting..." }); loop { prompt "Press Enter…" } |
06:33 |
|
|
sources i) docs.raku.org/language/concurrency#Supplies (where it mentions interval) and ii) docs.raku.org/type/Supply#method_interval (the documentation of the method itself) |
06:34 |
|
|
so what the code does is that, it schedules a Supply to fire at every 1 second (first argument) starting after 1 second of delay (second argument) |
|
|
|
i thought delay is reasonable not to say Waiting immediately after Press Enter |
06:35 |
|
|
documentation says the integer count (ticks) is passed on ("emitted") when tapped, i.e., $count will be 0, 1, 2... there |
06:36 |
|
|
so i'm exploiting that to print the very first Waiting message with a leading newline to make it not appear side by side to the Press Enter, if that makes sense |
06:37 |
|
scullucs |
Thanks! You even included features that my actual code won't require (my question was a kind of "golfed" down version of what I'm actually trying to do), but I'll study it carefully. |
06:46 |
|
lizmat |
vendethiel is there a way the RSC can help you with keeping Comma alive? |
08:22 |
|